[PATCH] xhci: pci: Reset AMD 500-series (0x43ec) xHCI controller on resume

From: Munique Feitoza

Date: Tue Dec 01 2026 - 12:59:57 EST


On an AMD A520 chipset USB 3.1 xHCI controller (1022:43ec, subsystem
1b21:1142), resuming from s2idle fails Controller Restore State (CMD_CRS)
with USBSTS 0x411 (STS_SRE | STS_HALT), forcing a controller
reinitialization:

xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x411, Reinit

Add XHCI_RESET_ON_RESUME for PCI_DEVICE_ID_AMD_500_SERIES_XHCI (0x43ec)
so xhci_resume() performs a clean host controller reset directly instead
of failing CMD_CRS first.

Signed-off-by: Munique Feitoza <muniquefeitoz4@xxxxxxxxx>
---
drivers/usb/host/xhci-pci.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index e278db940a5834..bde0ef21c055ab 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -88,6 +88,7 @@
#define PCI_DEVICE_ID_AMD_PROMONTORYA_3 0x43ba
#define PCI_DEVICE_ID_AMD_PROMONTORYA_2 0x43bb
#define PCI_DEVICE_ID_AMD_PROMONTORYA_1 0x43bc
+#define PCI_DEVICE_ID_AMD_500_SERIES_XHCI 0x43ec

#define PCI_DEVICE_ID_ATI_NAVI10_7316_XHCI 0x7316

@@ -335,6 +336,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x43f7)
xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW;

+ if (pdev->vendor == PCI_VENDOR_ID_AMD &&
+ pdev->device == PCI_DEVICE_ID_AMD_500_SERIES_XHCI)
+ xhci->quirks |= XHCI_RESET_ON_RESUME;
+
if ((pdev->vendor == PCI_VENDOR_ID_AMD) &&
((pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4) ||
(pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_3) ||
--
2.56.1