]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7f97a7f38d3fb5dc9c5f07f8d3b28e3d09444f9
tree142eedcf2d7f0d7e5199008c5b3467f73e45f968
parentbca3cbc9a3e88b6a0b6c0a04297a10134bd483a5
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