Re: [PATCH v2 0/5] soc: qcom: pmic_glink: Deliver notifications from a freezable workqueue
From: Joonhoe Kim
Date: Sun Nov 29 2026 - 18:29:16 EST
On Sun, Nov 29, 2026 at 03:44:36PM +0200, Vladyslav Tymoshchuk wrote:
> Joonhoe, I dropped your Tested-by, as the queueing is new. Could you
> check this version?
Tested on a Lenovo Y700 Gen 5 (TB323FU, Kaanapali), with the series on a
v7.3-based tree, a USB-C monitor (DisplayPort alt mode, MST, USB 2.0
hub) and a charger, in s2idle:
- Unplugging the monitor woke the system through the UCSI notification.
The notifications held back during suspend were passed on after the
tasks were restarted, to ucsi_glink, then to the altmode client, which
set the FSA4480 switch. No errors.
- With the UCSI wakeup disabled, plugging the monitor in did not wake
the system, and the notifications were passed on after a power key
wakeup.
- With only the qcom_battmgr wakeup enabled, plugging in a charger woke
the system.
- Plugging the monitor in woke the system about 26 s later, when the
firmware sent the UCSI notification.
A restart of the remote was not tested, so patch 1 was not exercised.
The first run of the plug test hung in resume, and the watchdog reset
the system; a second run was fine. This is not from the series. In the
suspend before it, the monitor had been unplugged: pmic_glink_altmode
passes HPD to the DP bridge only for DisplayPort notifications, and the
firmware sent only a notification with the USB SVID, so the bridge kept
reporting the sink as connected. My tree replays the last HPD state
directly from .hpd_enable on resume (Yongxing Mou's pending patch [1]
does it from a work item), and the DP detect this started kept retrying
AUX until the 30 s hardware watchdog reset the system. The same resume
also logged a USB PHY init timeout, which I see without the series as
well. Without the series, the same stale state stalled a later resume in
my tree for 33 s, with nothing plugged in. I'll send a fix for
pmic_glink_altmode separately.
Tested-by: Joonhoe Kim <26rote@xxxxxxxxx> # Lenovo Y700 Gen 5 (TB323FU)
Thanks,
Joonhoe
[1] https://lore.kernel.org/all/20260803-drm-usbdp-preboot-v1-1-2539b362be00@xxxxxxxxxxxxxxxx/