Re: [PATCH] usb: xhci: Restore MSI/MSI-X reinitialization on resume for RESET_ON_RESUME hosts

From: Jie Deng

Date: Mon Aug 03 2026 - 05:31:06 EST


Sorry, I looked in the company but couldn't find the Asmedia3042 PCIe card.
Therefore, x86 + Asmedia3042 cannot be verified.
I conducted the test using x86 + uPD720201, and the issue was not reproduced.

在 2026/7/31 18:57, Michal Pecio 写道:
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?
When I was conducting the test, I connected a keyboard.

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.
I didn't supply AUX power to the chips in my tests.

Regards,
Michal