Re: [PATCH] usb: xhci: Restore MSI/MSI-X reinitialization on resume for RESET_ON_RESUME hosts
From: Jie Deng
Date: Wed Jul 29 2026 - 22:24:26 EST
在 2026/7/27 22:19, Mathias Nyman 写道:
Sorry for the late reply. I've been conducting tests and validations these days.
Is this also an issue in runtime resume where system stays in S0 whileRuntime PM is not practically triggerable on this desktop setup,
xHC transitions from D3 to D0, and is then reset?
but code inspection shows runtime resume also goes through
xhci_resume() with reset_registers=true for XHCI_RESET_ON_RESUME hosts.
We conducted 1000 tests on Hibernate and did not observe the problem recurring.
Or is it only in system suspend, or in hibernate?
Does it matter if xHC was in D3hot or D3cold before resume?
When it is suspended, both xHC D3hot and D3clod can reproduce the problem.
Additionally, I was able to reproduce the problem using the Renesas uPD720201 controller as well.
Not sure if gating with XHCI_RESET_ON_RESUME is the right way as some of those
xHCI PCI hosts may just need to be reset in resume, but retain their MSI settings.
(xhci specs states that resetting xHC should not touch PCI config space)
This may just be a ASMedia PCI xHCI issue.