From 33a25371b6dcc3cfeb7df31f7ae9ba014830545f Mon Sep 17 00:00:00 2001 From: Tanmay Shah Date: Wed, 14 Jun 2023 13:50:58 -0700 Subject: [PATCH] soc: zynqmp: increase SRAMP_PRIV MPU region size openamp shared memory regions can be anywhere in DDR memory withing 2G range. Current SRAM_PRIV region is 64M which prevents access of shared memory (vrings) by RPU (cortex-r5) if it is out of 64M range. This patch allows vrings to be in DDR within 2G address space. Developed-by: Dan Millea Commited by: Tanmay Shah Signed-off-by: Dan Milea Signed-off-by: Tanmay Shah --- soc/arm/xilinx_zynqmp/arm_mpu_regions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/arm/xilinx_zynqmp/arm_mpu_regions.c b/soc/arm/xilinx_zynqmp/arm_mpu_regions.c index 7e0b6e3cd63..f10ba5d94e0 100644 --- a/soc/arm/xilinx_zynqmp/arm_mpu_regions.c +++ b/soc/arm/xilinx_zynqmp/arm_mpu_regions.c @@ -44,7 +44,7 @@ static const struct arm_mpu_region mpu_regions[] = { MPU_REGION_ENTRY("SRAM_PRIV", 0x00000000, - REGION_64M, + REGION_2G, MPUTYPE_PRIV_WBWACACHE), MPU_REGION_ENTRY("SRAM",