From nobody Mon Feb 9 08:33:07 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 522DE221577 for ; Tue, 9 Dec 2025 07:38:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765265888; cv=none; b=m6bjWf+EvDLgsZSxcR9/OgSDGwTekfeMkac6ltbZ5FuTAeOjm+ZKfMKitenpYbrbLTnOujo/m+hDsPS0Wv1AHYk5q6eBON3q+4nXGIFZ0F+MIoW43boR7JVSs2HeDIljTvGIT/+BCV4RkAAPoi2lG/kx6sVwy+utRo3h04/+Iv4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765265888; c=relaxed/simple; bh=aZzBbWkld4G2cT4dltZARZRs1vIaQGWRScmLFMldpQM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s/mCjN4LNvmAR7EkINE3adONh8GW51Ekh1IG3TPLV7z1p/BCotOMsdMvkEse6adqeANP/74AckFTvxGnq5Ye5NjMyDXNl/bquHC3WSbh/XWpIWcoMrPhmsTu2miAxH56aoJwLtdhuMbzx5v3MMJarMZygm7fCRMKZuS4e4g4Mb8= 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=qEQLlYmZ; arc=none smtp.client-ip=209.85.128.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qEQLlYmZ" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4777771ed1aso43509705e9.2 for ; Mon, 08 Dec 2025 23:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1765265885; x=1765870685; 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=wBlOKsMyKLKMjIBkChI+DfAAnAfcEW4aowa7RJXWT8o=; b=qEQLlYmZV7Fh7OUyX0QzaRqy3lRZ+rvid2K7lzrzcH6vljp05L8N1Vj6qBXSm+bfYk DUutQhhh3EmPUZ/8U4ujXhkpJw4i2VAMcVEqNVCPLhAI1xJY6SqfZyV3IYRYEZ9AUplk lQSZ/s6LG5b8PteUBU29Onal41SYSeLqewCOnlJSvV/k6gaYrTNGpbc6ZfxnW4KyCx7b ph+O4kZ7PBCPzCGllg7ALG46EgaixyVG3Yq/uB3VCCesAJN6F1nZ4nRFALp4H2uCW5kW KehxHoS812bFHTcFaO/P8m7pkYMuHZ1tzRkkkEvpIL0gUfk3TmE06I4AW3/fQPop2g7l wAAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765265885; x=1765870685; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=wBlOKsMyKLKMjIBkChI+DfAAnAfcEW4aowa7RJXWT8o=; b=fU5YwIOHETu1DtHqFnrjj2NsEYdRhEntvA2F+eWnu9votx2/Br23ui4kE986hiMa4m rYnbYdoqeBXM7kLYAVPJuVWuL2I7HsqqIGcm3n5KF4+ePKXLahE9VwORU7wxmBuE2xNn VWLABbGLw2v+E2JNbsei03hEOM51nVwD3jhRhjAIUHLmiYgIQ48LVlkD9t+NFgZJj44E /raScKipFApOAVuvD6K1FMBA//hdo+WpY5FgFINiUi1y22XAswXkRF8R2MVbxSloS+0K FT7i/VNLTowNLoE22YrGD+cfcnIhv758zrCftiAvznibCQ4ZJc7KUEWxHGwNUMM8rplA Bl8g== X-Forwarded-Encrypted: i=1; AJvYcCXWJJl86vwXyvbFBKL6+hoZudBCr4vKeWuyyf1kRNijXdguslBr5LHcf832e7qNMh5F8Oqg4otuq34V+LA=@vger.kernel.org X-Gm-Message-State: AOJu0YyRlKNu8xm1JzoXUmUbRtEdOMvRwpBYWRlmKRlj3H2yPBiIpETv UVhsDSXfwPzmbakgkbBXj094GIznV65smW0dgKvwkAfhSNFQySHyb1dXCycL8jTQu2w= X-Gm-Gg: ASbGnct8Ya3IF7h+4KNK9S8FOMBb01i7uT+EpF05T/k4T7kV/X1UxMYLATx+io/zbZq xlGTo9a5UlfNdOTdR0f2kRtKUakCnEQrJFLRzEYByEY4XFUrpo4E0TdDiwrF6dqLaWet1CaB/vq IL707KcN3RHaztinfknOGieWMzTXWT8eI6oqsTvfanxu66Wm1Lzs4lSrYM0VxnOWPh331goY/QX lkbagzd0EBo6tMyfd/PnDlv5JZFo8FL6QmTDc3OWcN3ahsIJwh3OVjS0jqIAdFyK3J79yQZUCo/ +xCOHrkjOwSAWTZ3zNE+t1WDyNFGeAmLoTBqcaH0DNbALpRBRypJjlVpHfmWuIC5PanYtgNnqgw cIcXaucqIOR4HA4DkKLGoOETriViIRcJx5UG4R6tt5IlNLEzVHt3CWoKYpy/oxpXEs5ZyYZZrPs xOZ81uZsLzEn0cnoafBQ== X-Google-Smtp-Source: AGHT+IG2QP0iyZKZ/0D1Z+8J8YOFjmR/oXW6oNXJTuzHgJkdpJDmf2fOHcXW6cTSxI/lnpV/lRZPhw== X-Received: by 2002:a05:600c:8b68:b0:479:2f95:5179 with SMTP id 5b1f17b1804b1-47939dff070mr110602915e9.15.1765265884662; Mon, 08 Dec 2025 23:38:04 -0800 (PST) Received: from orion.home ([2a02:c7c:5e34:8000:c69d:7dc4:d0c1:9de5]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a7d707702sm27851935e9.9.2025.12.08.23.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Dec 2025 23:38:04 -0800 (PST) From: Alexey Klimov Date: Tue, 09 Dec 2025 07:37:59 +0000 Subject: [PATCH RFT v3 1/2] arm64: dts: qcom: sm8750: add memory node for adsp fastrpc 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251209-sm8750-fastrpc-adsp-v3-1-ccfff49a8af9@linaro.org> References: <20251209-sm8750-fastrpc-adsp-v3-0-ccfff49a8af9@linaro.org> In-Reply-To: <20251209-sm8750-fastrpc-adsp-v3-0-ccfff49a8af9@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Ekansh Gupta , Alexey Klimov X-Mailer: b4 0.14.2 Add optional memory heap node that can be used for ADSP fastrpc. Cc: Ekansh Gupta Cc: Srinivas Kandagatla Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qco= m/sm8750.dtsi index 3f0b57f428bbb388521c27d9ae96bbef3d62b2e2..be89c65163bf0480100c09c883b= 68d03455c1870 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -524,6 +524,14 @@ llcc_lpi_mem: llcc-lpi@ff800000 { reg =3D <0x0 0xff800000 0x0 0x800000>; no-map; }; + + adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap { + compatible =3D "shared-dma-pool"; + alloc-ranges =3D <0x0 0x00000000 0x0 0xffffffff>; + alignment =3D <0x0 0x400000>; + size =3D <0x0 0xc00000>; + reusable; + }; }; =20 smp2p-adsp { --=20 2.47.3 From nobody Mon Feb 9 08:33:07 2026 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 5A059226D02 for ; Tue, 9 Dec 2025 07:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765265889; cv=none; b=cl12PSC10vjglETIwYOeVFTwLoXhNblSNwaQI1kfGo1t8yaLAA0vrDs2Os9csxXgJmAno/mi4yzmjHdZ6xT0vJNemaOtGVAQ/IWX3+V25VbBjpD3LmaISkPgq7MiiSH9R4zAfwG8YzWd/T8b45CPEi1DlvfR5YAnUOiF3WqINcI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765265889; c=relaxed/simple; bh=5FWnBXgBAAFC2ePZdJTm6XZI7J4x7B4/eMd/mKz3FbI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L1tRbHHoLqObgWf1/+oDwnHk8aEhO1C3l3p2VQFui45B0IasPIvFz+uR4Amjeixj2mVDZH6EIv9A/nucTG5mjbzHDTu3cm0aWa2XOmAwEW0FzpuNsD4UrouuDXhZsKjWpCUp4a+uIw2b+Nryg+MUTpkzZEcnlfCjfNR3AfomXx8= 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=tPfrjgpN; arc=none smtp.client-ip=209.85.128.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tPfrjgpN" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-477770019e4so55929485e9.3 for ; Mon, 08 Dec 2025 23:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1765265885; x=1765870685; 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=xq55UvTaHMmJFp6V55KmSaDw+pSQzH+YqvUppFex2wQ=; b=tPfrjgpNjguKFAdaCDgQG5zSrQITbu6ZdzqFUoEAoqa+rfn826IthG2dlMwMAOyaiY mn94pmjvQcYdGVE+OFNoBzWJ4mGxgoxPZQ3DKVmrX12zy73X1YPzfpPK4G1CKs4vOLyh DR5W4Uc8bOXgjdGP3tHmnwEny7Zv7o8bAdN9oIOt7IbUlmXwDgDti2Vo8wtYgPVsf36Q GLo6el7gw5tuQChdxJIqKH8pgRgn+DOkvACNf+ejhsBpJW2GXr0bO7c3eNcstDwxC+bo gwZVt2sztulUa5q/By9iCJLB4xkAC2eEcvozr60rJxjYHcpHqJ5oG3Kg9grifCCvnsiC eYNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765265885; x=1765870685; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=xq55UvTaHMmJFp6V55KmSaDw+pSQzH+YqvUppFex2wQ=; b=dFxw+bLhHC1FK/D2064yuQJehwkurmqW3CfDP+NG4nAhK/isn6JZZOWX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eg+BiyDiUvjjoJNVRT7AvNIF69rAbVtyYg== X-Received: by 2002:a05:600c:1991:b0:477:9e8f:dae8 with SMTP id 5b1f17b1804b1-47939c8bb40mr119687785e9.0.1765265885579; Mon, 08 Dec 2025 23:38:05 -0800 (PST) Received: from orion.home ([2a02:c7c:5e34:8000:c69d:7dc4:d0c1:9de5]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a7d707702sm27851935e9.9.2025.12.08.23.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Dec 2025 23:38:05 -0800 (PST) From: Alexey Klimov Date: Tue, 09 Dec 2025 07:38:00 +0000 Subject: [PATCH RFT v3 2/2] arm64: dts: qcom: sm8750: add ADSP fastrpc-compute-cb nodes 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251209-sm8750-fastrpc-adsp-v3-2-ccfff49a8af9@linaro.org> References: <20251209-sm8750-fastrpc-adsp-v3-0-ccfff49a8af9@linaro.org> In-Reply-To: <20251209-sm8750-fastrpc-adsp-v3-0-ccfff49a8af9@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Ekansh Gupta , Alexey Klimov X-Mailer: b4 0.14.2 Add ADSP fastrpc nodes for sm8750 SoC. Cc: Ekansh Gupta Cc: Srinivas Kandagatla Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 61 ++++++++++++++++++++++++++++++++= ++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qco= m/sm8750.dtsi index be89c65163bf0480100c09c883b68d03455c1870..b45c627c77a6194cf075a39707e= a82bde4808e81 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -2243,6 +2244,66 @@ q6prmcc: clock-controller { }; }; }; + + fastrpc { + compatible =3D "qcom,fastrpc"; + qcom,glink-channels =3D "fastrpcglink-apps-dsp"; + label =3D "adsp"; + memory-region =3D <&adsp_rpc_remote_heap_mem>; + qcom,vmids =3D ; + #address-cells =3D <1>; + #size-cells =3D <0>; + + compute-cb@3 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <3>; + iommus =3D <&apps_smmu 0x1003 0x80>, + <&apps_smmu 0x1043 0x20>; + dma-coherent; + }; + + compute-cb@4 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <4>; + iommus =3D <&apps_smmu 0x1004 0x80>, + <&apps_smmu 0x1044 0x20>; + dma-coherent; + }; + + compute-cb@5 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <5>; + iommus =3D <&apps_smmu 0x1005 0x80>, + <&apps_smmu 0x1045 0x20>; + dma-coherent; + }; + + compute-cb@6 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <6>; + iommus =3D <&apps_smmu 0x1006 0x80>, + <&apps_smmu 0x1046 0x20>; + dma-coherent; + }; + + compute-cb@7 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <7>; + iommus =3D <&apps_smmu 0x1007 0x40>, + <&apps_smmu 0x1067 0x0>, + <&apps_smmu 0x1087 0x0>; + dma-coherent; + }; + + compute-cb@8 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <8>; + iommus =3D <&apps_smmu 0x1008 0x80>, + <&apps_smmu 0x1048 0x20>; + dma-coherent; + }; + }; }; }; =20 --=20 2.47.3