From patchwork Tue Feb 27 12:53:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 207213 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2672517dyb; Tue, 27 Feb 2024 04:53:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRNG3MAhWXKRaf28Sp31r60VJPIVgd6DLWPzr7b4/iOpMUgm0GVvGyPvwNLoC5+jqytHjMsAj14hUaag9mnQ9H5g7ViA== X-Google-Smtp-Source: AGHT+IEG/lg4pz5A0Q/wzsNuud2yL039EBkBkXYfKd1Ug5nsns2C361TMrkzIdHwpYJPxdDaVvP3 X-Received: by 2002:a81:6c44:0:b0:607:8c3e:1605 with SMTP id h65-20020a816c44000000b006078c3e1605mr2085509ywc.10.1709038431742; Tue, 27 Feb 2024 04:53:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709038431; cv=pass; d=google.com; s=arc-20160816; b=Nym7TxTk9sgFVR+NhrqnkUV7BlQdq9fSiNXssGAeByMbpweA2Xh0zKqsybvHf78KRz 5n0HBeAk8ms0udyJSS30N2ie3cw+4l9pWVyT90qXB0RCrn6o/Cb+i4Z4Qalv5TTjgAKm 65CNWa7MZg/ewTUgy/D/BlWN/+Np7Av0q/uocifypjqSGi9oc80Gn9UpqwBL3kiPQq/f 7cLopEVnf3jzF4jUMudJo2HaeAspQrIsDALUkCqAcSNv0Dh1y6QrLP8agLjC4/BN3cRD F2TfUHJs9NZazSSS3JT2pRsetdelx3kWFB+1A1tLcpasW4gyBIsLtWGM6xgxZOcutKut FTeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=7CIH7Bwb9FCvMBvdoeWa0vbfj42UiLRlo71hcmbEJIs=; fh=ov5QsyDXV9DfAk0jew3xqz025j/9US1bB2/TdV7hurg=; b=Dk328+/22PeOYYqLYb5DGiD/R9auaq+W6JiOyw1vFbfEJo06l2jkQtMcPL/5miVUaO intTYXXX/zXE3x4rtjsDfijOpUvuyYgKpSoTToRcwAc4zic8GdVuabTN5qA3hw98euaK 114Q89cwXhtduVLW4S2i5dIVynCTS8dxtqvto0/iTFW1FUqzICDLIl9kQ55NGKw6xBD2 NQp+YT8+M1tfcVTMdywAjnKpEsAcuiMtYgyZTrOSyY2ekLV9zQCwNilmDIDHcIA8NeJw uzxhInfFTlQCKX9WyLD0hHtISxUTfxAYHP2aCm4zd8GUOZ0LhZOAP62N5ETJJ3O6QPvD ajKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVsMFmtq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-83261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id js25-20020a05622a809900b0042d918da42dsi7331098qtb.37.2024.02.27.04.53.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:53:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVsMFmtq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-83261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8663A1C24314 for ; Tue, 27 Feb 2024 12:53:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BB8113AA20; Tue, 27 Feb 2024 12:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CVsMFmtq" Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F396A13A886 for ; Tue, 27 Feb 2024 12:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709038405; cv=none; b=g15CUDd2Ytb7eDLsVewdZfufo8N7LwAuGeaW8iRxqedRWxsuHcnc1OhbJ/EUzBSv6KFKzgzdaIbnJcCuyejXaZOuzzU1XEZvnprlMaRU6J8nJt/ULwiY/sbql+HYpog5wz3MGsRIK7HX31v424QFccMofvVwpveM5VVjlxjgIYw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709038405; c=relaxed/simple; bh=YlfJwnS0Z4WBUl1lUKuKwvtd56ds2Yjysw3v7W3DaNY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gS1ZaZ79J3kyQc9tfyRJIkmU2PYk6aAW4YDyPHKadUCFA9ZRcDf0ZjqOTKQ70+KuQ1IqZkVwHHRQstz6PvO+SwihS/KdcLIOlhECumRHBNjosxA1VmYc39VqXc+O+Xsz7bQLa+GiPhZag1bZN8p+SLn/tHybe7vVz5DjyXIEfqA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CVsMFmtq; arc=none smtp.client-ip=209.85.166.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-364f791a428so14105915ab.3 for ; Tue, 27 Feb 2024 04:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709038403; x=1709643203; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7CIH7Bwb9FCvMBvdoeWa0vbfj42UiLRlo71hcmbEJIs=; b=CVsMFmtqDxmp6LqLARdz7szNr1W4HF/b/M4kbOnFxDEnf6XHmI6ej5QA9mUFymUGeJ fd1Eufx+7/7NoxslCj+361rfH82HuZnxOMpobdwx7Oiy35Z11fMLovwZmIxkeQxaOPKy m0HuTDW+gY/8QMtbCOuDbAkZXU5MQGCTJgFRSGOm5wBzHb6mmDCo+jYILxe5kqvrcqQW Jfbrs1JDRXEXHJz+BXZOxqGuCMulb/V1M5TOvvhpOQPvKQphtgO+Ny0fYu+MyX3FmqqI 7qKOTX+lG0Wr3aUOC4alsCP077X32cNq5JRjIYkCYUqF7n1c76RZHZGfJi0oH+Gi+/e4 Hy+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709038403; x=1709643203; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7CIH7Bwb9FCvMBvdoeWa0vbfj42UiLRlo71hcmbEJIs=; b=fivFIGLQsP5WkIRE5uR0BTgJG3qdeZ7ktmcdJL02IjnAyXGBOtiLUZSD0p0us+x7G3 DjzU6VgwiTg1UbNaSmnvtl8qrssMcq1aYVL+iE4AhrDDB7g3YoMBYL8C0WMuilyjP+Bu ++PEOGSZWNcZL5aSC5aTk6W2J31zgDLRWtK2Jq7/tnTAgah2onrJMaagIwzsFH60ScmS 6fWa7Y3btFaiNCbixVbqw7/H8dxuOLAenSJzpm6jKohmPAqX5829D9Vb2kAOLFQM0PTQ qLuit3Q8U2VL42juyhMn37/oYOQp/J5mbDulwu0Wbz02GmnYntGVlg+/gWqLPF53j8qM QbXw== X-Forwarded-Encrypted: i=1; AJvYcCVKalaLDJaL5+asQyk79YRU3XCUZBedRFMsL3HN2dTw4uPW/u23+Go3FYGJYPkOCR7ABVchknCpvO6YjACyVNYSkw8Yb2pnTniv6Zub X-Gm-Message-State: AOJu0YwvlbRFDS5jC3+4jmaNNmFskiSJQae4SvQTxzOdmoZSJTaqA5jY OSIVsJVnB6HWAs1cEhWVg/9ChUDgauYkDJlDh7RXNfAcvwX+YJ/P/SF+Grxb4UM= X-Received: by 2002:a92:90e:0:b0:365:1785:88f6 with SMTP id y14-20020a92090e000000b00365178588f6mr11104305ilg.3.1709038402946; Tue, 27 Feb 2024 04:53:22 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id r7-20020aa78b87000000b006e48b04d8c0sm5841193pfd.64.2024.02.27.04.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:53:22 -0800 (PST) From: Neil Armstrong Date: Tue, 27 Feb 2024 13:53:04 +0100 Subject: [PATCH 1/3] arm64: dts: qcom: sm8450: add missing qcom,non-secure-domain property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240227-topic-sm8x50-upstream-fastrpc-non-secure-domain-v1-1-15c4c864310f@linaro.org> References: <20240227-topic-sm8x50-upstream-fastrpc-non-secure-domain-v1-0-15c4c864310f@linaro.org> In-Reply-To: <20240227-topic-sm8x50-upstream-fastrpc-non-secure-domain-v1-0-15c4c864310f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1293; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=YlfJwnS0Z4WBUl1lUKuKwvtd56ds2Yjysw3v7W3DaNY=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBl3ds1HbEd0tiGJBvTnwbYRXFVxVrkUyTlZZfp9QPn F/NGLu2JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZd3bNQAKCRB33NvayMhJ0WOtD/ 0d0NexXXCSIk664KIzR1AjJ7yoGh8BdxthEQRbY4+qi+/WFqMYOPNusacCw6PS4+iMRdzkCuAfslm3 AWMJd4VMmKTzv05A0Kk9ap4idDl/Vr38ZfDyqFok/vkw48Y1tog3bPSnUDKzuSnr89N4UVkK7/U99o Q7Ag/69/p/WtepgdDmCQQKnKmIj/0WEwRAgJNS0n55cRDqsGXgjyO2ZktVrBH6AFI2iTaJDbCld5Al riCe+yqK993UCSOBfqzeBmh47WEQVSs2hIvD53+xVR9sC9ANKXSyn6ViwWHl1TYHjmjh5mje/aXV1W v4r+JpASA0aF/bCv2Pilp8TX5z8MFLB6iFpotCCoj4TbXOhDGd7iIG1M+jepwJCQLlxl396GuKh+L2 cDWFDX83r2k1VBXyiaHsMibrr73aBz6cx4ZU4nqKs50WKPsVzg1VsDRSsHm2aWK/7npZeUhe37qSMZ H4eJGf2DFZt6RyIuKaFcRO35R0dMm1GWNedcghHydApNt0Zh+Ec7d0pcWL7rJ0tbXxnn1l0wvtU8EJ vZXp0KUfvRZh6kcsDFUo4vslRmAUu/tsOFMt7D3F7FaNi3isQuvkGlBWhMb7Ig+JpXF8v1IVAjmhvO R1/oCDaJqdADoIclZEhlifRi1XLzfeIGHkwkjkf9vUqmMrPu3lZNImyCyfGw== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792056682230929582 X-GMAIL-MSGID: 1792056682230929582 By default the DSP domains are non secure, add the missing qcom,non-secure-domain property to mark them as non-secure. Fixes: 91d70eb70867 ("arm64: dts: qcom: sm8450: add fastrpc nodes") Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index b86be34a912b..2a1eea75f79d 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2363,6 +2363,7 @@ fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "sdsp"; + qcom,non-secure-domain; #address-cells = <1>; #size-cells = <0>; @@ -2665,6 +2666,7 @@ fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "adsp"; + qcom,non-secure-domain; #address-cells = <1>; #size-cells = <0>; @@ -2731,6 +2733,7 @@ fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "cdsp"; + qcom,non-secure-domain; #address-cells = <1>; #size-cells = <0>;