1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/drivers/hwmon
Thomas Gleixner 90b4f30b6d 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: e00ca5df37 ("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>
2017-05-14 07:49:32 -07:00
..
pmbus hwmon: (ucd9200) Add OF device ID table 2017-04-02 07:01:53 -07:00
ab8500.c
abituguru.c
abituguru3.c
abx500.c
abx500.h
acpi_power_meter.c
ad7314.c
ad7414.c hwmon: (ad7414) Add OF device ID table 2017-04-02 07:01:53 -07:00
ad7418.c
adc128d818.c hwmon: (adc128d818) Add OF device ID table 2017-04-02 07:01:53 -07:00
adcxx.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads1015.c hwmon: (ads1015) Add OF device ID table 2017-04-02 07:01:53 -07:00
ads7828.c hwmon: (ads7828) Accept optional parameters from device tree 2017-04-02 07:01:53 -07:00
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c hwmon: (adt7475) set start bit in probe 2017-04-21 12:33:57 -07:00
amc6821.c
applesmc.c
asb100.c
asc7621.c
aspeed-pwm-tacho.c drivers: hwmon: Support for ASPEED PWM/Fan tach 2017-04-10 13:12:18 -07:00
asus_atk0110.c hwmon: (asus_atk0110) fix uninitialized data access 2017-03-23 12:01:57 -07:00
atxp1.c
coretemp.c hwmon: (coretemp) Handle frozen hotplug state correctly 2017-05-14 07:49:32 -07:00
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c hwmon: (dell-smm) Add Dell XPS 15 9560 into DMI list 2017-04-02 07:01:53 -07:00
dme1737.c
ds620.c
ds1621.c
emc6w201.c
emc1403.c
emc2103.c
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c
fschmd.c
ftsteutates.c
g760a.c
g762.c scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
gl518sm.c
gl520sm.c
gpio-fan.c
hih6130.c
hwmon-vid.c
hwmon.c hwmon: Constify str parameter of hwmon_ops->read_string 2017-04-02 07:01:53 -07:00
i5k_amb.c
i5500_temp.c
ibmaem.c
ibmpex.c
ibmpowernv.c
iio_hwmon.c
ina2xx.c hwmon: (ina2xx) Add OF device ID table 2017-04-02 07:01:53 -07:00
ina209.c hwmon: (ina209) Handled signed registers 2017-04-21 12:30:09 -07:00
ina3221.c
it87.c hwmon: (it87) Avoid registering the same chip on both SIO addresses 2017-03-22 00:18:21 -07:00
jc42.c
jz4740-hwmon.c
k8temp.c
k10temp.c
Kconfig hwmon: (twl4030-madc) drop driver 2017-04-30 11:45:31 -07:00
lineage-pem.c
lm63.c hwmon: (lm63) Add OF device ID table 2017-04-02 07:01:53 -07:00
lm70.c hwmon: (lm70) Add support for TI TMP122/124 2017-01-21 12:26:38 -08:00
lm73.c
lm75.c hwmon: (lm75) Add OF device ID table 2017-04-02 07:01:53 -07:00
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c hwmon: (lm85) Add OF device ID table 2017-04-02 07:01:53 -07:00
lm87.c hwmon: (lm87) Add OF device ID table 2017-04-13 06:09:26 -07:00
lm90.c hwmon: (lm90) Add OF device ID table 2017-04-02 07:01:53 -07:00
lm92.c
lm93.c
lm95234.c
lm95241.c
lm95245.c hwmon: (lm95245) Add OF device ID table 2017-04-02 07:01:53 -07:00
ltc2945.c
ltc2990.c
ltc4151.c hwmon: (ltc4151) Export OF device ID table as module aliases 2017-01-21 08:57:41 -08:00
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
Makefile hwmon: (twl4030-madc) drop driver 2017-04-30 11:45:31 -07:00
max197.c
max1111.c
max1619.c
max1668.c
max6639.c
max6642.c
max6650.c
max6697.c hwmon: (max6697) Add OF device ID table 2017-04-02 07:01:53 -07:00
max16065.c
max31722.c
max31790.c hwmon: (max31790) Set correct PWM value 2017-03-22 00:18:20 -07:00
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c
nct6683.c
nct6775.c
nct7802.c
nct7904.c
nsa320-hwmon.c
ntc_thermistor.c
pc87360.c
pc87427.c
pcf8591.c
powr1220.c
pwm-fan.c
s3c-hwmon.c
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
scpi-hwmon.c
sht3x.c
sht15.c hwmon: (sht15) Add device tree support 2017-02-16 06:49:05 -08:00
sht21.c
shtc1.c
sis5595.c
smm665.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
stts751.c hwmon: (stts751) Add OF device ID table 2017-04-02 07:01:53 -07:00
tc74.c
tc654.c
thmc50.c
tmp102.c hwmon: (tmp102) Add OF device ID table 2017-04-02 07:01:53 -07:00
tmp103.c hwmon: (tmp103) Use SIMPLE_DEV_PM_OPS helper macro 2017-04-24 06:30:41 -07:00
tmp108.c
tmp401.c
tmp421.c hwmon: (tmp421) Add OF device ID table 2017-04-02 07:01:53 -07:00
ultra45_env.c
vexpress-hwmon.c
via-cputemp.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Use request_muxed_region 2017-04-02 07:01:53 -07:00
w83627hf.c
w83781d.c
w83791d.c
w83792d.c
w83793.c
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c