From 67c09735f2eb69d7c9a6c7132bd395ffa7ecb194 Mon Sep 17 00:00:00 2001 From: Boyan Karatotev Date: Tue, 22 Oct 2024 16:20:57 +0100 Subject: [PATCH] chore(fvp): use correct dts for dynamiq cores The default dts doesn't describe the core topology correctly - it uses a two level affinity, while new cores use 3 level with MPIDR_EL1.MT set. As a result Linux doesn't discover secondary cores correctly unless this is specifically provided on the command line. CI already accounts for this in tf_config/fvp-dynamiq-aarch64-only. Change-Id: I137b213cfc48d98b8856c113d4ec0bf6474d3e2d Signed-off-by: Boyan Karatotev --- plat/arm/board/fvp/platform.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk index feae8029f..1e90bcb41 100644 --- a/plat/arm/board/fvp/platform.mk +++ b/plat/arm/board/fvp/platform.mk @@ -22,7 +22,12 @@ FVP_MAX_PE_PER_CPU := 1 # only; enable redistributor frames of all CPU cores by default. FVP_GICR_REGION_PROTECTION := 0 +ifeq (${HW_ASSISTED_COHERENCY}, 0) FVP_DT_PREFIX := fvp-base-gicv3-psci +else +FVP_DT_PREFIX := fvp-base-gicv3-psci-dynamiq +endif +# fdts is wrong otherwise # Size (in kilobytes) of the Trusted SRAM region to utilize when building for # the FVP platform. This option defaults to 256.