Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Thomas Belway <thomas@belway.ca>
Cc: linux-pci@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com>,
	regressions@lists.linux.dev
Subject: Re: [REGRESSION] v7.3: boot hang in PCI enumeration on AMD EPYC Rome, with pcie_ports=native (ANFE unmask on 1022:148a?)
Date: Tue, 1 Dec 2026 12:02:11 +0100	[thread overview]
Message-ID: <aw6pM41ZRPDSqHfi@wunner.de> (raw)
In-Reply-To: <a138596b-9ff2-4484-abd1-9c4784f0a106@belway.ca>

On Tue, Dec 01, 2026 at 01:26:50AM +0000, Thomas Belway wrote:
> This is my first regression report so please let me know if it needs 
> improvement.

Thanks for the report, you're doing great.  I apologize for the breakage.

> The firmware does not grant AER to the OS, so with pcie_ports=native the 
> kernel forces it:

Is there a BIOS knob that turns on native AER, or what's the reason why
"pcie_ports=native" must be used?  It would be interesting to know if
the same issue occurs with native AER if it's granted to the OS.

> I can test patches, for example an EARLY quirk setting no_aer_anfe for
> 1022:148a, or a revert of eddba19b8b5f on top of 7.3.y. Full serial
> excerpts of the three boots and the lspci output are available on request.

Below is a patch to set no_aer_anfe for 1022:148a.  Does it help?

It's unclear to me if this is a general problem with the PCIe Dummy Device
on AMD Rome or whether it's specific to the BIOS.  In the latter case,
a DMI quirk might be more appropriate.

-- >8 --

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 1aa87a3ef9ed..fedfef06ab1b 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2584,6 +2584,7 @@ static void quirk_no_aer_anfe(struct pci_dev *dev)
 	dev->no_aer_anfe = 1;
 }
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_APPLE, 0x1802, quirk_no_aer_anfe);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x148a, quirk_no_aer_anfe);
 
 /*
  * Under some circumstances, AER is not linked with extended capabilities.

  reply	other threads:[~2026-12-01 11:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  1:26 [REGRESSION] v7.3: boot hang in PCI enumeration on AMD EPYC Rome, with pcie_ports=native (ANFE unmask on 1022:148a?) Thomas Belway
2026-12-01 11:02 ` Lukas Wunner [this message]
2026-12-01 17:45   ` Thomas Belway
2026-12-01 18:01     ` Lukas Wunner

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=aw6pM41ZRPDSqHfi@wunner.de \
    --to=lukas@wunner.de \
    --cc=bhelgaas@google.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=thomas@belway.ca \
    /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