Re: [PATCH] usb: xhci: Restore MSI/MSI-X reinitialization on resume for RESET_ON_RESUME hosts
Michal Pecio <[email protected]> Fri, 31 Jul 2026 12:57:37 +0200
| Newsgroups | org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 31 Jul 2026 15:38:22 +0800, Jie Deng wrote: > The S3 test script is as follows: > #! /bin/bash > # > for i in $(seq 1 $1); do > echo "the $i th s3" > /dev/ttyAMA0 > echo "the $i th s3" > rtcwake -m mem -s 20 > sleep 15 > done That's simple enough, I could run it for a few hours on x86 PC with a few different PCIe xHCI cards. Just in case, are some USB devices supposed to be connected, or not connected, or maybe it's known to make no difference? You mentioned that the problem occurs both in D3cold and D3hot, on my system I'm not sure if D3hot is possible with S3 so I would end up with D3cold or use s2idle instead of S3. I recall that in D3cold most of my PCIe cards don't supply AUX power to the xHCI. Was AUX power supplied to these chips in your tests? If so, I may be forced to use s2idle. Or maybe will just try both. Regards, Michal