From: Lukas Wunner <lukas@wunner.de>
To: ChunAn Wu <an.wu@canonical.com>
Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] PCI/AER: Keep ANFE masked on Dell Pro Precision 9 R2
Date: Wed, 2 Dec 2026 11:58:36 +0100 [thread overview]
Message-ID: <aw_53Byl1bki8ekl@wunner.de> (raw)
In-Reply-To: <20261202032740.123728-1-an.wu@canonical.com>
On Wed, Dec 02, 2026 at 11:27:40AM +0800, ChunAn Wu wrote:
> Since commit eddba19b8b5f ("PCI/AER: Support Advisory Non-Fatal
> Errors"), pci_aer_init() unmasks Advisory Non-Fatal Errors (ANFE) on
> devices with native AER.
>
> On the Dell Pro Precision 9 R2 PW9R2275, enumeration reads absent devices
> behind some bridges, such as the PLDA PCIe-to-PCI bridge in front of the
> BMC VGA device and the PCIe switch in front of an AMD GPU. The bridge
> returns a UR completion and, with ANFE unmasked, also signals the error
> through Firmware First. The firmware reports it as a fatal error even
> though the hardware severity is non-fatal (bit 20 of the Uncorrectable
> Error Severity register is clear).
[...]
> - Tested on Dell Pro Precision 9 R2 PW9R2275 (BIOS 0.0.8): no GHES
> fatal records, and both amdgpu and mgag200 probe.
That's a brand new machine with the latest "Granite Rapids" Xeon CPU.
The BIOS version looks like it's still in beta.
Isn't there a newer BIOS available from Dell? Do you have an FAE or
other contact there whom you could ask for the BIOS to be fixed?
Usually quirks are only accepted if there's no newer, fixed BIOS available
and the vendor is never going to provide one.
> +++ b/drivers/pci/quirks.c
This would better fit in arch/x86/pci/fixup.c so that's it's not compiled
on other arches that don't need it. Also it should be #ifdef'ed to
CONFIG_PCIEAER.
> +static void quirk_dmi_no_aer_anfe(struct pci_dev *dev)
> +{
> + static int dmi_matched = -1;
> +
> + if (dmi_matched < 0)
> + dmi_matched = dmi_check_system(no_aer_anfe_dmi_table) ? 1 : 0;
> +
> + if (dmi_matched)
> + dev->no_aer_anfe = 1;
> +}
Why not simply:
if (dmi_check_system(no_aer_anfe_dmi_table))
dev->no_aer_anfe = 1;
?
> +DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, quirk_dmi_no_aer_anfe);
Applying this to all devices is pretty heavy-handed: It means a DMI check
is performed for *every* PCI device on *every* x86 machine. It would be
better to constrain it to the Vendor/Device IDs that actually need it.
But again, if Dell can provide a fixed BIOS that would be even better.
Thanks,
Lukas
prev parent reply other threads:[~2026-12-02 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 3:27 [PATCH v2] PCI/AER: Keep ANFE masked on Dell Pro Precision 9 R2 ChunAn Wu
2026-12-02 10:58 ` Lukas Wunner [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=aw_53Byl1bki8ekl@wunner.de \
--to=lukas@wunner.de \
--cc=an.wu@canonical.com \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
--cc=stable@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