Revision 37448adfc7ce0d6d5892b87aa8d57edde4126f49 authored by Lance Ortiz on 30 May 2013, 14:25:12 UTC, committed by Tony Luck on 30 May 2013, 17:51:20 UTC
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>
1 parent e4aa937
History
File Mode Size
Makefile -rw-r--r-- 528 bytes
README -rw-r--r-- 1.4 KB
bindec.S -rw-r--r-- 27.5 KB
binstr.S -rw-r--r-- 4.2 KB
bugfix.S -rw-r--r-- 13.7 KB
decbin.S -rw-r--r-- 15.4 KB
do_func.S -rw-r--r-- 13.5 KB
fpsp.h -rw-r--r-- 11.2 KB
gen_except.S -rw-r--r-- 12.9 KB
get_op.S -rw-r--r-- 19.9 KB
kernel_ex.S -rw-r--r-- 13.0 KB
res_func.S -rw-r--r-- 51.9 KB
round.S -rw-r--r-- 16.4 KB
sacos.S -rw-r--r-- 2.8 KB
sasin.S -rw-r--r-- 2.3 KB
satan.S -rw-r--r-- 15.6 KB
satanh.S -rw-r--r-- 2.2 KB
scale.S -rw-r--r-- 8.7 KB
scosh.S -rw-r--r-- 2.9 KB
setox.S -rw-r--r-- 27.7 KB
sgetem.S -rw-r--r-- 3.6 KB
sint.S -rw-r--r-- 5.6 KB
skeleton.S -rw-r--r-- 11.5 KB
slog2.S -rw-r--r-- 5.1 KB
slogn.S -rw-r--r-- 19.0 KB
smovecr.S -rw-r--r-- 4.2 KB
srem_mod.S -rw-r--r-- 12.0 KB
ssin.S -rw-r--r-- 18.6 KB
ssinh.S -rw-r--r-- 3.3 KB
stan.S -rw-r--r-- 13.0 KB
stanh.S -rw-r--r-- 4.0 KB
sto_res.S -rw-r--r-- 1.9 KB
stwotox.S -rw-r--r-- 12.0 KB
tbldo.S -rw-r--r-- 18.8 KB
util.S -rw-r--r-- 16.7 KB
x_bsun.S -rw-r--r-- 990 bytes
x_fline.S -rw-r--r-- 2.9 KB
x_operr.S -rw-r--r-- 9.6 KB
x_ovfl.S -rw-r--r-- 4.6 KB
x_snan.S -rw-r--r-- 6.5 KB
x_store.S -rw-r--r-- 6.8 KB
x_unfl.S -rw-r--r-- 6.8 KB
x_unimp.S -rw-r--r-- 2.0 KB
x_unsupp.S -rw-r--r-- 2.2 KB

README

back to top