LF-665-17 arm64: dts: imx8mm: make sure cma do not overlap dma zone
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 24 Dec 2019 10:27:53 +0000 (18:27 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:51 +0000 (11:21 +0800)
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 <aisheng.dong@nxp.com>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index b4e02ff..a1603e7 100755 (executable)
                        compatible = "shared-dma-pool";
                        reusable;
                        size = <0 0x28000000>;
-                       alloc-ranges = <0 0x40000000 0 0x60000000>;
+                       alloc-ranges = <0 0x80000000 0 0x40000000>;
                        linux,cma-default;
                };
        };