From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.176 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795994948; b=AbIcjWjdUmDFJcFoxzSCuLvuzLcIjgbgSJG4LmEqMaHCGzmwFGHOx5OunJBiA1T9NKHb UX5hXxqJQF78LFZrxrLvrna74B8mvKSQasdRcgWdX7JIxeA76Mu3l+9tnmqBqkO5ov6ml 1CoYXaZ/6VWVUWMkJhKtsJlZiOtBG4fC5qXzemFsWh6akx1/jutLoDk8Wjt9gzICvhcBo /fL0CKP8YG8fDALdUIg6B9+CC0rtmTYe3jby/reElOZKM0IQrTCCZJm37RIE7LkyoxpSz wE5D+pSu4LpEt/4XJgDJ6z4x0g6Twec1JRd/qESitYIuXK4QeBs9EPZlBP9ZwOvdi1Q== 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=iX65LoISjZaLGlIyyt2Y9vm+xCKnXMA40YL94GrIGLl4wtoC5FIj9mTGgUrw9QJnRR/k 2ohOHGX2RZeHI38XK9fPOM6IQhK9A6sxkxy+hGwbkXfj3d1PVA7vFQxYywFCzAQziwLzo jorulw1TTsnCWSZyQZtvg9MtpASF+1EmCQiHo5+l/0F68wWLsDyofRnEcXtMtpl0s1/q0 xovQmnLIBWTwjObHJRew4ZzoRzwER+oDhWtp5VNodBikU67XLq/40Dzi3tVvT38CwFexR +iuQMOl9NP0wj9MmTUcOH5d9gZBXLzLV6nOKoqSYPMFDVC04c3IbUXtc4zSE5hkgplQ== 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.210.176 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 D1299606A331 for ; Sun, 29 Nov 2026 23:29:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D1299606A331 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-pf1-f176.google.com with SMTP id d2e1a72fcca58-8b9c51097e2so3871581b3a.1 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=AfAvTL/wxw/8mEUozLWPx6PMSgv9yVjaOAFhC62fW6KFOjUbJSAw5uqqwN4ne1/ir7 nImJ9ie1wNGCiaUmMpHHFiZpwrEf6dm+rB3a4Jx5JUrBLRAUEtpFV/6YQcnYyJEjE8cN UjNZrE84E7CH+Gh05Huce8y0ExSuIkgtko00PXOAiE7JoXYtsAeGfB0Ir/LtTlpeC5aH 3aWtcvddnZXc44x73e1CdNn07BGIhwTz7llB0i/wC0sX1V6ooqn11IVNB2NgJdy555Vh 33Zeym1KSf1SKx5YQlIr6LsKo6WfCSlq48meOV9MI1OSryeYYNHttblF4EppM+pJEVxx KHaQ== X-Forwarded-Encrypted: i=1; AL+hErGmBMYbYR+46WuWxavQtzksxhcmLeBp+Vk5CdnoTapUn8IkxISf/B4CbF8S+HstmoReqQ4UPdoEwu4=@vger.kernel.org X-Gm-Message-State: APuU4Z/TO6WRxMkKKzdOgHfF9E9qhemRFyy9PZafsqaNHKKmkLzLz3KR qUNwBOf+vJuYejPxTULwZv2B5MvXy6gNFPqhHt/6kVHECcM1J93EhFJQIGL0WQnS X-Gm-Gg: AZFdTZfl16gZVRr4MGGVOycPmza/gHnepu8/unCPmcN81LUm8T3HKZehdi3Acyb2tv3 +FXRvmFt33ogDAWgM6lKRYjBhGZ0WOPNe/q3wMJ59FZKdVOD0pMaslfRdtyqt6FCpwntGEFmGOW CfdM3DU5USYs2j0h67bk5dA958kFgr8biUM4bzbBXSBnk2sSK/uw90J+gXQHrFpryGdYcrVLVdn J5oZcvwWI2BNN49RbcIohY5IXXVscez9+NmuKrnmuQ/8PeKMyIdzLMe60lMqDVWxkzuaE8Ldw8J giFopmDHKeqUjiKqTPenZ/VIZ67bRjO+ninkBvNgsqaR6JyOwTKQ7cxEampWi8ifyMkDQhv5snx o/dHxDpve2r5TYvF6WWmoqHm3G07P7XHIgCxX1XaFswh16UkiM7Q1VwdYoJHbbfoDvaZ5QJLs2s N/zd32zh0EXOf3SrMqo7T1ACHCiukKGx3GX0Uy/rSG7d7oh2RaMb8aMS7uxvZQonHRPsBAeJPNR thsHAGtUu40uWD2Fa0IYOf1Klok3RFRO2uWS6VGKG3eBMVPmlBwPS/l09QMz+ZpbATvTPJ1YAtj TDjDMBGyx9opZVNLR8kgrxDe91ipQ5O9mJG4Kw== 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-usb@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/