Re: [PATCH] PCI: Work around AMD erratum #1146 on Family 17h root ports

From: Mario Limonciello

Date: Tue Dec 01 2026 - 13:24:06 EST




On 12/1/26 12:19, Anthony Pighin wrote:
On Mon, Nov 30, 2026 at 10:17:45PM -0600, Mario Limonciello wrote:
+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);

I would think this should apply to a few more device IDs besides 0x1453.
Is that all you saw on your 17h/0h system?

Yes. On our EPYC 17h/0h, all the GPP root ports enumerate as 1022:1453, and I
didn't find any other AMD root-port device ID that exposes DPC RP PIO.

Got it.


You raise a good point though. Before I widen the match list, there's an open
question I'd rather settle first. The quirk keys on device ID, but the write
isn't safe on every part. On a part without the inversion, 0x0007_0707 would
enable the escalation instead of disabling it. I've asked for confirmation of
which processors are actually covered by #1146 (and whether any expose their
root ports under other device IDs). I'd prefer to hold at the verified 1022:1453
ports until they answer, since scoping this correctly may mean pinning on the
SoC family too, not just the root-port PCI ID.

Thanks,
Anthony

Since it's tied to an x86 design and on-board can you move the quirk to arch/x86/pci/fixup.c so this doesn't compile on non-x86? If we need to do more matching of any kind, that's a better place too.