Commit 648906b6 authored by Sean V Kelley's avatar Sean V Kelley Committed by Greg Kroah-Hartman
Browse files

PCI/ERR: Clear AER status only when we control AER



[ Upstream commit aa344bc8 ]

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: default avatarSean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Stable-dep-of: 002bf2fb ("PCI/AER: Block runtime suspend when handling errors")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bb317bba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment