Re: [PATCH v6 4/5] PCI: only return true when dev io state is really changed

From: Ethan Zhao
Date: Sat Oct 03 2020 - 01:46:26 EST


Sinan,

On Sat, Oct 3, 2020 at 12:08 AM Sinan Kaya <okaya@xxxxxxxxxx> wrote:
>
> On 9/30/2020 3:05 AM, Ethan Zhao wrote:
> > When uncorrectable error happens, AER driver and DPC driver interrupt
> > handlers likely call
> >
> > pcie_do_recovery()
> > ->pci_walk_bus()
> > ->report_frozen_detected()
> >
> > with pci_channel_io_frozen the same time.
>
> We need some more data on this. If DPC is supported by HW, errors
> should be triggered by DPC not AER.
>
> If I remember right, there is a register that tells which AER errors
> should be handled by DPC.

When uncorrectable errors happen, non-fatal severity level, AER and
DPC could be triggered at the same time.


Thanks,
Ethan

>