]> 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)
commit9834ddc405ff9c2151371678ae3e1224dcbb92ea
tree63f5eb611461fb68a684cc24bd925625e5eed309
parentfa04a405460f54736a75a1e4da35de0f266c1285
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