kernel-fxtec-pro1x/drivers/acpi/apei
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
..
apei-base.c ACPI, APEI: Fixup incorrect 64-bit access width firmware bug 2013-01-19 01:34:43 +01:00
apei-internal.h ACPI, APEI, Avoid too much error reporting in runtime 2012-06-12 00:17:18 -04:00
cper.c aerdrv: Move cper_print_aer() call out of interrupt context 2013-05-30 10:51:20 -07:00
einj.c ACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table 2012-12-07 11:50:02 -08:00
erst-dbg.c ACPI / APEI: Fix the returned value in erst_dbg_read 2013-01-03 13:10:20 +01:00
erst.c efi_pstore: Add a sequence counter to a variable name 2012-11-26 16:07:44 -08:00
ghes.c aerdrv: Move cper_print_aer() call out of interrupt context 2013-05-30 10:51:20 -07:00
hest.c ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off 2013-02-23 00:27:29 +01:00
Kconfig llist: Make some llist functions inline 2011-10-04 11:30:53 +02:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00