[RFC] phy: qcom: qmp-combo: Gaokun3 USB0 xHCI stops responding after USB3_ONLY transition

YoungJoon Lee getfeus at gmail.com
Fri Nov 20 01:39:07 PST 2026


Hi,

On a Huawei MateBook E Go (Gaokun3, SC8280XP), I reproduced a USB0
xHCI controller hang after USB 2.0 storage had registered and the
QMP PHY switched from USB3DP to USB3_ONLY. Changing only the HS PHY
PLL supply reference changed the outcome in a time-matched test.

Both runs used the same local 7.3.4-gaokun3-touchtest1-pllmux1 image,
initramfs and command line. The stack is based on Linux 7.3.4 and
the Gaokun project's 7463df37160b device sources. The port was
a600000.usb, with QMP 88eb000.phy and HS PHY 88e5000.phy. Both DTBs
used L9D for QMP vdda-phy and L4D for QMP vdda-pll, and declared
mode-switch on the test QMP. The sole B/C change was vdda-pll-supply
on the HS PHY, from L6D to L9D.

I booted with AC connected and the test device unplugged. I attached
the same Patriot storage device (13fe:5200), Type-C adapter and USB
2.0 extension in the same orientation, without a DP display. First
480 Mbps enumeration was at 600.413 s in B and 602.532 s in C.
Both runs logged the same QMP mode transition.

B (HS PLL on L6D):
  601.750124  SCSI disk registered
  602.372963  QMP switched from USB3DP to USB3_ONLY
  640.995390  xHCI host not responding to stop endpoint command
  640.996749  HC died; cleaning up

The controller reported HC died 39.247 s after disk registration.
The USB device was still absent at the 114.85 s check.

C (HS PLL on L9D): no Stop Endpoint timeout or HC died in this run.
The first connection dropped 88.300 s after disk registration with
the cable still in place. The port started re-enumerating 0.336 s
later. After the disk returned, it stayed attached at 480 Mbps for
90.092 s and completed a 32 KiB direct read. An earlier L6D run with
attachment around 68 s after boot also passed the 90 s/read test.

The L9D use count before attachment was 1 in B and 2 in C. With L9D
shared, the HS PLL and QMP PHY each held one reference. In a separate
instrumented build with L6D assigned to the HS PLL, I captured RPMh
disable/enable requests to L9D (0x41104) during the transition before
the next bulk OUT stopped completing. The matched B/C runs did not
trace RPMh at the transition or measure rail voltage.

The mainline Gaokun DTS already shares L9D and leaves mode-switch
unset on this QMP node. Stock mainline reproduction is untested.
The one-line alignment for the downstream DTS is here:
https://github.com/right-0903/linux-gaokun/pull/9

For the next trace I would like to correlate the L9D RPMh requests
with the last xHCI completion. Is there a QMP or DWC3 status register
you would sample across USB3DP -> USB3_ONLY to distinguish a supply
interruption from a PIPE clock or PCS reset?

Thanks



More information about the linux-phy mailing list