From: Dong Aisheng Date: Tue, 24 Dec 2019 10:27:53 +0000 (+0800) Subject: LF-665-17 arm64: dts: imx8mm: make sure cma do not overlap dma zone X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~535 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=ac3eb98e0c8365ec2267c9873662fadc0ba2bcf4;p=linux.git 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 --- 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; }; };