1
0

PCI AER: support invalid error source IDs

When the bus id part of error source id is equal to 0 or nosourceid=1,
make the kernel probe the AER status registers of all devices under the
root port to find the initial error reporter.

Reviewed-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Zhang, Yanmin
2009-06-16 13:35:11 +08:00
committed by Jesse Barnes
parent 70298c6e6c
commit 28eb27cf08
3 changed files with 122 additions and 60 deletions

View File

@@ -58,6 +58,8 @@ struct header_log_regs {
};
struct aer_err_info {
struct pci_dev *dev;
u16 id;
int severity; /* 0:NONFATAL | 1:FATAL | 2:COR */
int flags;
unsigned int status; /* COR/UNCOR Error Status */