From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795994948; b=4mMdvIuPYgNd9neDJkgwsCFweObk9ejU1O8Cvpopgq9GQSqzHQVhnV8vgivMY46L5nQN ARiO+GYsdWnBd56HU7ReaRf0Y28zjR/ZVfiK2IdH+2oMoWqn55NFy+Y3HN4/mg+TpRgfa OCslOK3ENoE0omjM+hU9VPrVnoAzfuU4sQtsUyEQcgaZzjFTj62z14u/EdADRq3TfTFom 8eXD4U0vTBYJpMnpNRDOfa6nyeV/YyfIfolXUPgbfd+BQDJG7OmBDmEcEeqU6bhP6Sph6 vP1Ogime3iB/khPuom/M+1EPoLuzgnR3XXqBKazLlScLWjL7d21FN1sXdI+5uG0fkcA== 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=VT6j7oNn6rKdVDspMIhs7+uayH3d0R7sqB2fsI7Q4/98wjr749H+CW0FcWusC1FFTwH9 pGqzbsn/0HvrluN/3MZlIIbFXK4Veabt+MWepE9ZiRulgMtpKFrBGK97dWwhZ1psyeilJ vuLFtW2vWPi9/aK8aT4oFuLjjOztTYbKgFr59z0FsCezcp/Y8J3VLdn/dKhYwidZaX/0H sZcj1krDGX4W1zzd7UQiXPba8pjDvF+8eOSGE/4xTLbe1svZVjCo8fR7BHOvsHnJdov4z 8Vld3vD0a78GCjIgdtjIqNxHOLu8A7Svx4TU741SfHdPRoXKYETdgdYr5hMyABcZ5mA== 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.170 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 C9FE8606A327 for ; Sun, 29 Nov 2026 23:29:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C9FE8606A327 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-f170.google.com with SMTP id d2e1a72fcca58-8b600fae14dso3568956b3a.2 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=vIultnJEfcm9TE+3a76H+LHkhbhA1aXNewazglXa7ta3/oL5cpDPTZdY6QsInyje2S 2UB1FA1mQ10BqO/aT6gGdB/zWxrGW9VHLGXLaO0ruqHE/nFCC2jnT0cvQe9Dwsewg95u ufjhipy8/rvRyYnYmhrieVx9qsASSK+WP+B0CuQwKGkzErcmjpgNx5Hv3qaBUSUe4a2v pZwU1OTwYI+x6oL9W52zSIM0wtgQ77RrUntKo+I0lE8nNfe9J9U7haezfdCi93oag84/ TZqe3emAe0DShgZxcRDCvXfyzb4vuq5MrYwXl5rqdSx+VU4HmDXmSFPx4XZJ9Y1mU3ng xSag== X-Forwarded-Encrypted: i=1; AL+hErGlZVVvZiP/gM50w+GGXQsTwoIzsXlwjRb2WeGh+xSf7FTxWmcBD+UUjqrppRkvO4z6rrd2pfkYR4Osvorv@vger.kernel.org X-Gm-Message-State: APuU4Z+bus+5ETeZQyEKn9gjcfLUTSslkHLFGaPUNje11FGFwfkPuu2n P0FNQ5O1GCj0lrrmcERo7BIziYFFcGwqO2fBfLVs2pt6KLMd4SJNoiIs X-Gm-Gg: AZFdTZfGJmRyekH2mFYqJZukrNF2Or0aZcQdyxoQ6YAmrKgkvFxWyghonER4ZMyNe4I 35OvJEN3gtnNIr5rprpheF2Dx8o6uAx6lq8AFqdPGWW3qVVEmkVyspum73mDlUtdaStTB3aLs+r tjxRjwCT3QyEQ+QTvsDOKE7olV4Ri29IcXL1I8Qx3P0ze9f3U2Ha5zHTuCZfq+NRggJScWPWU2e NKqfrNvj/k68P4Abd4YlLLazKEZJHgUKFb2xaOmoA5kt/99Gzlmj7Ka/1gXLJGlhcEghxZ+51Eu XNM4uEiyb89CLEppz+iuRcYkTy0njUOhlS2gypl9l0rjdaGgoigejRALF7EqonXioyFYmeJ8Iob 2BwIt/t78o0XhWKZ8BYE0p/FsZ1HOdxxwDXNf7YH3XoT3VlHgLcnSXqZgDDJnbVg2IgtBEdWIJ6 naCB3rp7JeA3HxQP0d35rL2T4Xlc6XRVfXOqMU/FKql4VNqC8MXF/XBRfJGB9+bzCJ7wNElVOq0 1HUzydCGwst/RD1KI/WDq3OtdWZIjaXNQCVoUTLrcDT4zkVEhWD8xKV/ir/FQa8jlJjxoipOGM9 o7oO6bxOBplndsQCQvpBaFgNTqZENngeMlYnEQ== 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-arm-msm@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/