Re: [PATCH v4 1/2] usb: xhci-pci: add AMD Promontory 21 PCI glue
From: Mario Limonciello
Date: Fri May 08 2026 - 13:42:26 EST
On 5/8/26 12:39, Jihong Min wrote:
> This define should be in a common header used by xhci-pci.c and
> xhci-pci-prom21.c both.
Agreed. I moved PCI_DEVICE_ID_AMD_PROM21_XHCI to xhci-pci.h so both
xhci-pci.c and xhci-pci-prom21.c use the same definition.
Sincerely,
Jihong Min
Something else I was thinking about while reviewing this series.
Promontory 21 is only on AMD platforms and AMD platforms are only x86. I think the Kconfig should be conditional on AMD CPU support being enabled and X86 architecture so that we don't bloat other architectures with dead code that will never run.