From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796289926; b=k/usVZqAXqNGXPDRAA+vNwiu7shCgP6Zw3flak7QzF1xqqh5P3yG96Ktgs43l3elclW/ XATB+POxbBc/f37ECjXtSL7VaQKlSU0f9x0JGSI2r76Ly0l+ePlJ4QSuoT8NNPVrMg3bP Vs8d9IpXXuPt8cg6GXxk1MvjAUiRqkid2BIdTiHvRQfCSVYFH9Z7fbG/4OI4Shl0WrOM6 ztcoggUu2nM3mIB8UwnOKQy5FACFEsybr39AzMHUVyuh3wIbikSixaJCQJMmkzAkSumzo OQvRV8R1qo8FF/7e6O7kHDw3ap1pC6Veq23R82DMfIVDBHyGt8UrlEStkDS/iOgIiXA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796289926; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=NpE89BCFasAITBqL2KiV+rct8SXaMoxjSlcqCGKD0cY=; b=49RDTVYqFbr9hygWNiT9gJr84BIXdDYHRjBPkQpKG23kj7t0nrnIrp6tSrvo+FzzTl8+ AtLnCpcYK1lI17Z4ZXnuealgjfyxnKOZv2EIqFUumaCZ8vYOyQbturrdOE64AhP3QXy9R zu9Oed2YehTRb7L3ctO427PwBcC8Uua9g3tGdI/WocXe7MD506NBBOv5zkXYS+CDYo147 pZn7KJ00FNTr7cKA8qxFG5XCXR4l410hK17UsXQHORiK4UFT0WXfRp6rUiWfSC0owSeEw MxvcsQDmRlHFK+c5WvaWuxYypURvDdNZGgrtrEKlwlULTSp7ftsTEkDsyTxiDLtXmHA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=RMAqTH5A; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=EuI1bbg3; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D4BF606A330 for ; Thu, 3 Dec 2026 09:25:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5D4BF606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=RMAqTH5A; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=EuI1bbg3 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B36ju6Y2205452 for ; Thu, 3 Dec 2026 09:25:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= NpE89BCFasAITBqL2KiV+rct8SXaMoxjSlcqCGKD0cY=; b=RMAqTH5AQRarHRur zINVIMvL4Dlf/TeJ6uKHx8WY3N2J9v/hdCQo86xRSMQbsrs09MKDew6yYBtcSt+W n4+eJI4tgkwrrl+xrAZli+4Funk44h4Rxgw1q0IfXlt7pVcvNsm+Jh7JkMQ+rVR0 nLyfj7FQ934Q3AOrotq8DbjvL440ZxGfbIp0SmO9ib13O8DmzCWatVEsUfuinRi7 64Q0L24Cjil+dRhT0IyTIR81SoWor/3DizQEKSo6t7IIuw/8x81RnenCzdmX8993 qq7i5Wf9d8trBhq1kWG6UsLlnY2iK7faapNxiv6T/x0Lj+mhv5ahyz5rXCuSj1D7 lHcXuA== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb28g8yx0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 09:25:25 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-3b41e8c1ac0so7663500a91.2 for ; Thu, 03 Dec 2026 01:25:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796289925; x=1796894725; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=NpE89BCFasAITBqL2KiV+rct8SXaMoxjSlcqCGKD0cY=; b=EuI1bbg3uD/AFbFfLg8/oqry4FsfBXxHW14bWNFIno1jXzcMKTdIknNsSBm5UvRm3I bndwATBCg8iasRb9ytjZD7JsXfz/0T5lirSemJ1Ziugw+cs6Ewcn69c2fYcoVaKGyTJf kMHnd9k1DaH95F/5CXkwKE2gzeQiUJBVd9tA2DV00Z6GtJdTqIr/oCXUFlDMVdXRFIzE azz0oMUlTR3vmdAkNtx7rMAGF+hDQuwZrT0TtfjgGN4kap2ofX/vseeRdDX7aPqrymhK 61qy5veodl8ibwF37OR3GBq/3C6P1YGE1bwH7MaghVhUAMCvjj6UfsOU5ZmaRVYDM8b2 ea1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796289925; x=1796894725; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NpE89BCFasAITBqL2KiV+rct8SXaMoxjSlcqCGKD0cY=; b=t8gGDIEeAhgUxNdbqRKGhk/YGZjtDn/51Lk0j9cUyizU0ytAzGnIMz7QQKOjV5zhUR +1wGTI1muNwZsR5spnIgLLLUc7vKwLmHMWjbJ3X4J5QT0I5cVTgmDh6SfAKWJWGT4gNW 698WfO1mXo7v3rrftP2FglB1JogpFIwler9NScvFrzXnieKHgnB5xiuijaFJmygXizxf l4YEDnoR2QboZ7bkI9S5yvaMGAZRJXBBvw8Zu6Q+F3k6rKMLvrk/A6m2EctLeLWpUPHr m1M/XOhbpbRCHNtzdeZ9sI6rYorDkzsGK6/FZ7W4J9giLTu7wTmBXoNLaar0W+NRd0pr wUjQ== X-Forwarded-Encrypted: i=1; AL+hErEvrNmXmRzxaDXOW1pp017edh4tcsDxZkjzgq5EtD47RHgNoEJzDCPO6OrZbRG0Wmn1tJVjUqcraMoBGvQ=@vger.kernel.org X-Gm-Message-State: APuU4Z/tx/98Y2a6Wh2AQNTj2frEKzSCul6Gdxb23pntu1Cl7xIktNBE RhD1u2zRn3dhRzC5x65Zxn80MvSfjyj9X3AcHpIy8E8SfqAW3I5fzvc76fxmtJ4r/N7/1ZmK3hr GGWaovXK1eco+I53DzndzR0VpkC6q6KI/nHKmecC99e4tq4nmemXDtRizT0aVt6tr3SM= X-Gm-Gg: AZFdTZffU4KnIXUfUl1TbFTw7uIxJjZ7D8o34PZatnkSNiVBlAcVjmPBvF4pTetPLnf Y6ZZU8NZrX4s7E3g0IwBDS4nZxELzd8xJ7yObYnGxUm5QEME7OWMlyvXxc00KYA7Ek3HKEdzkg/ dp4L3Ep3aJm34w1/2UYJshd+vOzrvxbYvOxBtQBsfWiPvghQgEF2Rj7suduJ38CGI2J3ZCWfNTT 12XJuzxRLWerFel3t+/Zhs7pc025x9iT8THbn3ttrJl+icleHIT7n72S1aqvizBi88OVPVqdYp4 ecKMcZPacf01ffFB0DpDEkHz/QI8EuRma1ng3q4BxBKL6XuiCjdwootTSDb8OXlRpdKuqqXi5zL g/dUFUCxmD+zKNSSZYFlIGXVaFstnRKOT826MM2eNSTQT5eLQoYn9eQe0+f8h81iWl08fvkTO4q s= X-Received: by 2002:a17:90b:1dcd:b0:3b0:968f:fdef with SMTP id 98e67ed59e1d1-3b41c9758d8mr46360382a91.49.1796289924640; Thu, 03 Dec 2026 01:25:24 -0800 (PST) X-Received: by 2002:a17:90b:1dcd:b0:3b0:968f:fdef with SMTP id 98e67ed59e1d1-3b41c9758d8mr46360366a91.49.1796289924158; Thu, 03 Dec 2026 01:25:24 -0800 (PST) Received: from [10.64.69.173] ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c78769b4sm3453437a91.10.2026.12.03.01.25.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 01:25:23 -0800 (PST) Message-ID: <89b1c1fb-0d2b-48d8-b6cd-0b736f40829a@oss.qualcomm.com> Date: Thu, 3 Dec 2026 17:25:15 +0800 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 00/29] drm/msm/dp: Add MST support for MSM chipsets To: Joonhoe Kim <26rote@gmail.com> Cc: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Jessica Zhang , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , Abel Vesa References: <20261119-msm-dp-mst-v9-0-ca61be4edfc3@oss.qualcomm.com> <20261119115405.162-1-26rote@gmail.com> Content-Language: en-US From: Yongxing Mou In-Reply-To: <20261119115405.162-1-26rote@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: 5EH7W2BBS3li5EeCrfqjZghwWLaAa2yY X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAzNyBTYWx0ZWRfX3BFe/3hirt3/ Eoc0D4tyiOs0J3s8IauAJ1uzzrrTU548mM7K31aV/Njj6o3Pt15tjwveXJmGMF/B4TRv1/9oAwz 7Ue3tFGmejhavmUKzNeqJ8RKEoCPUjCp90tXCwPdi5rNXOQNZKA6tXs8PzofyxbqjW8Ra+79875 mqBrnc1IclrZgjFiGPeyNn6FI+M19iZN+GayvHdlktOX37OV44OIIUu7fli8N7P7z16H9+gwQdB hgFY0CLza1bQAhEJ/fofoD+wUKP6kLFXP/KvUYmQGaXuZDTI/qchAUS08YqKLalGycsywlPNb1i mEF+EZfaX2cnadLLjar5gXwWYE+5g4xwx1WehdqoqibB1qojgFI/kobhZ2CaIj2IoM5hVEBJzvj VKJRR3e9TBxL8Tz1UyK7DhtBJRf0ly8H/HUPnWKIMhyH6ISvZ6pwpfs5/DGf/4CzlrgapPHa76D 6FaTreEksjJagGaB6Sg== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAzNyBTYWx0ZWRfX38zi/fl4THq7 LLh3GiKzpGq2y5AKsYxzQF5r1KKTyO0Q1Pe+CIB+2t235HJMz4iq/yuOvGVJLqwNUWoTDYhp3sd veVWbY75KvYOkDMgghS/jyKD75fT64g= X-Proofpoint-GUID: 5EH7W2BBS3li5EeCrfqjZghwWLaAa2yY X-Authority-Analysis: v=2.4 cv=Za+IpcVA c=1 sm=1 tr=0 ts=6b113585 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=tjF9TaR5AAAA:20 a=9gQGNQpYfaYpqJksAOYA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_02,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030037 On 11/19/2026 7:54 PM, Joonhoe Kim wrote: > On Thu, 19 Nov 2026, Yongxing Mou wrote: >> Add support for Multi-stream transport for MSM chipsets that allow >> a single instance of DP controller to send multiple streams. > > Hi Yongxing, > > On v7 I reported that s2idle hangs on resume with MST active, and you > said I could send the fix. I will not have time to follow it up as a > separate patch, so here it is for you to take into the series if it is > useful. > > The series never calls drm_dp_mst_topology_mgr_suspend() or > drm_dp_mst_topology_mgr_resume(). While MST is active the link is kept > up after the last stream is disabled, so system suspend powers the > controller down with link_ready still set; on resume the first stream > enable skips link training, and the payload table write hangs retrying > AUX over a link that is down. > > The fix suspends the topology manager and takes the link down before the > controller is suspended, and on resume initializes the PHY again and > resumes the topology manager (turning MST off with a hotplug event if > the branch device is gone). The version on top of v7 of this series is > here: > > https://github.com/joonhoekim/tb323fu-linux/blob/0e73bc96d65386bee31cc003f2e76a2e9623f631/kernel/patches/0202-drm-msm-dp-suspend-and-resume-the-MST-topology-acros.patch > > With it, a Lenovo Y700 Gen 5 (TB323FU, Kaanapali) with two displays on > an MST hub resumed from s2idle 3 times out of 3. On v9, > msm_dp_display_unprepare() should move into the patch's > msm_dp_mst_suspend() and run under mst_lock, as > msm_dp_mst_stream_post_disable() holds that lock when it calls it. If > post_disable starts taking the link down after the last stream > (Sashiko's comment on 18/29), only the topology manager suspend/resume > part is still needed. Feel free to take it under your own name or keep > my authorship. > > Thanks, > Joonhoe Kim Hi Joonhoe, Thanks a lot for your test and the patch. I can confirm it fixes the s2idle resume hang with MST active, and I will include it in v10. And will keep you as the author with your Signed-off-by. Compared with v7, which your patch is based on, v10 changes when msm_dp_display_unprepare() is called: the post_disable of the last MST stream on the topology now calls it, so the link is already down by the time the DP device suspends. The suspend path therefore no longer needs to call msm_dp_display_unprepare() and only suspends/resumes the topology manager, handling the PHY around it. Once v10 is out, any further comments or testing on your side would be very welcome. Thanks, Yongxing