From nobody Tue Jun 16 02:37:54 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 75D1833ADA0; Wed, 15 Apr 2026 09:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246039; cv=none; b=OLvIVUYWWgmke7nqbHEgI2JLCyA9NXylFYmCMcGPSIFEK8pw3UROvkF7B7Itn5S4/MVGZwSvcpz2kscrkozzzm2SxJR30A10/FwzOztyUVINSlVSgxCqJf+R1UvV5EwDjTM2JAB9ebWDR6G5yZaDGKpVZf4XZlCtrCiu4A/C6uo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246039; c=relaxed/simple; bh=/qD4V4y2YF8vpwM2TnbxwODWrQ3HXA6nwIwvS3BV0es=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Qh/+u+locPZ+yonDuyc/QPTmndaF5rxxf/jxgvA1J8YY9fR94WBwz3h6igtOtKgTQD/ZSqvKtjEmBFP5oIVhRWpZDsG+iLM4IK1fZWpwEZ3rWSeJjJY9mFU5IgsHridU5v3fmfO2Yz8np+vHjBC6jnj/WTQGJRkDt/+yMxQbxXA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=j/aToUR6; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=wshcEBcc; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="j/aToUR6"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="wshcEBcc" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246024; bh=cKh6WLhQ5ebcUnoQyws173s uSrlatUJVw0vKRHy+eyk=; b=j/aToUR6oM1V2Sx7pu6idx5NoMK+ybtCtzgVINkHioRgz0w4Mv RfUdj+A/NjcfMHaoCT6ci04+4uPk6YVEKLYItk9ZSLmaK+nQqQKen/NkCtGky6ZHAWaI2zjYElK 4lWpUjTcbnzaRpT9UsJiIHF+2qanIo/RBP0AKQsaTQGMMCiM2kDkSDQkfBSsVXxuIvJnWkIcXT7 uzUwJJz3vo2OvfoOpHCHacf4yNOU8YWqofctBu/G3GkFiTTofz9MGgQA80pqqueALVYq+BFay6v PlK42y0tZq3Mqjv/Ea0i5F81dR00OzmOGDTyIw1qZJaq6I8dbuKBPz2vjRCO5cR3z3A==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246024; bh=cKh6WLhQ5ebcUnoQyws173s uSrlatUJVw0vKRHy+eyk=; b=wshcEBccs83810wH786aMYR1H+kYU11eMhq1MVgrVqG/4UmmyI st4H2tLvidKEr4VDiDFF7kYarLsNlBy4tbCw==; From: Nickolay Goppen Date: Wed, 15 Apr 2026 12:40:23 +0300 Subject: [PATCH 1/4] arm64: dts: qcom: sdm660: set cdsp compute-cbs' regs properly 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: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-1-03b475b29554@mainlining.org> References: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.org> In-Reply-To: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.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, ~postmarketos/upstreaming@lists.sr.ht, Nickolay Goppen X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776246023; l=2249; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=/qD4V4y2YF8vpwM2TnbxwODWrQ3HXA6nwIwvS3BV0es=; b=fohAKPwVLy5Zb4WQ9pLiwZf6zIiYtNaiMeIlKoy70wXwDm4Dk5gZCmcfdvLNplDGUTx+dqMD0 wtl2y62HvBWBvcR17MKgryuAgP97IYLGtFeQyMCVcQlxapy6bWLc92A X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Changing FastRPC compute-cbs' reg values to matching iommu streams solves SMMU translation errors when trying to use FastRPC on CDSP so change FastRPC compute-cbs' reg values that way Signed-off-by: Nickolay Goppen Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm660.dtsi | 36 ++++++++++++++++++--------------= ---- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qco= m/sdm660.dtsi index 3fd6dd82a992..0fca9662c64a 100644 --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi @@ -350,57 +350,57 @@ fastrpc { #address-cells =3D <1>; #size-cells =3D <0>; =20 - compute-cb@5 { + compute-cb@3 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <5>; + reg =3D <3>; iommus =3D <&cdsp_smmu 3>; }; =20 - compute-cb@6 { + compute-cb@4 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <6>; + reg =3D <4>; iommus =3D <&cdsp_smmu 4>; }; =20 - compute-cb@7 { + compute-cb@5 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <7>; + reg =3D <5>; iommus =3D <&cdsp_smmu 5>; }; =20 - compute-cb@8 { + compute-cb@6 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <8>; + reg =3D <6>; iommus =3D <&cdsp_smmu 6>; }; =20 - compute-cb@9 { + compute-cb@7 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <9>; + reg =3D <7>; iommus =3D <&cdsp_smmu 7>; }; =20 - compute-cb@10 { + compute-cb@8 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <10>; + reg =3D <8>; iommus =3D <&cdsp_smmu 8>; }; =20 - compute-cb@11 { + compute-cb@9 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <11>; + reg =3D <9>; iommus =3D <&cdsp_smmu 9>; }; =20 - compute-cb@12 { + compute-cb@10 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <12>; + reg =3D <10>; iommus =3D <&cdsp_smmu 10>; }; =20 - compute-cb@13 { + compute-cb@11 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <13>; + reg =3D <11>; iommus =3D <&cdsp_smmu 11>; }; }; --=20 2.53.0 From nobody Tue Jun 16 02:37:54 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 8BAB01EB5E3; Wed, 15 Apr 2026 09:42:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246162; cv=none; b=Zmd5a+aDhUam7fos965EW+do4rBs7M5bEAzZ+jPI1No1TIrPUqFutYFNTacQoALrqP89eYHskAlSdC7r6G+yrtqbBwJFGJEiz5qSKxbbrbQMr72bMse5CCYZghsHiDjHEmblmHY/CQi5b5ILMBL48dPQ57e5HExY6pVxhUlbfKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246162; c=relaxed/simple; bh=4j2ZogsOOHoBtk/jE2BeQiV4/qH2Y3yTurZ7Yqx6V3M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HbIsuqaZrwOuAprHu3bC6LpNjz43Eu4bi55MejZ04mhd7IgcUx4EyCxoQvjZF3mJuCA6AagrvxXrS+9TI07MlrJOogq5wMSXmnEZ6cxQMIxM/KRKO4z4bMp9gBz7plypwhkOQpB1E9uO3WdYHiEB0zEtXjd2kdUOS/C24ygVqq8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=eWpgd0yd; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=A6NpIhYx; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="eWpgd0yd"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="A6NpIhYx" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246025; bh=ZGucYuZNovWXlK/4weCW01J gbMeF/xybjfNwv0uZ6rE=; b=eWpgd0ydqc1tU4OGDqW052/nZ6m4yOU82KzhkJukC2wuhZTA9P U0BLW1FV6tDmpxDBfLgFYdbcF2Q7QF/ADVG75C4iF1OWpWuW7Z7o2ycjXsMldvslkch0wH4Nz7r jQG22sMyRg7VrAu/66b5FCMrPUmaapN+kSmaCpfHyJUovutL1tvrs9XWkDc50XSTD2D2g44NdnC fLZ4p55o7Z3UDvEH6vqbOC7x3ld+vL+aDj2UzfIQ+xzQOYYDaeq1COKndIBOEptLG5Ru/1KNDM3 hhPEMsu3/C2B1SrtDGuB0Rh/LA8ShPAYu2qQKniVHgxXXjDCky94WIO5XzRU5Ja2eBQ==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246025; bh=ZGucYuZNovWXlK/4weCW01J gbMeF/xybjfNwv0uZ6rE=; b=A6NpIhYx2Nubcu1RuVJXIgbWCMgVffHXIhoLFYnizL9z2Cvj1V yTwylOJ53PWx64Kyz9/3VlQdLCn8HkvH+sDg==; From: Nickolay Goppen Date: Wed, 15 Apr 2026 12:40:24 +0300 Subject: [PATCH 2/4] arm64: dts: qcom: sdm630: set adsp compute-cbs' regs properly 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: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-2-03b475b29554@mainlining.org> References: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.org> In-Reply-To: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.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, ~postmarketos/upstreaming@lists.sr.ht, Nickolay Goppen X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776246023; l=1405; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=4j2ZogsOOHoBtk/jE2BeQiV4/qH2Y3yTurZ7Yqx6V3M=; b=kbSgN104+nmN+nLpHaUpxAiqHhpyc6SSBJnywA92i7VOied0g6RsuYJgPdjZCHuNY3zmOYXa0 BYSCw9W2ALhAcv/j0UyfZObR+7bCh5oQnIpsozljuArTxWqcue4kSfx X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Changing FastRPC compute-cbs' reg values to matching iommu streams solves SMMU translation errors when trying to use FastRPC on ADSP so change FastRPC compute-cbs' reg values that way Signed-off-by: Nickolay Goppen Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index bef3213165d6..4b47efdb57b2 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2459,27 +2459,27 @@ fastrpc { #address-cells =3D <1>; #size-cells =3D <0>; =20 - compute-cb@1 { + compute-cb@3 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <1>; + reg =3D <3>; iommus =3D <&lpass_smmu 3>; }; =20 - compute-cb@2 { + compute-cb@7 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <2>; + reg =3D <7>; iommus =3D <&lpass_smmu 7>; }; =20 - compute-cb@3 { + compute-cb@8 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <3>; + reg =3D <8>; iommus =3D <&lpass_smmu 8>; }; =20 - compute-cb@4 { + compute-cb@9 { compatible =3D "qcom,fastrpc-compute-cb"; - reg =3D <4>; + reg =3D <9>; iommus =3D <&lpass_smmu 9>; }; }; --=20 2.53.0 From nobody Tue Jun 16 02:37:54 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 A482F33C1B7; Wed, 15 Apr 2026 09:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246041; cv=none; b=OqE2hC84tRjmiE69xuDSKhaTmhTVAg5xpFcLoFMrtD9lAsCxN02SkAeXR3Zp/WM+x5HCXqUHzpDiTjwWc7wEIR949opYlgYzvWlc+9CkmCfxRh0DoJd2+42nw7l5l8944lbkdDJwguUpKwVg8AVeheOBYHWyx/elQmmgdUtCnqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246041; c=relaxed/simple; bh=xZ+8ndPkHpZPxjnqIqz7WNOISp1+GNT2KC/B8gL6l7I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K5UJ3oSg99Rr7d9KuTaQSDM0J6UdjbzzGQUQ1CFCOdAG8dfdYCIXRk85lOczlAfgNE3b3OevO2QO4YGVTfc+QGq22HA1l/x08LAButjrozkTZwijncQk97du0bjB8I7rJy97TL8wdFs78BvWYg/smCcsCMRB+oyp8uQ2X3takHw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=D1uK8XSp; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=1+mnxa+K; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="D1uK8XSp"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="1+mnxa+K" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246025; bh=BXYcB5Y4G/Y/a83AbXhX5R6 wD/Ds2q9K6BqBKVQVkcw=; b=D1uK8XSpDIcxsngr5/GaoC1XGTwB3VIWze/6BVYffFOMGlpNPg 0Q10/KFwFjj/f1G7RltwF8cU5YPa2G3fse1T2PgxPkAPCiIyFo+AYUTc+8pwG6KEcs4EZzggAEW cAVpFqBcm6Xdp98H/ms/UY/uOvnZY13OwbsiXFCYYeZXJvTuW0w40VaneJKjVjXSs2lTpNGMSvO /pzh/U6b3voq7SUeAeKAzcsAxRI9ZFJvk4QufiICGWS7r1DVPYsXxy/RBbF9cTpcE5x/rPLJafS qqsXSxVgOyy8wigOV/51leIiO/VT3QwDo690LvepG8BN7Z+gJBiM8eqjdZTquyYnung==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246025; bh=BXYcB5Y4G/Y/a83AbXhX5R6 wD/Ds2q9K6BqBKVQVkcw=; b=1+mnxa+K8UGqIynrviccosPu5Os0SDP33Z13J52ELxKloVRLFM BhJUnq5C7Xz0Yhy+3LtMTHqrYoD0D1Ns6sBA==; From: Nickolay Goppen Date: Wed, 15 Apr 2026 12:40:25 +0300 Subject: [PATCH 3/4] arm64: dts: qcom: sdm630: describe adsp_mem region properly 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: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-3-03b475b29554@mainlining.org> References: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.org> In-Reply-To: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.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, ~postmarketos/upstreaming@lists.sr.ht, Nickolay Goppen X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776246023; l=864; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=xZ+8ndPkHpZPxjnqIqz7WNOISp1+GNT2KC/B8gL6l7I=; b=hAYwcyWWU63IiYRLmLmNo6K0gbzJQQXBlgz2Bl1SW5atPd0fGXhseNAA7PRTvzCYzpPSdEQX6 6HE5iNPt7g/Af3Hi8kP12i5sPbuR9x9SE4v6IQNFc1fRLZgLT9COfuI X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Downstream [1] this region is marked as shared and reusable so describe it that way. [1]: https://github.com/xiaomi-sdm660/android_kernel_xiaomi_sdm660/blob/11-= EAS/arch/arm/boot/dts/qcom/sdm660.dtsi#L448 Signed-off-by: Nickolay Goppen --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index 4b47efdb57b2..13094b5e9339 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -495,8 +495,9 @@ venus_region: venus@9f800000 { }; =20 adsp_mem: adsp-region@f6000000 { + compatible =3D "shared-dma-pool"; reg =3D <0x0 0xf6000000 0x0 0x800000>; - no-map; + reusable; }; =20 qseecom_mem: qseecom-region@f6800000 { --=20 2.53.0 From nobody Tue Jun 16 02:37:54 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 663D733B6DB; Wed, 15 Apr 2026 09:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246040; cv=none; b=qqmPJVmKDHuJwbkzYqukfc/uKMO0gpMJGIC6SjdnT9dwgkZxpr8ZjDoyYQ3YWXnVpkL5Jq8n2htukEucumVFN3mq5RvQHs2hfEDg/4JOL/+nxQNcmZt73+Rt6pxMoqgK2i0SpZ5AB92bzKt9g9Ce1kwQE1WmngvQivaiZg8KtWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776246040; c=relaxed/simple; bh=GJbk7JlYiJz4h0VUyQlUiR3mnt6AHJEa5ETucslsRsw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kUsb7dQX2n5xb3aTrs5HwBZ29/YwsHC+pY9xRRTO+524M4pySZBOm4vD/T/hncZaUSpjkRsfKmS30ZTS1v+tydVt06pUDNYqUJq1Dp3oGoUajRcXoUHWRrGAIHqmpFQ06anMfZIu+ViRZD3V1j/GeqCpejDbP/E/6zSH9FY0Zro= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=QWrOkSQs; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=vLWyf8y2; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="QWrOkSQs"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="vLWyf8y2" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246026; bh=v4lIYjv9uJrzes/E1O8O0rU z6HcIeUcneJS3yUMBmDM=; b=QWrOkSQs3qTeIz7v44FjfINeroXBFFKKLsMErkT2VgLTdSKfzj PdgFfAaSMH7sbA92qYUuqruduiHZZ6+odi4MfI2nJCcyYufdQtl1IYfT18FJ2lAa15Q0lxGG4jM iGkE1jV3Pc6PMY5Bfy6y3AMUyQn81vaIOMXvHX17Za2vuN6KRb6xTQ2uXmGWpr4ew8yCsqGmKgm NniATWQrmM5hO8KwZMT4B1+Y93yj29+sclQHDHTNAE15KQGYKN5VHR/1T7wWt/2y472JBLp2jp0 YQewSJQe2QeUa0Yc46ct/t0s7PLVFw3Mm6s7qZzdv1wVrpVFkj7czJ5/dCP6/5sKDTQ==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1776246026; bh=v4lIYjv9uJrzes/E1O8O0rU z6HcIeUcneJS3yUMBmDM=; b=vLWyf8y2IEyhCpppo/n/We77vgYcbP9gzGIbtjD2DUg2dXxKMs NGmjLFuLXQEHvZ8a1C2bYJU6zBI2qFTIgsAA==; From: Nickolay Goppen Date: Wed, 15 Apr 2026 12:40:26 +0300 Subject: [PATCH 4/4] arm64: dts: qcom: sdm630: assign adsp_mem region to ADSP FastRPC node 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: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-4-03b475b29554@mainlining.org> References: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.org> In-Reply-To: <20260415-qcom-sdm660-cdsp-adsp-fastrpc-dts-fix-v1-0-03b475b29554@mainlining.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, ~postmarketos/upstreaming@lists.sr.ht, Nickolay Goppen X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776246023; l=877; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=GJbk7JlYiJz4h0VUyQlUiR3mnt6AHJEa5ETucslsRsw=; b=27bW6kHa5LfVNj39eiy4jsBGjnl1SOEJFv2jFzN/1b71W4HkM0G0VOiAgC09EMez1Li+xQDTn EPSVo9KxM12DChpGvBv1Un/KoNv0mOHjXqekVtM+3VbDA5m3Vh0Enxq X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Downstream [1] ADSP FastRPC node has the adsp_mem region assigned, so assign it to the ADSP FastRPC node. [1]: https://github.com/xiaomi-sdm660/android_kernel_xiaomi_sdm660/blob/11-= EAS/arch/arm/boot/dts/qcom/sdm660.dtsi#L1693 Signed-off-by: Nickolay Goppen Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index 13094b5e9339..19d80fbba57d 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2456,6 +2456,7 @@ fastrpc { compatible =3D "qcom,fastrpc"; qcom,glink-channels =3D "fastrpcglink-apps-dsp"; label =3D "adsp"; + memory-region =3D <&adsp_mem>; qcom,non-secure-domain; #address-cells =3D <1>; #size-cells =3D <0>; --=20 2.53.0