]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Handle fatal error recovery
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:12 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Sep 2018 19:23:14 +0000 (14:23 -0500)
commit79641351a173964ccf3d7b0d133c6d9a9cefdca3
tree06ffd1c0d73efa4807579a2a5b9bc04da8fcca1b
parent46fac4eedc98daba570d65b0e54358eed67e72f8
PCI/ERR: Handle fatal error recovery

We don't need to be paranoid about the topology changing while handling an
error.  If the device has changed in a hotplug capable slot, we can rely on
the presence detection handling to react to a changing topology.

Restore the fatal error handling behavior that existed before merging DPC
with AER with bfcbf1909dc0 ("PCI/AER: Handle ERR_FATAL with removal and
re-enumeration of devices").

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Documentation/PCI/pci-error-recovery.txt
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/dpc.c
drivers/pci/pcie/err.c