From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 682C22E7F25 for ; Wed, 26 Aug 2026 02:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787712913; cv=none; b=Ejj8OmHyWDP0FVOqMqhNh9uNkYP/0NZ8Hcigm5RiXTgpL6YfBDAxoNsuzH14nxQ2h6YYbiJp285qG8MQz0qd1jM2n813E65lGJ7i9m+gB5UH5590aiKCvMPnNxx2sICIs+NZMU5lSh4KyXLvG4/QdHyusOSya7D//OoUi6bw0WI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787712913; c=relaxed/simple; bh=EAdT7SxED4NjI7nW0nd4WdQ7ZlHtubM69ukQVXmyiCU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=quLQHi8hMtmbxeMro+eTmcrr5CQSjFtgePHyMFSbRW6Rebi4sBuxrI98ekkwB/hZCz8SC/cFWFbl8lP8SFMHUkaXl3Cm5s6TXk/VKGsOvZCVV9IJQPIRQCyhM/+vauflab0UFufYaIGzUQvMRuSZ2FQK+N17uanpoB01U/AP4Ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=PRQLu387; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=kq7f7KGu; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="PRQLu387"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="kq7f7KGu" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67Q06ew04047720 for ; Wed, 26 Aug 2026 02:55:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=qZwlu9DXHbG3KJS9HtD5YN5O QJT84r4Ko7CZVuzE2Ls=; b=PRQLu387WeMLi7r71RcObG9DOZLhwKIC3x6olCTA 7LRAO/lCJtJrSsqKkoHmM2FTPphE4epZkoSUtx2M7LPDujh3KZxc0NsZSAM05WyD Dqt+CsknW7V1QNuV2EchYXINnuFJOXklc3nxCxzT+AkZZKyxdvcgg6OkI8o79Xrw hIaYQ5AIWa7ExGZZmZp0c5VISXYW0m1ZSslzz6U/Pt68gk9nDHfWS6kXX2LT0rmK 17SNCvaX0/6rKrrF4cvS5wDTg0xk/CYEUL2pRA0H2w3mWJ8NiUwEM/HzR2d/w/Bb H/6+GGes7crB8F1PiZgj/XkjADY/NexFhYmbwnM5kkkvLw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g9fgxhqb6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 26 Aug 2026 02:55:11 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38ec0f510a9so1521844a91.2 for ; Tue, 25 Aug 2026 19:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787712911; x=1788317711; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=qZwlu9DXHbG3KJS9HtD5YN5OQJT84r4Ko7CZVuzE2Ls=; b=kq7f7KGu2/3pbUOcafBtJbwxh/LTAmskgCPifgC7EFTKR/Ra6/8RNx3djzhzeF+m7O GoGWNQsMcRQnNFP/IaQ2AIzTBjV2wnPOcrXjwyD1BYTJ/1RqJTPqwVGd/f3nI5lVj2pV UCVEXrIGTdQ3e3k5YguwwfJEqU92ElSxdsYYu4GnH0IMuakrx1RZjVVWbHjhOaHvvYAG FWwPDOUax6CpC666xrx9QeC4geFwQRWYZcThN+UpUauqUcf5+LWn3CZj09tPlvjwmah6 FOiEKLRG1QC5TFnq/r0A5IckLHZJMSZoYiS6LgJHTd42Fo5As5/BWY1NR5ifw46M/6Mc CZdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787712911; x=1788317711; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qZwlu9DXHbG3KJS9HtD5YN5OQJT84r4Ko7CZVuzE2Ls=; b=f/cI5sv7tl9VAv4G4PfuuXFZAfURNy66LpXZBm7r5Jgzd3SwOhWWEsdqbbRPNU9y38 mQ1PBfil/P6ygfqwNWXT6ejkqfONeUIBcan8z47iJOOGAMWqRpjdUslFla5tJNSLLy0c liNfA2mSISCrU1QS3wOPbRAjjGGlveoN4KYTzMqQ8RqgSdc1zsqQ/CBxjSHx3W1ASoDP qcFZBE7FL00kgx3dk4p2FGA/zcXdYCortXseaqWHf2Ov6Ox1McbYGdXhj3zaVJxSKQlA G06Tq2wjp+CNQoOl3P63bg/xucSKcvpX2JWNT4n0yhKuayjrScPSmjdGlODdqL09lfXe rdcA== X-Forwarded-Encrypted: i=1; AHgh+RovpM4efloQv2ktW+Qwl8Hpxizxu/+LpeziLF9+aFRI86KtJmjUipljkiU0T/43+k63hWXPO0hYmOLL@vger.kernel.org X-Gm-Message-State: AFuF++loEeWSZ43cRsNf3pRiMytHT1/3lOMazjuaF6TWadbPH/cyRHh5 1ojcc3/YbskW72g0VxVwqtxhv2owcumVdd3by8BRk9npdzypVfYh58HDPbltz2chArHmKHnsioI JfOvUNJOVC8BomNdkwCHRMDASZiyHspqijxIpykpa4i/ef+MSwySWnDVaxzfA6RzZ X-Gm-Gg: AR+sD138h5nIc8Ok5cdVpo71q4hpwfNzhwZLOREHwLdVjwfFQOETlu7eX3ltPhlPkEI E9jiXFrPjAMhZNWiwJlf1u1JAwrwCAnt5iVczRvCbk1umU+qIQNaYNTS7YuIiHE+a70+h5DAnFG 3WLgzAwuD0HKTqenZQESUECAtRJLLqq0oin/N+1w/WWU+SCwML7PbEj9rJDOq6+5hy/GPhAOMxc 3UIurENtz7qOCzVg5X5XPA3AFXttSkTeGKE89eKyl4GHVD5UedjCIzPFLZgHPyW+CCTnn5lkKeL QJvC3oYrM2FsJe41+QsTRj9JPnytyBuk40kL4JoZ/8M0QrLRXX3JHhRXo1Iz2oOXeIG67PfVNc9 E8liJ/REeLnyAlTc6yRZBEW1oT5YmB61/lt6HTZnnZ34= X-Received: by 2002:a17:90a:d44c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-3966d366aa3mr7354668a91.3.1787712910996; Tue, 25 Aug 2026 19:55:10 -0700 (PDT) X-Received: by 2002:a17:90a:d44c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-3966d366aa3mr7354472a91.3.1787712909866; Tue, 25 Aug 2026 19:55:09 -0700 (PDT) Received: from QCOM-aGQu4IUr3Y (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3283d8d208csm3503170eec.23.2026.08.25.19.55.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2026 19:55:09 -0700 (PDT) Date: Wed, 26 Aug 2026 10:55:03 +0800 From: Shawn Guo To: Konrad Dybcio Cc: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski , Mukesh Ojha , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/8] remoteproc: qcom: Support the Nord HPASS ADSP cluster Message-ID: References: <20260815132541.1575121-1-shengchao.guo@oss.qualcomm.com> <81b85f8f-e4d4-4d19-aa47-97739eac030b@oss.qualcomm.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81b85f8f-e4d4-4d19-aa47-97739eac030b@oss.qualcomm.com> X-Authority-Analysis: v=2.4 cv=MqZiLWae c=1 sm=1 tr=0 ts=6a8e558f cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=szNJ_9HOGHvmntdxT5MA:9 a=CjuIK1q_8ugA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-ORIG-GUID: U2-YGMzVEhllvZFu6Kk2a18ZVwMn9CXf X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfX2HIwtfXp2O/d AA+ox/D6ozu3ONmCirjU3IjQJWFYvKdh2fthg4rrlZP4LU6H46NY7e8LANVeBPqskfs6k8M2Cho c5CDcXM4VnNvQn5EKGM9hQCnK7VHSi1Xk+6NDQTUOv8oX7dIjZkFkqdAXlq3/hqw67hsKuz4tfD 90TAXDTQEXKR/g/mHACIEeg9cI95RSKIRsYXDcMNhuOUR4WbcP7ZwQi9lPe93JxZJP7+SX08wqA BDEo4oGRDuHECzZsFvkEXHTAzMvP0QJZDbnwAU1zIc6kyxRZwNaxeS9y3u8BKo7RtqmAWjmNmAF IBvXjlCt5Jw4hOTZ9xrP2tTfWM729gontZanX/+KCnizIC5bbvU5Lt2osGa78HIVqWYyGbubuiq vxkwhklPBJjraOx0Kft7oI90i6HFHJZrU/a57JXmIRyEX3u/s7/QwFYyvdD4mwx1A1iiHwZfaqX WCkt0Bn2D98egRW5zig== X-Proofpoint-GUID: U2-YGMzVEhllvZFu6Kk2a18ZVwMn9CXf X-Proofpoint-Spam-Info: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfX+sXVOcRaKXHP 8FQKIKOmw5YdeWrhPcWLewrpjpmMmuD2MjQQ3UkwCVfL25GwErYcgXtCCD491YpCgdbOqa1GdzW chsR2P/0xEo2usDxeqH0wHf14m6a218= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-25_07,2026-08-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 suspectscore=0 malwarescore=0 bulkscore=0 adultscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608260022 On Mon, Aug 17, 2026 at 03:19:56PM +0200, Konrad Dybcio wrote: > On 8/15/26 3:25 PM, Shawn Guo wrote: > > The HPASS audio subsystem on the Qualcomm Nord SoC has three QDSP6 > > instances, ADSP0/1/2. They are not independent: ADSP0 owns the resources > > the other two need (PLLs, AG_NOC, RSCp, CESTA, THROTTLE, QTMR) and > > initializes them as part of its own boot, so ADSP1/ADSP2 can only cold > > boot once ADSP0 is up. Their firmware also cannot tolerate one instance > > going down on its own -- stopping or restarting a single member leaves > > sysmon/glink_ssr notify requests to the siblings timing out, and the > > whole cluster unable to recover without manually stopping all three and > > restarting them in dependency order. > > > > This series models that constraint. A new "qcom,cluster-root" phandle > > groups the instances; every member carries it, the resource-owning > > instance included, whose phandle references itself, so both cluster > > membership and root-ness are answerable from the node being probed alone. > > Instances without the property -- which is every PAS instance on every > > other SoC -- keep qcom_pas.cluster NULL and are completely unaffected. > > > > Two invariants fall out of the hardware, and are implemented > > independently of each other: > > > > - Root-first bring-up. A dependent member's start blocks until the root > > has booted. > > > > - Coupled, two-phase teardown. Stopping or crashing any member takes > > the whole cluster down. Hardware testing showed that whichever > > member's PAS/TZ power-off happens chronologically last always fails > > its own graceful shutdown ack -- both the sysmon SSCTL QMI ack and > > the SMEM-bit/IRQ ack -- regardless of whether that member is the > > root. So phase 1 fans the stop out to every participant concurrently > > What!? Is that intended by design? Sounds like a crazy DoS attack surface :/ I'm trying to confirm internally whether this is by design. But at least this is what I can conclude based on my testing and experimenting. > Are we perhaps missing something to let the uncrashed DSPs keep running? Let's see what I can get from the internal team. Shawn