tmp_suning_uos_patched/kernel/power
Rafael J. Wysocki 2ed8d2b3a8 PM: Rework handling of interrupts during suspend-resume
Use the functions introduced in by the previous patch,
suspend_device_irqs(), resume_device_irqs() and check_wakeup_irqs(),
to rework the handling of interrupts during suspend (hibernation) and
resume.  Namely, interrupts will only be disabled on the CPU right
before suspending sysdevs, while device drivers will be prevented
from receiving interrupts, with the help of the new helper function,
before their "late" suspend callbacks run (and analogously during
resume).

In addition, since the device interrups are now disabled before the
CPU has turned all interrupts off and the CPU will ACK the interrupts
setting the IRQ_PENDING bit for them, check in sysdev_suspend() if
any wake-up interrupts are pending and abort suspend if that's the
case.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Ingo Molnar <mingo@elte.hu>
2009-03-30 21:46:54 +02:00
..
console.c PM: Wait for console in resume 2009-02-21 14:17:17 -08:00
disk.c PM: Rework handling of interrupts during suspend-resume 2009-03-30 21:46:54 +02:00
Kconfig PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB 2008-11-01 12:40:38 -07:00
main.c PM: Rework handling of interrupts during suspend-resume 2009-03-30 21:46:54 +02:00
Makefile PM: fix build for CONFIG_PM unset 2009-02-21 14:17:17 -08:00
power.h [PATCH] propagate mode through swsusp_close() 2008-10-21 07:49:02 -04:00
poweroff.c cpumask: convert rest of files in kernel/ 2009-01-01 10:12:28 +10:30
process.c container freezer: skip frozen cgroups during power management resume 2008-10-20 08:52:34 -07:00
snapshot.c Hibernate: Replace unnecessary evaluation of pfn_to_page() 2008-12-19 04:40:35 -05:00
swap.c block: fix bad definition of BIO_RW_SYNC 2009-02-18 10:32:00 +01:00
swsusp.c ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory 2008-12-19 04:40:34 -05:00
user.c PM: Fix pm_notifiers during user mode hibernation 2009-02-21 14:17:17 -08:00