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 A129F4334CC for ; Mon, 17 Aug 2026 13:20:02 +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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67HD5scR2008420 for ; Mon, 17 Aug 2026 13:20:01 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-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g3xw8h2dt-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-f198.google.com with SMTP id d75a77b69052e-51bfd1772d8so5191051cf.1 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=oqfKFzkm25noN6U+VNUPi5P+VU/Wuh3LSpfigguXhv2UMaeod/tOTGcFepdqYPRMnP 3C+28Nx1FQSHEovDDiHQlTS9y5kEoDtMatFj3WAPQ1aGzMqujh8khAU9YfESGxJteTZX zieAz5Kf92lnyidFDMRmJu7oR0A+HovOCBYq+IjDQrBYpkGGbrqwBqxUszcAaNycmYIP xlKZN8Yinz7mn3QH3H33VpPN38FcF822KxEJxQSxULk6ou1UTZZU8I0yuSGJBa5cavzV wETa5N1b34a7mYBCY6jkEqQluTLQ5GD3AHbebdh0hgA9Pn1k+pItop9Zad14TQuk/FQ0 u6IA== X-Forwarded-Encrypted: i=1; AHgh+RrHfz/AIYDFWgSVKsDlSCZIODCrczTeUMBpkeyUPG23YDskn7lhEKTjhM14Rb8mKR5/on1slctg2l3Oerk=@vger.kernel.org X-Gm-Message-State: AOJu0YyCh0R3uIR5ST6tzSWaxPJsUrasDvu83vIbw2xOJKarxkKpdtuR e2dLz28q92EORSHq9G7HJd6TZFXw5O2ucMqYqsvkIdc9YILvQGVa7xZYt0R7g2tNG1AM/ddlpBs 2NHvDQqOlyMhEQGkZq3/fCBrwNbJfPkxR6xbafClK38X8xSQcT0SrgQa/Jz112lEMyrs= X-Gm-Gg: AR+sD10G+WJGo8yGqclZKWQTF3F32/pVZ5uMguzM/e04eywNqrvTLMQxEV9NSjOSiVz w8V3w8zMXkOpjl8sSIg9FSfiMuT9B4hQabFVrPw8gzA9emN8btrLPwgNNMfBcgGLUHG/ttUqU7F sHY6mHS9lB1gY37bgMKTKgWoKWjuKgAtc5prD/ImzjdX4JO3/txLOiXWwIi+wq7t8Z0dJpGwguk C3SoC/7nbBCfQti1t6H0DZ9hZXE93SbOn/JZ05D3o2Em4hx9F4T0j7hs26oVlwPI2rLQ0/qlKr8 NVYKnz3IyrIdbkeuAXbgmpiqP68YWDQjkdQ9wCk0Wx2/PcPII1eB/eNjQs0BSx53YJB2tWHWY1u h5oaBvaUk9amypGld1qQZFghW X-Received: by 2002:a05:622a:1787:b0:51a:8079:795e with SMTP id d75a77b69052e-52d854d318amr181058211cf.4.1786972799994; 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: linux-kernel@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-Proofpoint-GUID: joOPv334goYi6DI5jDoh5QRXfYctEAuX X-Proofpoint-Spam-Info: AW1haW4tMjYwODE3MDEwMSBTYWx0ZWRfX/1nBz/ffrMsn ZFP1Rr9ahHWeDSC+6woYXxsNLU3sAmywJUAzwh22dH9WfEzTaL7mFM0JnNgB9cHPb9exAMmEUJJ dSeDHTHbT6gRDceL8xXBH2x/4U90g18= X-Authority-Analysis: v=2.4 cv=SuCgLvO0 c=1 sm=1 tr=0 ts=6a830a80 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=8HC7wV32qgYdxAFQJeIA:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-ORIG-GUID: joOPv334goYi6DI5jDoh5QRXfYctEAuX X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE3MDEwMSBTYWx0ZWRfX1DNQHvScvHiC soFyr85PJoZiO03CmtamCdQ06jC7A2wwz0fpIgbPimvJjwKne7DKR4DyIqpsiIJT7ydEcDsGuxv AvnwscxSNYC+sXkMw28MlbyAMhHHbjb2d9E+HzYAOlU8+pU5K7Yb0iY/cl1ottEaNHTHbRivref bgfSZkarmsvK2Wdn2hs/gNaOEUtNn4NJUM7193HUOksJxzmlUZ7U/BryzppQnalzV3v6BxvHYQE vZutwVnF1VUoJhiDMOqUoD0aMC5KFYOKHr6cvsoDRxdnP1p2ZRAT+mek/38GfvVBqacW0HddrbS VNm5DaDNoJTiA8q09wNd8hQopGG+bxmUfiiGwp+IDcL5PeCen1DWVhtmVdkzjWh3G+uPyS5JmPo nLRaEVCOe43yHAnFNaXi5UkWzM0GaH42eeNX7xs9jfAjjkHVN2MzZUoXhkcjBMqZ/y+a4mBFMcS TefLLz7KZyritzWSlUA== 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 malwarescore=0 spamscore=0 priorityscore=1501 phishscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 bulkscore=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