On Fri, Jul 17, 2020 at 03:01:29PM -0500, Bjorn Helgaas wrote: > On Mon, Jun 22, 2020 at 07:35:23PM +0800, Jonathan Cameron wrote: > > pci_aer_clear_device_status() currently resets the device status > > (PCI_EXP_DEVSTA) on the downstream port above a device, or the port itself > > if the port is the reported AER error source. This happens even when error > > handling is firmware first. > > > > Our interpretation is that firmware first handling means that the firmware > > will deal with clearing all relevant error reporting registers > > including this one. > > ... > But I think what the _OSC negotiation for AER ownership is relevant, > and that's what your patch tests, so I think this is the right thing > to do. > > So I applied this as below to pci/error for v5.8, thanks a lot! Oops, sorry, I meant for v5.9. It doesn't seem to be an urgent bug fix that we could justify merging for v5.8 after the merge window.