alistair23-linux/arch/x86/kernel/cpu/mcheck
Borislav Petkov 27c934158c x86, MCE: Robustify mcheck_init_device
BorisO reports that misc_register() fails often on xen. The current code
unregisters the CPU hotplug notifier in that case. If then a CPU is
offlined and onlined back again, we end up with a second timer running
on that CPU, leading to soft lockups and system hangs.

So let's leave the hotcpu notifier always registered - even if
mce_device_create failed for some cores and never unreg it so that we
can deal with the timer handling accordingly.

Reported-and-Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: http://lkml.kernel.org/r/1403274493-1371-1-git-send-email-boris.ostrovsky@oracle.com
Signed-off-by: Borislav Petkov <bp@suse.de>
2014-06-24 15:17:01 +02:00
..
Makefile ACPI, APEI, Generic Hardware Error Source memory error support 2010-05-19 22:41:16 -04:00
mce-apei.c ACPI, APEI, GHES: Do not report only correctable errors with SCI 2013-12-21 13:31:06 +01:00
mce-inject.c x86, mce: Fix "braodcast" typo 2013-06-05 11:59:17 +02:00
mce-internal.h mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC 2013-07-08 11:53:01 -07:00
mce-severity.c x86/mce: Fix mce regression from recent cleanup 2013-07-29 11:23:27 -07:00
mce.c x86, MCE: Robustify mcheck_init_device 2014-06-24 15:17:01 +02:00
mce_amd.c x86: delete __cpuinit usage from all x86 files 2013-07-14 19:36:56 -04:00
mce_intel.c x86/mce: Fix CMCI preemption bugs 2014-04-17 10:28:42 +02:00
p5.c x86: Delete non-required instances of include <linux/init.h> 2014-01-06 21:25:18 -08:00
therm_throt.c asmlinkage, x86: Add explicit __visible to arch/x86/* 2014-05-05 16:07:44 -07:00
threshold.c asmlinkage, x86: Add explicit __visible to arch/x86/* 2014-05-05 16:07:44 -07:00
winchip.c x86: Delete non-required instances of include <linux/init.h> 2014-01-06 21:25:18 -08:00