From be3b86ec530f8d8bf919d730cd94e0392a7daab9 Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Tue, 10 Mar 2020 17:19:04 +0800 Subject: [PATCH] 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 --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; }; -- 2.17.1