From ac3eb98e0c8365ec2267c9873662fadc0ba2bcf4 Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Tue, 24 Dec 2019 18:27:53 +0800 Subject: [PATCH] LF-665-17 arm64: dts: imx8mm: make sure cma do not overlap dma zone After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"), ZONE_DMA will contain the lower 1G of memory. Change the CMA range start or size to ensure it's not overlapped with dma zone. Signed-off-by: Dong Aisheng --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index b4e02ff06f06..a1603e7c55ad 100755 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -155,7 +155,7 @@ compatible = "shared-dma-pool"; reusable; size = <0 0x28000000>; - alloc-ranges = <0 0x40000000 0 0x60000000>; + alloc-ranges = <0 0x80000000 0 0x40000000>; linux,cma-default; }; }; -- 2.17.1