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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 1.3 KB |
acpi_pm.c | -rw-r--r-- | 6.4 KB |
arm_arch_timer.c | -rw-r--r-- | 9.5 KB |
bcm2835_timer.c | -rw-r--r-- | 4.0 KB |
bcm_kona_timer.c | -rw-r--r-- | 5.2 KB |
cadence_ttc_timer.c | -rw-r--r-- | 12.1 KB |
clksrc-dbx500-prcmu.c | -rw-r--r-- | 2.4 KB |
clksrc-of.c | -rw-r--r-- | 1.1 KB |
cs5535-clockevt.c | -rw-r--r-- | 5.6 KB |
cyclone.c | -rw-r--r-- | 2.9 KB |
dw_apb_timer.c | -rw-r--r-- | 11.3 KB |
dw_apb_timer_of.c | -rw-r--r-- | 3.3 KB |
em_sti.c | -rw-r--r-- | 9.7 KB |
exynos_mct.c | -rw-r--r-- | 14.2 KB |
i8253.c | -rw-r--r-- | 4.8 KB |
metag_generic.c | -rw-r--r-- | 5.2 KB |
mmio.c | -rw-r--r-- | 1.9 KB |
mxs_timer.c | -rw-r--r-- | 8.6 KB |
nomadik-mtu.c | -rw-r--r-- | 6.8 KB |
samsung_pwm_timer.c | -rw-r--r-- | 11.7 KB |
scx200_hrt.c | -rw-r--r-- | 2.8 KB |
sh_cmt.c | -rw-r--r-- | 20.4 KB |
sh_mtu2.c | -rw-r--r-- | 9.1 KB |
sh_tmu.c | -rw-r--r-- | 12.4 KB |
sun4i_timer.c | -rw-r--r-- | 3.8 KB |
tcb_clksrc.c | -rw-r--r-- | 9.2 KB |
tegra20_timer.c | -rw-r--r-- | 6.3 KB |
time-armada-370-xp.c | -rw-r--r-- | 7.7 KB |
timer-marco.c | -rw-r--r-- | 8.8 KB |
timer-prima2.c | -rw-r--r-- | 6.3 KB |
vt8500_timer.c | -rw-r--r-- | 4.8 KB |
Computing file changes ...