diff options
| author | Rafael J. Wysocki <[email protected]> | 2014-09-01 11:49:16 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2014-09-01 11:49:16 +0000 |
| commit | 76cde7e495904064d612cf3eb4bf6d9e76ff8191 (patch) | |
| tree | b244a8a7555e551474623ccc8b80132a1bcf1588 /lib/string.c | |
| parent | x86 / PM: Set IRQCHIP_SKIP_SET_WAKE for IOAPIC IRQ chip objects (diff) | |
| download | kernel-76cde7e495904064d612cf3eb4bf6d9e76ff8191.tar.gz kernel-76cde7e495904064d612cf3eb4bf6d9e76ff8191.zip | |
PCI / PM: Make PCIe PME interrupts wake up from suspend-to-idle
To make PCIe PME interrupts wake up the system from suspend to idle,
make the PME driver use enable_irq_wake() on the IRQ during system
suspend (if there are any wakeup devices below the given PCIe port)
without disabling PME interrupts. This way, an interrupt will still
trigger if a wakeup event happens and the system will be woken up (or
system suspend in progress will be aborted) by means of the new
mechanics introduced previously.
This change allows Wake-on-LAN to be used for wakeup from
suspend-to-idle on my MSI Wind tesbed netbook.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
