Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Srivatsa S. Bhat a3301b751b x86/mce: Fix CPU hotplug and suspend regression related to MCE
Commit 8a25a2fd12 ("cpu: convert 'cpu' and 'machinecheck' sysdev_class
to a regular subsystem") changed how things are dealt with in the MCE
subsystem.  Some of the things that got broken due to this are CPU
hotplug and suspend/hibernate.

MCE uses per_cpu allocations of struct device.  So, when a CPU goes
offline and comes back online, in order to ensure that we start from a
clean slate with respect to the MCE subsystem, zero out the entire
per_cpu device structure to 0 before using it.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-13 19:11:35 -08:00
..
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2011-12-12 14:26:10 -08:00
2011-12-06 10:02:38 +01:00
2011-12-08 10:22:07 -08:00
2011-12-08 10:22:07 -08:00
2011-07-01 10:37:14 +02:00
2011-07-26 16:49:47 -07:00
2011-02-17 14:59:22 +01:00
2011-12-21 16:26:03 -08:00
2011-12-05 12:00:16 +01:00
2011-03-18 10:39:30 +01:00
2011-12-06 10:02:38 +01:00
2011-12-05 15:06:17 +01:00
2012-01-07 12:19:37 +01:00
2011-08-04 16:13:49 -07:00
2011-10-31 17:30:44 -07:00
2011-12-06 08:20:37 +01:00
2011-03-18 10:39:30 +01:00
2011-01-13 17:32:41 -08:00
2011-12-05 12:17:29 +01:00
2011-03-18 10:39:30 +01:00