From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.179 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795994948; b=y9JQIxJHnp6qQc4n9Bomyo68qfaAppzyBR6WcWgIOurlOhP+azHn/ROPXE4sxUXVb6I/ oV1HH8jzT//g82UjFhzcK/t06k66CE3yur0VUOkxEDPhVTHHHQr0AvBF+wg1rMJGe3Akj 7vuhrSwoiB/0LnfsZMcnRAwnUyl2Ubc7HMlIgx1OY80C2R7ZVBsv0Z444mVGwLzjykWHu C9CaZiyMpjY8lp2fvX3cKOwxx453+aiNZlCm1vcjyNyUVVbPtZPsPFY2JFuDPumccoTAY /+lszhS+DT9xpyKxcjbzBjFHvNAaUbWD2mFh1m4mEKDRsoiZKr/KlDh96PgNJXZOJqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795994948; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=S9KR9uNGedIlSFK4R7Pur3jGBOSowd/Kcd0LlbyzS6g=; b=z5IcxXKqOKULYObMuaJk+texaj2vpSiH4UugLLYzlxFlRq0EDfDmgFFvW1ehkLGdIO5d m53bscoRIVg9VF27GdvA6/04kFAb8KHTxwRKkgOF/vINPazOxbqVtYZqghR5ZcE4NqVHI nT7y21DBmzLaiUxmsqKiLHjkuMJ8yog+JMcnMmY9EStOpT0qYXoWEhaY0yUJOLSNh08Uz ba6aC5my1BYkq+nMaD6/y3u+awQHee7hFKPCEQ7RcQIIEBTfWIJnYtZZXgAsJoQgZ3qa5 2YQ3aurilfMQRgKhoXB3ScS0gmN7PaJQDehj4P4PPW7ywMvMzGjIYSfud+aPh844odQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="Mft/qfCK"; arc=none smtp.remote-ip=209.85.215.179 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D046C606A32D for ; Sun, 29 Nov 2026 23:29:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D046C606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Mft/qfCK Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-ccca948203aso6459620a12.3 for ; Sun, 29 Nov 2026 15:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795994947; x=1796599747; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=S9KR9uNGedIlSFK4R7Pur3jGBOSowd/Kcd0LlbyzS6g=; b=Mft/qfCKE0R86crok0r+BPImDY+kWZu52kO229E5kzxTB7h+lId7m9wFMKHAPiiH6s z7fWkjqVfQfWHejc6AK6wHfy4yODfayAyfR6V/gowjwk8ZkrLTJxvK0Cyl658LS/T5My BcdvrByVLFg6Qkv0HmjnfNU6HqaGzA9tPWiYtonmCK+lG8BilvzNhUUmf3YOxopyHuTo A1uevnty9/bd0hq32GQJYEFPzY5PeAM53rl/Fpm4Tw8eWpnEKcj0VN7kD1Aq+tZYKG5v OpL0jv6ZX7G8jIkwR8U74etWCzDo3Z0mTcAWBCY9J08Ka67UYuJNouJNDIhLgE29Q4mu fYoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795994947; x=1796599747; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=S9KR9uNGedIlSFK4R7Pur3jGBOSowd/Kcd0LlbyzS6g=; b=saJX5696J47wBp128Egp8Bsha9s2OHa2FkAKb8I1618NUKp5Ar4wakE1WNWBq6WF5j 9wI5eLKVh2ueQ6X2eHntEPq9wX/AjFZXTerEcARGckca3YVRN33fm4R0C8KdS78K3tEr NacnSiIJRftW57252KWAtZrzswjbC678xP0zrme6Wucxz9fPFoG+qTqWHs4q9GRQJcHB Cn1f3bP7icOAxSxm/r5aYlhsK2GHA5st9Xspi3/PKAWYtBeyDKqvU9eM3kncVnE8x7Jz I7aErdb9Rt/cifGk3b6i0bIZ65dx9GqCPCCoA4zNO9ZrHxYQaSmY9TxgKPKQuvm1sYn4 wZiA== X-Forwarded-Encrypted: i=1; AL+hErHYZtJthw/GyhEr9K6irzGrPcAAD8EU1sHMV79KHNCazjKSFryhyEhILynUFz+h+rWczDaNMcWpmg==@vger.kernel.org X-Gm-Message-State: APuU4Z86fTTz5uGLqC9jTQ0yfn6a6ItOcxnZd6itRWS080F4AubMIbd0 L4PfZyfwGjIkIcQM+iQ1VdR8XysnZmBOw3FBT7/4nNALXwhXMhSUvsRu X-Gm-Gg: AZFdTZd0//vG9wBHLLHwRau+YRMNKUnBTVFmqohMyWpBXUGXsYLmqpU056FFWiqFR0H /B0tGdmP30z/KmbcIM1+5otjkNirbZcv2r1MfB8UwfQ1ek//APNANPw9Rw3N2VhjSkjIoKn3hAV K2VicgJhzPe/X4PdTHVsI69/d2JZz1tQC0B/5SbE3/5Ea260SANHpk0OrLZeUR1qwuWHdlaOs/d zPUZBnopXVC54A3MuyTLg2O1dwAWh9bllNBhoYg1i1koIo/+0DTRO3Srd1PdRcRIlDUndtv6R7P gL+c1IQfGMHVCULvD5h5qKyDRXxEMJiaQcaL2zNEFZV4Ks1gmTm2VQSugCAIo5PpO4kfJrRivvH mXlym6GCsXmP+1tKe+6myHqrOR/aJMHKY75vQ03t0qQPV+oED+32q4/H76zzdwBsLiw/wanAQhY Egtx36dpDxIcc51xIeSQNPpbUeoz7ovdd6ZKTtZGOLTieXuxLsxWp5ZUs4+DXOYO56HD872YI0i cfWkkYGviPh8lkZyCD5tM5UXLYGnRiHdDLp3cVlOO1VG0Sw7QicpP7DhhlfEy/R0BSKDnfTlTss DhysQa6iLKX/mGdqZv6M+lHVxWh+ODH0GI7/iw== X-Received: by 2002:a05:6a21:e089:b0:3f9:20d7:984a with SMTP id adf61e73a8af0-4014a17aa71mr37579473637.13.1795994947063; Sun, 29 Nov 2026 15:29:07 -0800 (PST) Received: from DESKTOP-NM9EKIA ([2001:e60:8508:45d6:1d71:59c3:f3cb:3c30]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cde6cea7c29sm16505073a12.1.2026.11.29.15.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 15:29:05 -0800 (PST) From: Joonhoe Kim <26rote@gmail.com> To: Vladyslav Tymoshchuk 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 Message-ID: <20261129232907.451-1-26rote@gmail.com> X-Mailer: git-send-email 2.55.0.windows.5 In-Reply-To: <20261129134442.579-1-tvlad744@gmail.com> References: <20261129134442.579-1-tvlad744@gmail.com> X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/