From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=83.223.95.204 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796122940; b=kuZshJjsMqGeDgF5IxBDD3RuHEW133BETLh/5qE8mYo8dEc8/WRJKLLywQdcPlutw8Im H03WR7mrX5XVmXNPSqx1XqgsqE5996zkODRjBbyIa4+dDddddEhM8U5WkCBtz5ATEpRBq msf29rG+bw+66oYOXrsnqqQsR4YMIlepZ0qzJa/x1rog2L799JwkfpvL+M2+EzhaexS7Y MCGMfsqJBM39Vxr+e7AcoXD8j+2WwaLLmfjH7db/DBbV67+ZT/hplPE/WmIqquek8Tn3i rqq9MPF9esFElBn/bwvfT46Xm9fRm7OLsG1J0k4AgX6kRMRnOdp72pmoLhazGrHBBsw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796122940; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=StQQJSeX3lFgGrazuweC9IucLWZi42BeWhCf2eWDMwg=; b=fd37mVJCBqQEEkltdPoU5DPWScF/R18rY3MRsNLzhHKV7F9sDx1isRzhhsC1ya9E8Opc BAXOsEYDVBegEtLFmAhAHGcuWfTzcuTyFfX9LTD1oDbQKEnEO80PYNw7SxPjNI5HbzDgw TR46x4C3NRVW26p/RNYpfsr6RzatAwFzBjDHWu9Q6Jw5ytIeZuzMLLEfn5DfAgyRtQowh +Y25zqNE3IJffhkIm29/82EnNftOhOhZvdL3hMlaBq8o0AL4Aen6YCviTbsebj6qws/Om VyVD9jJ4f7CaSQD/NK4Si9VhfGU/lJxS7dEYdC/oNOAHO1PeArLeFcnbGOyCvkjE9SA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=wunner.de; spf=pass smtp.mailfrom=wunner.de; arc=none smtp.remote-ip=83.223.95.204 Received: from mailout1.hostsharing.net (mailout1.hostsharing.net [83.223.95.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62518606A329 for ; Tue, 1 Dec 2026 11:02:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62518606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wunner.de Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "*.hostsharing.net", Issuer "GlobalSign GCC R6 AlphaSSL CA 2025" (verified OK)) by mailout1.hostsharing.net (Postfix) with ESMTPS id 4872538F; Tue, 01 Dec 2026 12:02:11 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 333F0602095E; Tue, 1 Dec 2026 12:02:11 +0100 (CET) Date: Tue, 1 Dec 2026 12:02:11 +0100 From: Lukas Wunner To: Thomas Belway Cc: linux-pci@vger.kernel.org, Bjorn Helgaas , 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?) Message-ID: References: X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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.