On 1/27/26 6:39 PM, Jonathan Cameron wrote:
On Sat, 24 Jan 2026 15:45:56 +0800
Shuai Xue <[email protected]> wrote:

The DPC driver clears AER fatal status for the port that reported the
error, but not for the downstream device that deteced the error.  The
current recovery code only clears non-fatal AER status, leaving fatal
status bits set in the error device.

Use pci_aer_raw_clear_status() to clear both fatal and non-fatal error
status in the error device, ensuring all AER status bits are properly
cleared after recovery.

Fixes: aa344bc8b727 ("PCI/ERR: Clear AER status only when we control AER")
Cc: [email protected]
Signed-off-by: Shuai Xue <[email protected]>
Shouldn't this be first patch in series to make it easier to backport?

Yes, you are right. Will move it as the first one.


Otherwise seems reasonable to me, but others know these flows better than me
so hopefully we'll get some more review.
Reviewed-by: Jonathan Cameron <[email protected]>
Thanks.

Best Regards,
Shuai

Reply via email to