diff options
author | Borislav Petkov <bp@suse.de> | 2014-06-20 23:16:45 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-07-21 18:14:32 +0200 |
commit | 51cbe7e7c400def749950ab6b2c120624dbe21a7 (patch) | |
tree | 4dad4c11bc99e9596fa5e6c6d0bb426388ec957d /security | |
parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions