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 0395443635D for ; Mon, 17 Aug 2026 13:20:01 +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=1786972804; cv=none; b=YKQsZC2hwZZ6qHO5EyC37quflmx8KX3RGUZdQlJ1hY1zMHtU+1IYQR4NPDMRGErY2hbFkfvK+PHYOOl/jUm3v+0IXpyg0f/t/zcZNr5eltqJmcwpn0J6aridghOaqPRzDQT/GsZwwG/fxcWv4u4Ydd1GWjJ15+a9aH8nzu3MC8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786972804; c=relaxed/simple; bh=6S7gvhguumTs8x/gC89zSwjg5FXbbDoNLA6mopg4Nek=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QQ6MDnG6tJTUMnf3Ndld44qq3RBzRXeeLxsDByYSXAJ25sGgnRue54/nRBGqOJN6kXbcH4Bx97fcY9l5Fo3Id8kgJjUQ6B+rWQSsTbXu2DHKgg1HWhg4v+O4SUBWTz6H0u0EsDH2Sna5OJQRhsYrFPJr9w08PbZVss1U55IbtXk= 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=fk206xg2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=SIZb0U31; 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="fk206xg2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="SIZb0U31" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67HD61QB2329828 for ; Mon, 17 Aug 2026 13:20:00 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= UtWut++ujrrvYUUkl/6uiLVpbexJuSkb21OzwMvryn4=; b=fk206xg2+mih/mu2 nfSZKqgKrGv+ue9sovhRqpxte4A2+FEwwQVgX6PFIklgo7YGUIVbXXROpJlKlSxG z6zRLMe5KLiX8X1tTNLK3KQEr+1/kTQEuWAzmIciNj0U0jz4lq/JyJ6B9RQCYrGB F9zm+SiBgt9OE+yCMS+yUqqRXTwojEiLCDEh7g5EVHtonZ2JBW3ffDzyrwLxzYpo AP+rFcEoIC7LHRpphDZuhHemjjSSYmbMQJQ65h/QSnBhe1O6A9b8YBS48P91j409 DGWjdVYLvFE2K2lgsJ/THOtMN5iGWwTpEl07H04vPc8xqxE6CdX+h37X78adA37Q dFSJTw== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g3vghssn5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 17 Aug 2026 13:20:00 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-51e9d892f0dso9980371cf.2 for ; Mon, 17 Aug 2026 06:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1786972800; x=1787577600; 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=UtWut++ujrrvYUUkl/6uiLVpbexJuSkb21OzwMvryn4=; b=SIZb0U31NlgYIsfFIbSR6VypZxxWqwIhWjdX7AO6LbsmF6UCBTvx+5lM1POr7xOcFW /Uf/TVMkaVIoNinq2r+amZGkuF83qE8d1Ox2ghxknQ4NufC3w2xsrdW5O7y+tkGSGDQf BkjGU4psRQ4+Uhr8WuzDChGSZ8wAWfIen/+440gWfg57RTHKJ3SDQNLmAQ0b4BQ+Zl4p TK/5hWa80W7YwogDfpM0t+ldoFPfVB8DVP6BAjJZMxLXX3T9y1CJWDmb36ZRgTXhjePe 4DvgmqSA0hE3wi+oDkTMi/qA+hFNaOtjPyHzPV+xbKnjB/789Bq8xmuAg6OXY1X/yf8T PmQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786972800; x=1787577600; 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=UtWut++ujrrvYUUkl/6uiLVpbexJuSkb21OzwMvryn4=; b=AjP/fm6MlEjiwP88FSg4yvhGncGd0cYSMFBAxi5lxxbnqfUmZtHGqMZvojyJ2FmRpN 3fJWx8mTcw5JPyEqq7rpA3luJBcQNd7OOJgXwF5S3cvTrrz9t4sffqysGiCHD9zwcJqv /rx5VoXFvo+AzHFd4vTRYeZWHwaNaS13QmM8X88yBBC7NgI4Apb1QUvEEdA2KbWMqYd5 Xi6ZPHSXo+SEXoL3ALV/WbiPCfzeSrTY7rG3jutpxazRhtF4uefXOHipNUaeAxnwgAuS q75Gt2aXNzWatl+hPy5kkX8xR7egr1ieoiqgZ+LlM+XnXnytLYDo7SCIsgcqk+hDN8ms DAjg== X-Forwarded-Encrypted: i=1; AHgh+RrQ79JyuDJrmdTkfkPBC9Tt2pkh9f0ZTe3qZ0XWeyMwH91TuOF6929O5qGI9VsR6g5yzSk0rSVoU407@vger.kernel.org X-Gm-Message-State: AOJu0Ywj/jp0n1QSaPq8PhYj0rwri//cbvuftMv2KAa+ap41Zl5oILIg m8vuLo2hvgrpDJosufHhpTqLLy/FoWkFiTlOBJrl/Etf+l0PPiMk102cTKdhHjZcxk6USOiTxnJ TBHPTSTy8wDotEec9LWN1FOYkBV4gbwjulf9LM46oio7uPs36AQWtV5ZhpJxEv0NDqeUZP0i/ X-Gm-Gg: AR+sD116DusbLm1P4wtBpMpalF99oRszODE0fNbLfd8fYcpaA5E0BeNPg1hi3p4WHtd kSwDxePt7rdB0j/yWudSxQGC+k4ilMC0BOG2wHut5gOjWGLkGFyjhjyIz08pDCpHeBAkC0z5h/b yetM/FIhqJky+DECa/jDzG/HDOcpuGhjTnoCYoX+0YVQ+RxPs2tssVULiHIRSria/5c3liRpQ05 SPATRGyGRETXb7mUvZYH7YNLP79e7SyJ2TlOWhlDd9zBON58l1MxgEofrEgkvSoIbEkTCqGtzRI 2fDUBj5RazwGDMuIvZ53X8zv9YMDft1G1C4alEgv7KlsERtob7pAMByjNCUqPmWrMtSXF0Igkk2 6opngZI52a5LjpYREd/7JBnEi X-Received: by 2002:a05:622a:1787:b0:51a:8079:795e with SMTP id d75a77b69052e-52d854d318amr181058081cf.4.1786972799971; Mon, 17 Aug 2026 06:19:59 -0700 (PDT) X-Received: by 2002:a05:622a:1787:b0:51a:8079:795e with SMTP id d75a77b69052e-52d854d318amr181057721cf.4.1786972799522; Mon, 17 Aug 2026 06:19:59 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c217fea2ce8sm56922266b.17.2026.08.17.06.19.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Aug 2026 06:19:58 -0700 (PDT) Message-ID: <81b85f8f-e4d4-4d19-aa47-97739eac030b@oss.qualcomm.com> Date: Mon, 17 Aug 2026 15:19:56 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/8] remoteproc: qcom: Support the Nord HPASS ADSP cluster To: Shawn Guo , Bjorn Andersson Cc: 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 References: <20260815132541.1575121-1-shengchao.guo@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260815132541.1575121-1-shengchao.guo@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=P9gKQCAu c=1 sm=1 tr=0 ts=6a830a80 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=8HC7wV32qgYdxAFQJeIA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODE3MDEwMSBTYWx0ZWRfXyGRKGD2foGnM JtF7rD/sS6OFI6sQQxQG/L9yg/3Ylvvz5DA+BldhuGjr8VHNp+mX4uEVYURL44GT1Ud2zUTx+t1 paOTRoG+aLtrN46nNl6ZAMfLZl77++w= X-Proofpoint-ORIG-GUID: Hwbsy_skTtcBIY5ZTp9yY23h0MxudQrJ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE3MDEwMSBTYWx0ZWRfXwa04ZrJLDXAL HsIw4oAkwqPNB5oFQ5KVFKyFjpjcwvDg8iSvx3RjlmQtbLEh1gN9tVDz3dx2JJ9wsUjBPm7RjBZ CUXxNaBCMcJbJV8aNxFu9nFX3OQZ7i9vlqVlVEN0GzQ8QREW4y6ehCFp7Ww7CcvC7VVofr5opAe peNfjysSJFrxb2Lxl2xyz5SW2W+Wn5P1svybfKKB48/v2IWA3TUATY3jg0nxAh2+g5MHXIm7O4i 6SOuq8W3HyEfh6SZO7FX/1q7+X/zKUpAl9ZznuJmDy3WuhhPJgfR5/2cCM960Wa1meQAbOIaoAK ZroHa8vzxty4y3FZBLiLnmcfkbXZCql0a8oDfiC5CxhqKQ1VzJ1q9f2gt82hszr23goDo9Ewnqm sgi6PwKrHJO4xveI++xecr17H8ZLMtD1U9vQ07VByFqY5sf9sixRDUeaVc0TdAY15tdj0tPgJgP LwgNNyAzJzRBjawMb0A== X-Proofpoint-GUID: Hwbsy_skTtcBIY5ZTp9yY23h0MxudQrJ 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-17_01,2026-08-12_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608170101 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 :/ Are we perhaps missing something to let the uncrashed DSPs keep running? Konrad