]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Recover from RCEC AER errors
authorSean V Kelley <sean.v.kelley@intel.com>
Wed, 2 Dec 2020 17:26:29 +0000 (11:26 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 5 Dec 2020 21:25:58 +0000 (15:25 -0600)
commit9779435c9829e546daa82e3b5a0a5ed57eafe347
treef2e4d12b97fd865fa231fa1d44982fd21dd61d5d
parent9834ddc405ff9c2151371678ae3e1224dcbb92ea
PCI/ERR: Recover from RCEC AER errors

A Root Complex Event Collector (RCEC) collects and signals AER errors that
were detected by Root Complex Integrated Endpoints (RCiEPs), but it may
also signal errors it detects itself.  This is analogous to errors detected
and signaled by a Root Port.

Update the AER service driver to claim RCECs in addition to Root Ports.
Add support for handling RCEC-detected AER errors.  This does not
include handling RCiEP-detected errors that are signaled by the RCEC.

Note that we expect these errors only from the native AER and APEI paths,
not from DPC or EDR.

[bhelgaas: split from combined RCEC/RCiEP patch, commit log]
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer.c
drivers/pci/pcie/err.c