On Tue, Jan 25, 2022 at 08:18:17AM +0100, Stefan Roese wrote: > While working on AER support on a ZynqMP based system, which has some > PCIe Device connected via a PCIe switch, problems with AER enabling in > the Device Control registers of all PCIe devices but the Root Port. In > fact, only the Root Port has AER enabled right now. This patch set now > fixes this problem by first fixing the AER enabing in the > interconnected PCIe switches between the Root Port and the PCIe > devices and in a 2nd patch, also enabling AER in the PCIe Endpoints. > > Please note that these changes are quite invasive, as with these > patches applied, AER now will be enabled in the Device Control > registers of all available PCIe Endpoints, which currently is not the > case. > > Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> > Cc: Bjorn Helgaas <helgaas@xxxxxxxxxx> > Cc: Pali Rohár <pali@xxxxxxxxxx> > Cc: Bharat Kumar Gogada <bharat.kumar.gogada@xxxxxxxxxx> > Cc: Michal Simek <michal.simek@xxxxxxxxxx> > Cc: Yao Hongbo <yaohongbo@xxxxxxxxxxxxxxxxx> > Cc: Naveen Naidu <naveennaidu479@xxxxxxxxx> > > Stefan Roese (3): > PCI/AER: Call pcie_set_ecrc_checking() for each PCIe device > PCI/portdrv: Don't disable AER reporting in > get_port_device_capability() > PCI/AER: Enable AER on all PCIe devices supporting it > > drivers/pci/pcie/aer.c | 10 +++++++--- > drivers/pci/pcie/portdrv_core.c | 9 +-------- > 2 files changed, 8 insertions(+), 11 deletions(-) Applied to pci/err for v5.20, thanks and sorry for the delay.