All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: ChunAn Wu <an.wu@canonical.com>
Cc: bhelgaas@google.com, linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI/AER: Keep ANFE masked on PLDA PCIe-to-PCI bridge
Date: Wed, 25 Nov 2026 12:46:26 +0100	[thread overview]
Message-ID: <awbKkqYgV3O3ay4g@wunner.de> (raw)
In-Reply-To: <20261125020013.639193-1-an.wu@canonical.com>

On Wed, Nov 25, 2026 at 10:00:13AM +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 a Dell server, a BMC VGA sits behind a PLDA PCIe-to-PCI
> bridge.  When enumeration reads an absent device on the bridge's secondary
> bus, the bridge returns a UR completion and, with ANFE unmasked, also
> signals the error.  Platform firmware reports it as a fatal error even
> though the hardware severity is non-fatal.

So is bit 20 in the Uncorrectable Error Severity register of the PLDA
bridge clear, i.e. set to 0?

Are you using a kernel which contains commit 79c168e2aa95 ("PCI/AER: Skip
error recovery on false alarms")?

Is this reported through Firmware First error reporting?  Could you provide
dmesg output?

> Set no_aer_anfe for this bridge with an early fixup, as done for the Apple
> T2 Secure Enclave in commit 7209846a169f ("PCI/AER: Keep ANFE masked on
> Apple T2 Secure Enclave"), so that pci_aer_init() leaves ANFE masked.

The issue appears to be confined to this particular Dell server, which
suggests that a DMI quirk may be appropriate, instead of disabling ANFE
wholesale.  The same PLDA bridge probably works fine on other systems.

On the other hand, if the bridge generates the UR errors for every access
to an inaccessible device on its secondary side, this might become quite
noisy and then indeed silencing the errors might be the right call.

I lack enough information to make an informed decision, hence my questions
above.

Thanks,

Lukas

  parent reply	other threads:[~2026-11-25 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  2:00 [PATCH] PCI/AER: Keep ANFE masked on PLDA PCIe-to-PCI bridge ChunAn Wu
2026-11-25  2:03 ` sashiko-bot
2026-11-25 11:46 ` Lukas Wunner [this message]
2026-11-26  5:10   ` ChunAn Wu

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=awbKkqYgV3O3ay4g@wunner.de \
    --to=lukas@wunner.de \
    --cc=an.wu@canonical.com \
    --cc=bhelgaas@google.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.