]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90a0abb80cbf71cddda8a297366e4981ef71115e
treedb55e44e0d29792be1f0ebba9e92939e54d4d8a6
parent5cde270fb9c6898997c5846d101a0091bf4e8486
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