]> 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)
commitccef0ed436a4a84450201567d737ae7c0305ab57
tree06ffd1c0d73efa4807579a2a5b9bc04da8fcca1b
parenta471863d3b3879d10dc781480f859d67ad3a60e2
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 d83dcce9ea16 ("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