From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 4E8032EACF9 for ; Wed, 26 Aug 2026 02:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787712914; cv=none; b=Uqi9i0+5eEBjHzLttjuW4d8WdLUuTSnXvNmZ6l8nBVoZkWATrPMP04F4rqXviGqkRUBcKdmc1Oc37s52FnXCmiV96kJlI2G9EDQjAj13QWxws6szOVRNYgfuZsnNAPUA6f/m/Rt4Nio3JzSGxiD8pHmBxi3a62ivjuru3BhIRLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787712914; c=relaxed/simple; bh=EAdT7SxED4NjI7nW0nd4WdQ7ZlHtubM69ukQVXmyiCU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ksN+giAxF//0qLIrM+2yb1egdmptCAfCGVj22qlQZOi/o+dyCeuxeQP2u1DL/giG9x4vbQFFgMquuUSHAxJBhKg+cxChAAif4g5jNz0JBwrarMxfrUlmgzByQvHRmulNspLIaozyXc2ej8FF9aHn3sVfSl68iUQg9D2+4zB1LAc= 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.180.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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67Q08ExW3817584 for ; Wed, 26 Aug 2026 02:55:12 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-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g9fgr1pa6-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-f72.google.com with SMTP id 98e67ed59e1d1-38dbf293831so1313363a91.3 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=cJxbnUKYUwPHJxRq6gQ3NbJbQoUJlqmoeNtgvGvaUqHtq+GGJ3Fl3VQD5RTZwjBmpQ T+bSEeWduK14kVQc4DWWUtwS5R0JG5hhWAQcyOjZ0jjXIDv5DI+0KWRyCNRlDWVrzHWx RcMlpqFZjAXt02luWQYGRAag16msP4P1h73TrMin07M8AW5Tqx1eENU3J7rfy/VQ5AUU hBqgiBq0Qi/4329xmA3TK/aleZvn1ipb1DKjTC9u6AXEMmRjj5kO7wZ3t50iBwioPqyg FBAeuP/vHIm6oHkEwOX8GeEOG8W1gwbohRf16rYcTznbFl3c8oJYWaOaKK6cdiClPXjl AtlA== X-Forwarded-Encrypted: i=1; AHgh+RqwO23ZSSFktCaFB4ggaoowLCpp/0SqHDZ8e/5KbNwmv59ewQTBZiQmAgNbLo4V7UrP2V/g/dm5uftg3/SzPU/h@vger.kernel.org X-Gm-Message-State: AFuF++n9cBziBdYmwqLu54DiQ/8nxk7Sz68pweLRMxxO793AXSwvYcYX hGuz6gWd5+PSH7oK5akw9gCcnbJa7qtzkIeAg1l1zZJSOdd4bn/XkuxHhNcQPr8Ma5ItjZtW3B1 tZTDaHwjhtvZAFcWkcNOD5oEblAR+Ie6xzcDlWQ84Qu39q8iPJwe1UcA0I7VKul1pS5g56Asr X-Gm-Gg: AR+sD12WjDhiwk6kCOnPHiX9+JmiZ6wm0XLycGlq+aZsL8kzN8QRpT+noj4ne/5TIER vB+3NC3v6iI45bn8q33jD4Q4VqsOAHQnLKZsQ9tiXZfkMZ90UQsiFrZwB5nTNs8JyMFthZK9X9J Vskb2nldOoqel8JhvaDgI/7Sev6pAKpqCu0Yuqlmh2GU1Z8LI73vG2Px7IX9L8bAXn640EdzS5q kHD5xcGhmt1fTAIOoIIHrrnoDlCpbDQUhJDgZfE969P0VTeSpmpyREqXTVblxA/3iK3Up+L6+Nw QM1Ya+aMqNmxtWkzDMMF9hKXSIGjMX6i10ljmjao369gI6yZw/tshBA6WcFPFmDWs26MrJzi4M0 IyqWluRIM33Crq79koiYCqL7n/+2JSTKev85SSILbgNY= X-Received: by 2002:a17:90a:d44c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-3966d366aa3mr7354679a91.3.1787712911043; Tue, 25 Aug 2026 19:55:11 -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: linux-remoteproc@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-Proofpoint-GUID: kI0b0F5iTyxk0abrE3Sidx8EwKHZz6gV X-Proofpoint-Spam-Info: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfX3ezMplpRhMiu 7iUj7bycMKu6hrjkpCh9EqYAnkRAPQqtvwhDt3S5/rxo7tyLoAW+twhnek5TMF7j6O6nrBhKNwW abBtr8ujQ2/2x+yny114YJeJkW+ti6I= X-Proofpoint-ORIG-GUID: kI0b0F5iTyxk0abrE3Sidx8EwKHZz6gV X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfXx4m93KqnCd6R bXscl9gyyZmswzfGPnBA1X0BJUJKw7Cm2SPnKeeNJ/eSMCf/NLKAhqNhevo7k9SmpE5SlkQ/m1X sJPESZvlfOrwqgMROFr6/3uoOqz/v6ssNhK/e1ZSW2V4+qlCg9M5r6cX9Wq0/dLTm+YTBbnFnNI yItBlGdRrXknhWXk7YllBgvMeOXP+XaVBBHJymrcmT/79DmurVTO2A95Nhk8blhp48okxzj0p24 EcrE1xPCIQ4RkwB042Nj6zvEnHOXGD5hW3WgQw8G838ee2UOjeLkhT1Yq/fbb0HAfOL2pj14kLC RR1nqQq8g8wtSKpNLP1xQmxtfelJ6o9bcENsKATeRhjTDyXC6AwibSsqcCEE+1ri3EJo1oErFC9 A3ZrssBFX9fgVor7A3j10/F5jcOaIixqjAzzxiGnvMVz0LM8E32HHjvh73jl5xQfFPJtOuKV/HZ xa84ul2LFTNTH6OAIqQ== X-Authority-Analysis: v=2.4 cv=TvfWQjXh c=1 sm=1 tr=0 ts=6a8e5590 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=szNJ_9HOGHvmntdxT5MA:9 a=CjuIK1q_8ugA:10 a=iS9zxrgQBfv6-_F4QbHw:22 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 lowpriorityscore=0 bulkscore=0 clxscore=1015 impostorscore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 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