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)
commitbdb5ac85777de67c909c9ad4327f03f7648b543f
tree06ffd1c0d73efa4807579a2a5b9bc04da8fcca1b
parentc4eed62a214330908eec11b0dc170d34fa50b412
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 7e9084b36740 ("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