From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.178 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795994948; b=KCPwY5SafLHR4IXDK5Dy1M7hSNLDdARNvWDM2B6UaDEkWyWYn48tTZF1m6mK2K8QiQxU EL1SGO5LdJepsDnqfKMfCU+X2+VbhD80U5Pm4PdOfSPD40w522sUhaIF6VXK+PzkAnXSZ 6lN4un0yt92OcaCD8xVZtI+fZ4HCmqDp9LtOaGh/+wjSwEmZ+FdTL92Xr9xE8ZYroapFO f4Vz4A0Cz5pDdA0Ysp8Lfl6dQ5BbuqD19xc02huvmt0f/8a9Lasdjdn53r9bAYAdtP/4w K7K0uDV+Mfx5wPWPbxYiXZDdfkqNQH6FEBuUfsOVSkoLKnGWwhr8Q5j0CP5ssBFhn1Q== 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=gwGXajD/EEZICe/7+ObgwOWXm+QdiqdS3K4xXjBcuAfQLzHljPb41QbgLiw1BbuAkIgc sN26QxmLc0quFB5VswSEM6afZRa6MJF8SbiGCUqxiVymj6rws/XF0mfhbOVnRco5U8G1u r1VrltifO7F5kzyG2nVaMfZZa6RVwNPsNQMVM71birI7rmt6xU25WcO4VOKblsGj33lZE XYczhzfC39i9KyleOswjkE9zQlMF9NfiNIziSKGYddWDPPmE4X5Bt/0opP5Nw9FrD5piW JMEGwV7K9mWD4TM7gFoUCrZFhhod/VLdYSE9x1XluTbsCTF4WcJWxejbwaQ0iFYedyw== 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.178 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 CF63F606A32A for ; Sun, 29 Nov 2026 23:29:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF63F606A32A 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-f178.google.com with SMTP id 41be03b00d2f7-ccca948203aso6459621a12.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=a9lOIDzBeTtoGdkwPQzUivVcjsVP746oXG7ul+YahVYI0kF3a6OIl4gnBXFOrT8P7M aJqmhkgjJ96D/4gKzohfCCq7FmVA6c+Q2gR2Lik2JbENUAEVksBE1au4reWv61IJigD9 Z01P9NS0DNaichnaY9eskg/HV8dgjtUKQdsJbbAxWKFb7WcnJVcLTL/8vCudXnF23Up3 Ywf8tNa+93b+eGbQrak2Pc/gGcnMTCK2M4A4D9Zggr7ptITVVEfI2g1wtx7GVC7DwsDZ Kxckr/QunPlezZDWHoB1o1cP1RVsguQSpghz7JSczf1mvIPRm3Vr4vLPXYbNjEf5FbyA RS3A== X-Forwarded-Encrypted: i=1; AL+hErFtnMor9O0m3dcs0z8BkkHApFR9bMfDx1gZjXUh8w30cVcgIchPcgOoWHLhBXm4B5e9kkYbHurLQe35z+A=@vger.kernel.org X-Gm-Message-State: APuU4Z9eQGLx25K2EqeZamsZu8KVwJsdtiluXxyrmBiwmvF5SdW/3nd+ iX9gUKokQkXOFCszecQIlbrDcrzdYQsNzgso+zTa48MJI761kGJPrBox X-Gm-Gg: AZFdTZdxuCHCrPEk281/0cEttQo7SJCT/yIHg7SDZBGIxJb7QGjGzRL80k+4d/h0KXF 3KxHK+a5Xzm3TNLCgJwqyfk0FVacO0BOIRJF2CuULZSB31B7LpCZciGsr7Zv+gRuJb2N0TZb+Xu afKlzS+IpqkOAZ72zplCrCMbgzyxvXU521JgndO8rY8H02uPl3bkHV2Xy+8SMcaJ16E+RuJxfVF cu8oYf0QQ9LklaXzbiy5HtDrp68l8YEBIdDesCikcKPJZKUdw1o7tpRgLLS0zmJpWQ7g94KMQ/M sM7MK48XnbFG9s+ArUrtFZjljG6rHfy2kUwYySo7t1Iy7vRPDkCuyhOu55DipcNS41e5z3BfMKc yGWjTfuero5AgFIgX9UCxBCxH+i0b7EPEMpywCBpQuCXgNByQe1igquVt2KEPkx4uUMw1EYn+X8 8FJkuqrtA0wu7UndKb2p9leW6PYonR3YysrziBp6FhDaUKsSjTh5rGSKoDHCbRQli4UGK6+qz9u uGs4NVV3wem9oeerQ7/D+VcNJ+zMwxL9mlIiY+7F7PL1jdm9OYvGQRlbSUTV+iTj+NnTR6cLdpA o892A+Jz4r6MhkiPSICpvezvyuKj7yiGQ1j+aA== 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-kernel@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/