From: Anthony Pighin <anthony.pighin@nokia.com>
To: Bjorn Helgaas <bhelgaas@google.com>, linux-pci@vger.kernel.org
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
Mario Limonciello <mario.limonciello@amd.com>,
Yazen Ghannam <yazen.ghannam@amd.com>,
David Laight <david.laight.linux@gmail.com>
Subject: [PATCH v3 2/2] x86/PCI: Extend AMD erratum #1146 workaround to more root ports
Date: Thu, 3 Dec 2026 09:56:47 -0500 [thread overview]
Message-ID: <20261203145647.707695-3-anthony.pighin@nokia.com> (raw)
In-Reply-To: <20261203145647.707695-1-anthony.pighin@nokia.com>
AMD erratum #1146 is also listed, with the same workaround, in the
revision guide for Family 17h Models 30h-3Fh (56323).
The same root port is also used by Family 17h Model 71h and Family 19h
Models 00h-0Fh and 21h, none of which a public guide lists as affected.
The erratum is expected to follow the PCIe IP rather than the processor,
so apply the workaround to every such root port with the DPC RP
Extensions. This is untested on such hardware, and is kept separate so
it can be reverted on its own if that assumption is wrong.
For reference, the public revision guides list #1146 only for Family 17h
Models 00h-0Fh (55449) and 30h-3Fh (56323). It is absent from the guides
for Family 19h Models 00h-0Fh (56683), 10h-1Fh (57095) and A0h-AFh
(57926), and Family 1Ah Models 00h-0Fh (58251) and 10h-1Fh (58730), each
of which states that errata that do not affect a product family do not
appear.
Link: https://docs.amd.com/v/u/en-US/56323_PUB_1.03_RG_Rome
Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Anthony Pighin <anthony.pighin@nokia.com>
---
arch/x86/pci/fixup.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c
index d8ea0e5292ae..be179e81550c 100644
--- a/arch/x86/pci/fixup.c
+++ b/arch/x86/pci/fixup.c
@@ -1182,10 +1182,13 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, 0x1502, quirk_tuxeo_rp_d3);
#endif /* CONFIG_SUSPEND */
/*
- * AMD erratum #1146 (Family 17h Models 00h-0Fh Revision Guide 55449). The
- * DPC RP PIO SysError register has inverted enable bits, so its zero reset
- * value escalates Root Port PIO errors to a System Error that the processor
- * may mishandle. Write the documented value to disable the escalation.
+ * AMD erratum #1146, listed in revision guides 55449 (Family 17h Models
+ * 00h-0Fh) and 56323 (Family 17h Models 30h-3Fh). The DPC RP PIO SysError
+ * register has inverted enable bits, so its zero reset value escalates
+ * Root Port PIO errors to a System Error that the processor may mishandle.
+ * Write the documented value to disable the escalation. The Models 30h-3Fh
+ * root port is also used by Family 17h Model 71h and Family 19h parts that
+ * no public guide lists. The erratum is assumed to follow the PCIe IP.
*/
static void quirk_amd_dpc_rp_pio_syserror(struct pci_dev *dev)
{
@@ -1204,3 +1207,5 @@ static void quirk_amd_dpc_rp_pio_syserror(struct pci_dev *dev)
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1453, quirk_amd_dpc_rp_pio_syserror);
DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, 0x1453, quirk_amd_dpc_rp_pio_syserror);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1483, quirk_amd_dpc_rp_pio_syserror);
+DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, 0x1483, quirk_amd_dpc_rp_pio_syserror);
--
2.43.0
next prev parent reply other threads:[~2026-12-03 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 14:56 [PATCH v3 0/2] x86/PCI: Work around AMD erratum #1146 Anthony Pighin
2026-12-03 14:56 ` [PATCH v3 1/2] x86/PCI: Work around AMD erratum #1146 on Family 17h root ports Anthony Pighin
2026-12-03 14:56 ` Anthony Pighin [this message]
2026-12-03 20:05 ` [PATCH v3 0/2] x86/PCI: Work around AMD erratum #1146 Mario Limonciello
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=20261203145647.707695-3-anthony.pighin@nokia.com \
--to=anthony.pighin@nokia.com \
--cc=bhelgaas@google.com \
--cc=david.laight.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=x86@kernel.org \
--cc=yazen.ghannam@amd.com \
/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
all inboxes | Powered by JetHome®