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:
committed by
Jesse Barnes
parent
70298c6e6c
commit
28eb27cf08
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user