1
0
Fork 0
alistair23-linux/drivers/pci
Lucas Stach 5dfd7f9f88 PCI / PM: handle failure to enable wakeup on PCIe PME
If the irqchip handling the PCIe PME interrupt is not able
to enable interrupt wakeup we should properly reflect this
in the PME suspend status.

This fixes a kernel warning on resume, where it would try
to disable the irq wakeup that failed to be activated while
suspending, for example:

WARNING: CPU: 0 PID: 609 at kernel/irq/manage.c:536 irq_set_irq_wake+0xc0/0xf8()
Unbalanced IRQ 384 wake disable

Fixes: 76cde7e495 (PCI / PM: Make PCIe PME interrupts wake up from suspend-to-idle)
Reported-and-tested-by: Richard Zhu <richard.zhu@freescale.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-10-23 22:47:28 +02:00
..
host PCI changes for the v3.18 merge window: 2014-10-09 15:03:49 -04:00
hotplug PCI changes for the v3.18 merge window: 2014-10-09 15:03:49 -04:00
pcie PCI / PM: handle failure to enable wakeup on PCIe PME 2014-10-23 22:47:28 +02:00
Kconfig
Makefile
access.c
ats.c
bus.c
host-bridge.c
hotplug-pci.c
htirq.c PCI changes for the v3.16 merge window (part 2): 2014-06-12 13:20:24 -07:00
ioapic.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
iov.c PCI: Use device flag helper functions 2014-09-16 16:19:58 -06:00
irq.c
msi.c VFIO updates for v3.18-rc1 2014-10-11 06:49:24 -04:00
of.c
pci-acpi.c PCI: Shuffle pci-acpi.c functions to group them logically 2014-09-12 20:01:38 -06:00
pci-driver.c PCI: Remove unnecessary variable in pci_add_dynid() 2014-09-03 12:42:33 -06:00
pci-label.c ACPI / PCI: Fix sysfs acpi_index and label errors 2014-07-02 15:27:08 -06:00
pci-stub.c
pci-sysfs.c Merge branch 'pci/msi' into next 2014-10-01 12:31:46 -06:00
pci.c Merge branch 'pci/host-generic' into next 2014-10-01 12:31:23 -06:00
pci.h
probe.c PCI changes for the v3.18 merge window: 2014-10-09 15:03:49 -04:00
proc.c
quirks.c Merge branch 'pci/virtualization' into next 2014-10-06 09:58:37 -06:00
remove.c
rom.c
search.c PCI: Remove unused pci_find_upstream_pcie_bridge() 2014-09-22 14:46:13 -06:00
setup-bus.c PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources() 2014-09-30 13:56:46 -06:00
setup-irq.c
setup-res.c PCI: Tidy resource assignment messages 2014-07-08 16:29:08 -06:00
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00