x86 / PM: Set IRQCHIP_SKIP_SET_WAKE for IOAPIC IRQ chip objects
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2014 11:49:07 +0000 (13:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2014 11:49:07 +0000 (13:49 +0200)
commit5613570b133a294355d35fa66162afe7607a8abb
tree142eedcf2d7f0d7e5199008c5b3467f73e45f968
parent9ce7a25849e80cfb264f4995f832b932c1987e1a
x86 / PM: Set IRQCHIP_SKIP_SET_WAKE for IOAPIC IRQ chip objects

Set the IRQCHIP_SKIP_SET_WAKE for IOAPIC IRQ chip objects so that
interrupts from them can work as wakeup interrupts for suspend-to-idle.

After this change, running enable_irq_wake() on one of the IRQs in
question will succeed and IRQD_WAKEUP_STATE will be set for it, so
all of the suspend-to-idle wakeup mechanics introduced previously
will work for it automatically.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/apic/io_apic.c