Re: [PATCH] xhci: pci: Reset AMD 500-series (0x43ec) xHCI controller on resume
From: Munique Feitoza
Date: Tue Dec 01 2026 - 19:17:02 EST
Hi Michal,
I tested commit 555040535119 ("usb: pci-quirks: always assert xHCI OS
ownership")
cherry-picked onto v7.4-rc1 on this AMD A520 system (0000:02:00.0, 1022:43ec).
After an s2idle suspend/resume cycle (rtcwake -m freeze -s 5), the controller
resumed cleanly with no "xHC error in resume, USBSTS 0x411, Reinit" error.
So commit 555040535119 already resolves the root cause on 1022:43ec as well.
Please drop this patch. Thank you for pointing me to it!
Best regards,
Munique
On Tue, Dec 1, 2026 at 6:50 PM Michal Pecio <michal.pecio@xxxxxxxxx> wrote:
>
> On Tue, 01 Dec 2026 14:59:47 -0300, Munique Feitoza wrote:
> > 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.
>
> That makes little difference besides reducing log noise.
>
> Can we know that no such chip is able to resume properly and this
> change won't break systems which work?
>
> Please check if commit 555040535119 (in mainline since v7.4-rc4)
> solves this - it has fixed similar issues on other AMD chipsets.
>
> Regards,
> Michal