android_kernel_xiaomi_sm8350/drivers/hwmon
Rafael J. Wysocki 8bb7844286 Add suspend-related notifications for CPU hotplug
Since nonboot CPUs are now disabled after tasks and devices have been
frozen and the CPU hotplug infrastructure is used for this purpose, we need
special CPU hotplug notifications that will help the CPU-hotplug-aware
subsystems distinguish normal CPU hotplug events from CPU hotplug events
related to a system-wide suspend or resume operation in progress.  This
patch introduces such notifications and causes them to be used during
suspend and resume transitions.  It also changes all of the
CPU-hotplug-aware subsystems to take these notifications into consideration
(for now they are handled in the same way as the corresponding "normal"
ones).

[oleg@tv-sign.ru: cleanups]
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:56 -07:00
..
ams Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
abituguru.c hwmon/abituguru: Fix unchecked return status 2007-02-14 21:15:05 +01:00
ad7418.c hwmon: New AD7416, AD7417 and AD7418 driver 2007-05-08 17:22:02 +02:00
adm1021.c
adm1025.c
adm1026.c hwmon: Drop unused mutexes in two drivers 2007-02-14 21:15:03 +01:00
adm1029.c hwmon: New driver for the Analog Devices ADM1029 2007-02-14 21:15:04 +01:00
adm1031.c
adm9240.c adm9240: Update Grant Coady's email address 2006-10-18 13:03:08 -07:00
applesmc.c applesmc: Use standard sysfs names for labels 2007-05-08 20:41:14 -07:00
asb100.c
atxp1.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
coretemp.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
ds1621.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
f71805f.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
fscher.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
fscpos.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl518sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl520sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
hdaps.c use mutex instead of semaphore in hdaps driver 2007-05-08 11:15:15 -07:00
hwmon-vid.c hwmon-vid: Add support for VIA Esther 2007-05-08 17:21:59 +02:00
hwmon.c hwmon: Use subsys_initcall 2007-02-14 21:15:04 +01:00
it87.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
k8temp.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
Kconfig Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
lm63.c
lm70.c hwmon/lm70: Make lm70_remove a __devexit function 2007-02-14 21:15:04 +01:00
lm75.c hwmon/lm75: Use dynamic sysfs callbacks 2007-05-08 17:22:01 +02:00
lm75.h
lm77.c
lm78.c hwmon/lm78: Use dynamic sysfs callbacks 2007-05-08 17:22:01 +02:00
lm80.c
lm83.c
lm85.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
lm87.c hwmon: Only call vid_which_vrm() when needed 2007-05-08 17:21:59 +02:00
lm90.c
lm92.c
Makefile Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
max1619.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
max6650.c hwmon: New max6650 driver 2007-05-08 17:22:00 +02:00
pc87360.c hwmon/pc87360: Autodetect the VRM version 2006-12-12 18:18:28 +01:00
pc87427.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
sis5595.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
smsc47b397.c hwmon/smsc47b397: Use dynamic sysfs callbacks 2007-05-08 17:22:03 +02:00
smsc47m1.c hwmon/smsc47m1: Use dynamic sysfs callbacks 2007-05-08 17:22:00 +02:00
smsc47m192.c hwmon/smsc47m192: Document the LPC47M292 as supported 2007-05-08 17:21:59 +02:00
via686a.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
vt1211.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
vt8231.c i2c/vt8231: Remove superfluous initialization 2007-02-13 22:08:58 +01:00
w83l785ts.c w83l785ts: Fix unchecked return status 2006-09-28 15:31:18 -07:00
w83627ehf.c hwmon/w83627ehf: Don't redefine REGION_OFFSET 2007-04-24 08:23:08 -07:00
w83627hf.c hwmon/w83627hf: Convert to a platform driver 2007-05-08 17:22:00 +02:00
w83781d.c hwmon/w83781d: Deprecate W83627HF support 2007-05-08 17:22:03 +02:00
w83791d.c w83791d: Fix unchecked return status 2006-10-18 13:03:08 -07:00
w83792d.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
w83793.c hwmon/w83793: Hide invalid VID readings 2007-01-18 22:14:24 +01:00