From ed48d740e85c167aa48a2c4fe82ca632e4c3cbb7 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 5 Apr 2019 13:39:05 +0100 Subject: dev-arm: Limit number of max PE in GICv3 to 128 This is needed since there is a problem in the memory layout of VExpress_GEM5_V2 as it is: having 256KB pages is creating overlapping regions when reserving space for 256 PEs. GICv3 redistributors: 0x2c010000 - 0x30010000 PCI regions: 0x30000000 - 0x40000000 We fix this by cutting down the number of supported PEs to 128 Change-Id: I6e87f66a6150a441ccba298662b4548a4972dc40 Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18392 Maintainer: Andreas Sandberg Tested-by: kokoro --- system/arm/dt/platforms/vexpress_gem5_v2_base.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') diff --git a/system/arm/dt/platforms/vexpress_gem5_v2_base.dtsi b/system/arm/dt/platforms/vexpress_gem5_v2_base.dtsi index 1dc235d7f..9cdee8560 100644 --- a/system/arm/dt/platforms/vexpress_gem5_v2_base.dtsi +++ b/system/arm/dt/platforms/vexpress_gem5_v2_base.dtsi @@ -40,9 +40,9 @@ #interrupt-cells = <0x3>; #address-cells = <0x2>; interrupt-controller; - redistributor-stride = <0x0 0x40000>; // 256kB stride, needed for ARM AVS tests... + redistributor-stride = <0x0 0x40000>; // 256kB stride reg = <0x0 0x2c000000 0x0 0x10000 - 0x0 0x2c010000 0x0 0x4000000 // room for 256 redistributors using 128K each (256K strided...) + 0x0 0x2c010000 0x0 0x2000000 // room for 128 redistributors using 128K each (256K strided...) 0x0 0x0 0x0 0x0>; interrupts = <1 9 0xf04>; #size-cells = <0x2>; -- cgit v1.2.3