From 04187be11dc4bfc898d411c1a40c2a1e9f4ff925 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 15 Apr 2024 15:07:35 +0000 Subject: [PATCH] arm-bsp/fvp-base: improve FVP performance Increase the number of TLB entries from 0x80 to 0x400 and disable the checking of memory attributes. In our CI, this makes testimage run in 576s instead of 803s. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm-bsp/conf/machine/fvp-base.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf index 39ef38be..f621cd8b 100644 --- a/meta-arm-bsp/conf/machine/fvp-base.conf +++ b/meta-arm-bsp/conf/machine/fvp-base.conf @@ -47,6 +47,10 @@ FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] = "2222=22" FVP_CONFIG[bp.virtio_rng.enabled] ?= "1" FVP_CONFIG[cache_state_modelled] ?= "0" +FVP_CONFIG[cluster0.check_memory_attributes] ?= "0" +FVP_CONFIG[cluster1.check_memory_attributes] ?= "0" +FVP_CONFIG[cluster0.stage12_tlb_size] ?= "1024" +FVP_CONFIG[cluster1.stage12_tlb_size] ?= "1024" FVP_CONFIG[bp.secureflashloader.fname] ?= "bl1-fvp.bin" FVP_CONFIG[bp.flashloader0.fname] ?= "fip-fvp.bin" FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"