linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Fully enable AER
@ 2022-01-25  7:18 Stefan Roese
  2022-01-25  7:18 ` [PATCH v4 1/3] PCI/AER: Call pcie_set_ecrc_checking() for each PCIe device Stefan Roese
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Stefan Roese @ 2022-01-25  7:18 UTC (permalink / raw)
  To: linux-pci
  Cc: Rafael J . Wysocki, Bjorn Helgaas, Pali Rohár,
	Bharat Kumar Gogada, Michal Simek, Yao Hongbo, Naveen Naidu

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@rjwysocki.net>
Cc: Bjorn Helgaas <helgaas@kernel.org>
Cc: Pali Rohár <pali@kernel.org>
Cc: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Yao Hongbo <yaohongbo@linux.alibaba.com>
Cc: Naveen Naidu <naveennaidu479@gmail.com>

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(-)

-- 
2.35.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-07-11 19:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25  7:18 [PATCH v4 0/3] Fully enable AER Stefan Roese
2022-01-25  7:18 ` [PATCH v4 1/3] PCI/AER: Call pcie_set_ecrc_checking() for each PCIe device Stefan Roese
2022-01-25 14:52   ` Pali Rohár
2022-01-25  7:18 ` [PATCH v4 2/3] PCI/portdrv: Don't disable AER reporting in get_port_device_capability() Stefan Roese
2022-01-25  7:18 ` [PATCH v4 3/3] PCI/AER: Enable AER on all PCIe devices supporting it Stefan Roese
2022-01-25 14:53   ` Pali Rohár
2022-04-04 20:22   ` Jonathan Derrick
2022-04-06  5:16     ` Stefan Roese
2022-04-06 14:49       ` Jonathan Derrick
2022-03-24 16:55 ` [PATCH v4 0/3] Fully enable AER Stefan Roese
2022-04-04 10:36   ` Stefan Roese
2022-07-11 19:53 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).