From: sashiko-bot@kernel.org
To: "Lukas Wunner" <lukas@wunner.de>, linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI/AER: Check error status registers if Error Source ID is zero
Date: Thu, 26 Nov 2026 18:42:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-236032@kernel.org> (raw)
In-Reply-To: <1ddc35c51b5317988bbf235c467a9534218c6ea4.1795717157.git.lukas@wunner.de>
> Since commit 6d69eeae8966 ("PCI/AER: Check validity of Error Source ID
> register"), the AER driver checks whether the Error Source ID register
> contains either the ID of the Root Port (or RCEC) itself, or of a device
> subordinate to the Root Port (or associated with the RCEC).
>
> If this check succeeds, the Error Source ID register is assumed to contain
> a valid value and is not double-checked by reading error status registers.
>
> However per PCIe r7.1 sec 2.2.9.1, devices may send Completions with a
> zero Completer ID "prior to the initial device Configuration Write
> Request". Similarly, CXL r4.0 sec 8.1.5.1 states that a Component may
> generate a CREDIT_RTN IP2PM message with a zero bus number after reset,
> which can fail ACS Source Validation and trigger an ACS Violation Error.
>
> On ARM platforms, there is often a Root Port at address 0000:00:00.0,
> which makes it impossible to discern whether a zero Error Source ID refers
> to the Root Port or to an uninitialized device downstream.
>
> For this reason, always double-check error status registers if the Error
> Source ID is zero.
>
> Fixes: 6d69eeae8966 ("PCI/AER: Check validity of Error Source ID register")
> Signed-off-by: Lukas Wunner <lukas@wunner.de>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/1ddc35c51b5317988bbf235c467a9534218c6ea4.1795717157.git.lukas@wunner.de?part=1
prev parent reply other threads:[~2026-11-26 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 18:35 [PATCH] PCI/AER: Check error status registers if Error Source ID is zero Lukas Wunner
2026-11-26 18:42 ` sashiko-bot [this message]
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=sashiko-outbox-236032@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=sashiko-reviews@lists.linux.dev \
/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