]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Clear AER status only when we control AER
authorSean V Kelley <sean.v.kelley@intel.com>
Tue, 24 Nov 2020 16:55:30 +0000 (10:55 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 4 Dec 2020 17:18:58 +0000 (11:18 -0600)
commit6f4da7ba90adf93ab67fb6aca69348d123e8344a
tree63f5eb611461fb68a684cc24bd925625e5eed309
parent4185a6923c7d4805e29295a13504bacc9516002d
PCI/ERR: Clear AER status only when we control AER

In some cases a bridge may not exist as the hardware controlling may be
handled only by firmware and so is not visible to the OS. This scenario is
also possible in future use cases involving non-native use of RCECs by
firmware. In this scenario, we expect the platform to retain control of the
bridge and to clear error status itself.

Clear error status only when the OS has native control of AER.

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/err.c