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 6833A2E92B3 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67Q06tZu3469905 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-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g9bkuaxkf-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-f71.google.com with SMTP id 98e67ed59e1d1-39640eebc57so1179317a91.0 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=H9rNwunYrbOJzeDDurapMwTh2mYvrdJ6McRwmPezCe9avIoJoEmSLbzVsfaHVJaNiC ENTu1OAwKGTXxnkoEYG01BEXc2Sf7bWjGjGLz+eBI+rJB9mf0cz8w/ToeCEGzcjn6YnX CSmwY8DRIehjenIqLUVK/wavs+T4WJDfDzb+74htUXKaQnh0tsB0LQafsXtC2na6eMnn l2kqEabrPghKvTquuEYf8D+9TtYAJDTN38Axd2HGdHKIOypdyzt5UYLoIk4RfTF3boJT Ekahku0oJ6I4TTgru5ERlv7JotQ/jUQW8cpQA3t5VHUG4qMqgndE/xvme7BwS/09k6ln GLRQ== X-Forwarded-Encrypted: i=1; AHgh+RriUWY2h+zggYk50z2/rvVXylw3YLe6iVt9d6jBOZsWBj8zT7CG4aDcNjK7vzz1KT8PBwHCBz19LFxY4ao=@vger.kernel.org X-Gm-Message-State: AFuF++nzLs35iwKStzq9kTXL/eZvoAd5+xOF/EbQKX6wEoimftUoTZ6y K6z7pMYK6O6u6OuoNgF7VAV/H/VSsKf8a65HhPk0QeasSWRYTvOv2TH59Gen8rbv4ufwGMkNFzI CO/V+a/ItIxWnrzFj8f/yv3oOD2wKWBrVdCBpt6rL4sWgSpMHhCLNPxnb/kPJT1/wNeY= X-Gm-Gg: AR+sD11uhghuBLEL5xaoOykGK+RnqQUxO996kbANQNQfw63GtCBdQ8TtSDPIUNUe4Ki MOijxeSTlCBJ2VqapDXDEVEVG9kDacDDWxfCXB66IsxiegMuRczMPBtCxqfvWmpfLWpH4yS06dH csaTNVjxdKo/eEZWsaKmHtMhs7D0T2w6WfeStMBYKTwVvw0wLdmfJNw+mcDWLelStIM8zCU14ac G8DfKyu+9I5qb9hvGilrSJ/BKQMz0wopDrd/oRtC24GUzHsFWlY2ggVqM6r0D+5FMRWQCeyhiNB evXKO0vcPswpnMfmb0yEkVfPGSUhFAdOMWlV5K3QX+LdUlvxGSacy38OH6raVtTqoipokmsNG+P zjQBVLzUTfbp1s1BukqKJBTLBDZHjvxv7DdIt+2gv1uU= X-Received: by 2002:a17:90a:d44c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-3966d366aa3mr7354671a91.3.1787712910998; 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: linux-kernel@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-ORIG-GUID: UYNwIVhd0JUPCOt5tJ00VWR0vyOTey9y X-Proofpoint-Spam-Info: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfX6RfVmc+LCUDd GnqQ4mO35gy1EAXpgozBs4GIJ49mo0itnMJ2vyVTbYvxlMqwT7pRN3jfEvqpC2ZZW/X0U2BG79n oHiD/yUiiiMwdCSQrX0x100o5hz2hvI= X-Authority-Analysis: v=2.4 cv=TZGmcxQh c=1 sm=1 tr=0 ts=6a8e558f cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=szNJ_9HOGHvmntdxT5MA:9 a=CjuIK1q_8ugA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-GUID: UYNwIVhd0JUPCOt5tJ00VWR0vyOTey9y X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI2MDAyMiBTYWx0ZWRfX1QmIf1iYdT3N Rvs4I5RiZNOV2eFUOtMWmoQZKKxmrJkH+ghmKWy5C/4eqsDmnSoAzd31c6zTPdncKNCYT0h34Ev 29E5a3yzkMoX33RuwUQFsiN/ysIbTqowkwBN/Cl4N3LgD1M9/+qG1rzrp6P+Jbb4nPlBWLeL2JV Sjel1NWS9Ard/48C6VBfsqogbjfDbYI0eS8yhAmBRldClEyLzfbSiSD35Bs0CjRh4ybkJHG1Zsl 072uOex+MxyQ8AysA6R4nTK43kDZ2dU5Kaz9v9QhCJW6Ev3ffWA6P9TvZ6a+w05q1aIn4PsNkk/ cgyfJg3KZazFklmA4/lT3glacw8014E5nO/ZJBtwkYyRKCBL2GN08uScKCACGP5N/N1vLe0xHTH RqpMQ+PsYtB8oOwJPUd5l7osgh3B0Kj9pHhfHQ3PxlKYTPErcw5qBhZ9ubV1dzQphoAN3gTrMX0 xdV6zHU0I14EsChiS/g== 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 impostorscore=0 clxscore=1015 spamscore=0 bulkscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 phishscore=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