diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-05-10 16:30:12 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-05-14 07:49:32 -0700 |
commit | 90b4f30b6d15222a509dacf47f29efef2b22571e (patch) | |
tree | 5d7d77a0b4a51860d736b10e529869a8a7a09b7c /crypto/Kconfig | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | op-kernel-dev-90b4f30b6d15222a509dacf47f29efef2b22571e.zip op-kernel-dev-90b4f30b6d15222a509dacf47f29efef2b22571e.tar.gz |
hwmon: (coretemp) Handle frozen hotplug state correctly
The recent conversion to the hotplug state machine missed that the original
hotplug notifiers did not execute in the frozen state, which is used on
suspend on resume.
This does not matter on single socket machines, but on multi socket systems
this breaks when the device for a non-boot socket is removed when the last
CPU of that socket is brought offline. The device removal locks up the
machine hard w/o any debug output.
Prevent executing the hotplug callbacks when cpuhp_tasks_frozen is true.
Thanks to Tommi for providing debug information patiently while I failed to
spot the obvious.
Fixes: e00ca5df37ad ("hwmon: (coretemp) Convert to hotplug state machine")
Reported-by: Tommi Rantala <tt.rantala@gmail.com>
Tested-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions