All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonhoe Kim <26rote@gmail.com>
To: Vladyslav Tymoshchuk <tvlad744@gmail.com>
Cc: andersson@kernel.org, konradybcio@kernel.org, sre@kernel.org,
	heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org,
	neil.armstrong@linaro.org, abel.vesa@oss.qualcomm.com,
	jishnu.prakash@oss.qualcomm.com, linux-arm-msm@vger.kernel.org,
	linux-pm@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/5] soc: qcom: pmic_glink: Deliver notifications from a freezable workqueue
Date: Mon, 30 Nov 2026 08:29:07 +0900	[thread overview]
Message-ID: <20261129232907.451-1-26rote@gmail.com> (raw)
In-Reply-To: <20261129134442.579-1-tvlad744@gmail.com>

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@gmail.com> # Lenovo Y700 Gen 5 (TB323FU)

Thanks,
Joonhoe

[1] https://lore.kernel.org/all/20260803-drm-usbdp-preboot-v1-1-2539b362be00@oss.qualcomm.com/

      parent reply	other threads:[~2026-11-29 23:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 13:44 [PATCH v2 0/5] soc: qcom: pmic_glink: Deliver notifications from a freezable workqueue Vladyslav Tymoshchuk
2026-11-29 13:44 ` [PATCH v2 1/5] usb: typec: ucsi: glink: Handle a restart of the remote before the work runs Vladyslav Tymoshchuk
2026-11-29 14:01   ` sashiko-bot
2026-11-29 13:44 ` [PATCH v2 2/5] soc: qcom: pmic_glink: Deliver notifications from a freezable workqueue Vladyslav Tymoshchuk
2026-11-29 13:44 ` [PATCH v2 3/5] soc: qcom: pmic_glink: Report wakeup events on behalf of clients Vladyslav Tymoshchuk
2026-11-29 13:44 ` [PATCH v2 4/5] usb: typec: ucsi: glink: Wake up the system on connector changes Vladyslav Tymoshchuk
2026-11-29 13:44 ` [PATCH v2 5/5] power: supply: qcom_battmgr: Allow charger changes to wake up the system Vladyslav Tymoshchuk
2026-11-29 14:00   ` sashiko-bot
2026-11-29 14:01 ` [PATCH v2 0/5] soc: qcom: pmic_glink: Deliver notifications from a freezable workqueue sashiko-bot
2026-11-29 23:29 ` Joonhoe Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261129232907.451-1-26rote@gmail.com \
    --to=26rote@gmail.com \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=jishnu.prakash@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sre@kernel.org \
    --cc=tvlad744@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.