]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/AER: Clear only ERR_FATAL status bits during fatal recovery
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 22:55:58 +0000 (17:55 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Jul 2018 20:27:07 +0000 (15:27 -0500)
commite8d52052626daf7ded6a4f67cd3f93cbb7ac3b01
tree42e0105464b99fea2d6311abab642d078b3c819e
parent8a2e502d08a09f4219e4d9c9dc135be89347cd95
PCI/AER: Clear only ERR_FATAL status bits during fatal recovery

During recovery from fatal errors, we previously called
pci_cleanup_aer_uncorrect_error_status(), which cleared *all* uncorrectable
error status bits (both ERR_FATAL and ERR_NONFATAL).

Instead, call a new pci_aer_clear_fatal_status() that clears only the
ERR_FATAL bits (as indicated by the PCI_ERR_UNCOR_SEVER register).

Based-on-patch-by: Oza Pawandeep <poza@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/err.c