From: Dong Aisheng Date: Tue, 10 Mar 2020 09:19:04 +0000 (+0800) Subject: LF-1106 arm64: dts: imx8mq-evk: reduce cma reserved memory size to 896M X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~482 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=be3b86ec530f8d8bf919d730cd94e0392a7daab9;p=linux.git LF-1106 arm64: dts: imx8mq-evk: reduce cma reserved memory size to 896M Currently the cma reserved memory allocation will fail due to conflict with rpmsg reserved memory which results in a lot of VPU test failure. e.g rpmsg_reserved: rpmsg@0xb8000000 { no-map; reg = <0 0xb8000000 0 0x400000>; }; This patch worked around this issue first by reducing the CMA size to 896M from 960M. We're still investigating a more sane approach to add back the correct requirement CMA memory (per MM team, it may need 1060M). Reviewed-by: ZHOU PENG 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 1c8c8bf74acc..698789beefb0 100755 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -50,8 +50,8 @@ linux,cma { compatible = "shared-dma-pool"; reusable; - size = <0 0x3c000000>; - alloc-ranges = <0 0x80000000 0 0x40000000>; + size = <0 0x38000000>; + alloc-ranges = <0 0x80000000 0 0x38000000>; linux,cma-default; }; };