From: Dong Aisheng Date: Tue, 24 Dec 2019 10:29:50 +0000 (+0800) Subject: LF-665-18 arm64: dts: imx8mq: 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~534 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=0d682f53378a8f3a3f9e03a8285a26541e7aa76b;p=linux.git LF-665-18 arm64: dts: imx8mq: 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/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 6976fb50fa25..de1683d23c89 100755 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -51,7 +51,7 @@ compatible = "shared-dma-pool"; reusable; size = <0 0x3c000000>; - alloc-ranges = <0 0x40000000 0 0x40000000>; + alloc-ranges = <0 0x80000000 0 0x40000000>; linux,cma-default; }; };