i8k: Force SMM to run on CPU 0
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Dec 2013 17:30:15 +0000 (09:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:45:38 +0000 (16:45 -0800)
commitf36fdb9f0266811ee27140acc6ac5ff21199b159
treedb55e44e0d29792be1f0ebba9e92939e54d4d8a6
parent14d32383965243ea37f00656538d91a2ea3a719f
i8k: Force SMM to run on CPU 0

On Studio 1555 with dual-core CPU, reading sensor attributes
exported by this driver resulted in random failures combined
with system hangups and forced logouts. Information in
drivers/firmware/dcdbas.c suggests that SMM accesses must
run on CPU 0. With this patch, the problems are gone,
suggesting that this is in fact the case.

Code derived from drivers/firmware/dcdbas.c.

Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/i8k.c