mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: Anthony Pighin <anthony.pighin@nokia.com>,
	bhelgaas@google.com, linux-pci@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, yazen.ghannam@amd.com
Subject: Re: [PATCH] PCI: Work around AMD erratum #1146 on Family 17h root ports
Date: Tue, 1 Dec 2026 12:22:49 -0600	[thread overview]
Message-ID: <53d7a9d6-ee99-4a96-90fa-2adec61efc3c@amd.com> (raw)
In-Reply-To: <20261201181925.3256089-1-anthony.pighin@nokia.com>



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.

      reply	other threads:[~2026-12-01 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  4:11 Anthony Pighin
2026-12-01  4:17 ` Mario Limonciello
2026-12-01 18:19   ` Anthony Pighin
2026-12-01 18:22     ` Mario Limonciello [this message]

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=53d7a9d6-ee99-4a96-90fa-2adec61efc3c@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=anthony.pighin@nokia.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.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®