[PATCH 1/7] arm64: dts: qcom: sdm845: Bump fastrpc shared DMA pool to 32MB for 16k pages

Ard Biesheuvel ardb+git at google.com
Wed Nov 11 03:53:05 PST 2026


From: Ard Biesheuvel <ardb at kernel.org>

The CMA driver wants memory pools whose base and size are aligned to the
PMD size, which is 32M when running with 16k pages. So increase the
shared DMA pool size from 16M to 32M and set its minimum alignment to
32M as well.

Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 844b840bc546..5f554f6b06f7 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -894,8 +894,8 @@ mdata_mem: mpss-metadata {
 		fastrpc_mem: fastrpc {
 			compatible = "shared-dma-pool";
 			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
-			alignment = <0x0 0x400000>;
-			size = <0x0 0x1000000>;
+			alignment = <0x0 0x2000000>;
+			size = <0x0 0x2000000>;
 			reusable;
 		};
 	};
-- 
2.56.0.611.g1030f0b940-goog




More information about the linux-arm-kernel mailing list