kernel-ark/drivers/xen
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
..
xenbus xen: add xenfs to allow usermode <-> Xen interaction 2009-01-08 08:30:59 -08:00
xenfs xen: unitialised return value in xenbus_write_transaction 2009-01-26 14:29:26 +01:00
balloon.c xen: make sysfs files behave as their names suggest 2009-01-29 13:20:36 +01:00
cpu_hotplug.c x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
events.c xen: explicitly initialise the cpu field of irq_info 2009-02-09 12:18:22 +01:00
features.c xen: clean up asm/xen/hypervisor.h 2008-12-16 21:50:31 +01:00
grant-table.c xen: clean up asm/xen/hypervisor.h 2008-12-16 21:50:31 +01:00
Kconfig xen: add xenfs to allow usermode <-> Xen interaction 2009-01-08 08:30:59 -08:00
Makefile xen: add xenfs to allow usermode <-> Xen interaction 2009-01-08 08:30:59 -08:00
manage.c PM: Rework handling of interrupts during suspend-resume 2009-03-30 21:46:54 +02:00
xencomm.c xen: portability clean up and some minor clean up for xencomm.c 2008-10-23 21:54:36 +02:00