linux/drivers/pci/pcie
Lance Ortiz 37448adfc7 aerdrv: Move cper_print_aer() call out of interrupt context
The following warning was seen on 3.9 when a corrected PCIe error was being
handled by the AER subsystem.

WARNING: at .../drivers/pci/search.c:214 pci_get_dev_by_id+0x8a/0x90()

This occurred because a call to pci_get_domain_bus_and_slot() was added to
cper_print_pcie() to setup for the call to cper_print_aer().  The warning
showed up because cper_print_pcie() is called in an interrupt context and
pci_get* functions are not supposed to be called in that context.

The solution is to move the cper_print_aer() call out of the interrupt
context and into aer_recover_work_func() to avoid any warnings when calling
pci_get* functions.

Signed-off-by: Lance Ortiz <lance.ortiz@hp.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2013-05-30 10:51:20 -07:00
..
aer aerdrv: Move cper_print_aer() call out of interrupt context 2013-05-30 10:51:20 -07:00
aspm.c
Kconfig PCI: Remove unnecessary dependencies between PME and ACPI 2013-04-15 14:30:44 -06:00
Makefile
pme.c PCI: Remove unnecessary dependencies between PME and ACPI 2013-04-15 14:30:44 -06:00
portdrv_acpi.c PCI: Fix missing prototype for pcie_port_acpi_setup() 2013-04-12 11:17:47 -06:00
portdrv_bus.c
portdrv_core.c
portdrv_pci.c PCI changes for the v3.10 merge window: 2013-04-29 09:30:25 -07:00
portdrv.h PCI: Remove "extern" from function declarations 2013-04-17 10:21:17 -06:00