• Rafael J. Wysocki's avatar
    PCI / PM: Make PCIe PME interrupts wake up from suspend-to-idle · 76cde7e4
    Rafael J. Wysocki authored
    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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    76cde7e4
pme.c 11.8 KB