linux/drivers/hwmon
Rafael J. Wysocki 561d9a9694 HWMON: coretemp, suspend fix
It's not permitted to unregister a device after devices have been suspended.
It causes deadlocks to appear on systems with coretemp hwmon loaded.  To avoid
this, we can make coretemp_cpu_callback() do nothing if the _FROZEN bit is set
in action.
 
Also, in other cases it's generally too late to unregister the coretemp device
if the CPU is already dead, so it should be unregistered on CPU_DOWN_PREPARE.
 
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-12-04 01:35:32 -05:00
..
ams Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-10-12 21:27:47 -04:00
abituguru3.c hwmon: (abituguru3) Identify ABit IP35 Pro as such 2007-11-08 08:42:47 -05:00
abituguru.c Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6 2007-10-14 12:50:19 -07:00
ad7418.c
adm1021.c
adm1025.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
adm1026.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
adm1029.c
adm1031.c
adm9240.c
adt7470.c
applesmc.c hwmon: (applesmc) Add support for Mac Pro 2 x Quad-Core 2007-11-08 08:42:46 -05:00
asb100.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
atxp1.c
coretemp.c HWMON: coretemp, suspend fix 2007-12-04 01:35:32 -05:00
dme1737.c hwmon: (dme1737) Add sch311x support 2007-10-10 22:47:13 -04:00
ds1621.c
f71805f.c
f71882fg.c
f75375s.c hwmon: (f75375s) pwmX_mode sysfs files writable for f75375 variant 2007-11-08 08:42:47 -05:00
fscher.c
fschmd.c hwmon: Add new combined driver for FSC chips 2007-10-11 08:11:24 -04:00
fscpos.c
gl518sm.c
gl520sm.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
hdaps.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
hwmon-vid.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
hwmon.c
i5k_amb.c hwmon: (i5k_amb) Convert macros to C functions 2007-11-08 08:42:47 -05:00
ibmpex.c hwmon: (ibmpex) Change printk to dev_{info,err} macros 2007-11-08 08:42:46 -05:00
it87.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
k8temp.c
Kconfig hwmon: (i5k_amb) New memory temperature sensor driver 2007-11-08 08:42:46 -05:00
lm63.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
lm70.c hwmon: (lm70) Convert semaphore to mutex 2007-11-08 08:42:46 -05:00
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
lm87.c hwmon: (lm87) Disable VID when it should be 2007-10-09 22:56:32 -04:00
lm90.c
lm92.c
lm93.c
Makefile hwmon: (i5k_amb) New memory temperature sensor driver 2007-11-08 08:42:46 -05:00
max1619.c
max6650.c
pc87360.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
pc87427.c
sis5595.c hwmon: (sis5595) Split sis5595_attributes_opt 2007-11-08 08:42:45 -05:00
smsc47b397.c
smsc47m1.c
smsc47m192.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
thmc50.c hwmon: (thmc50) Fix a debug message 2007-10-09 22:56:31 -04:00
via686a.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
vt1211.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
vt8231.c hwmon: (vt8231) fix sparse warning 2007-10-14 15:00:24 -04:00
w83l785ts.c
w83627ehf.c
w83627hf.c hwmon: (w83627hf) push nr+1 offset into *_REG_FAN macros and simplify 2007-11-08 08:42:45 -05:00
w83781d.c hwmon: (w83781d) Add missing curly braces 2007-11-08 08:42:47 -05:00
w83791d.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
w83792d.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
w83793.c