linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linux-pci@vger.kernel.org
Subject: [PATCH v2 0/2] Fully enable AER
Date: Mon, 17 Jan 2022 09:03:46 +0100	[thread overview]
Message-ID: <20220117080348.2757180-1-sr@denx.de> (raw)

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 invasie, 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.

Stefan Roese (2):
  PCI/portdrv: Don't disable AER reporting in
    get_port_device_capability()
  PCI/AER: Enable AER on Endpoints as well

 drivers/pci/pcie/aer.c          | 3 ++-
 drivers/pci/pcie/portdrv_core.c | 9 +--------
 2 files changed, 3 insertions(+), 9 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-01-17  8:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17  8:03 Stefan Roese [this message]
2022-01-17  8:03 ` [PATCH v2 1/2] PCI/portdrv: Don't disable AER reporting in get_port_device_capability() Stefan Roese
2022-01-17  9:21   ` Pali Rohár
2022-01-17  8:03 ` [PATCH v2 2/2] PCI/AER: Enable AER on Endpoints as well Stefan Roese
2022-01-17  9:30   ` Pali Rohár
2022-01-17  9:39     ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220117080348.2757180-1-sr@denx.de \
    --to=sr@denx.de \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).