Skip to content

Commit

Permalink
plat-vexpress: increase QEMU heap size
Browse files Browse the repository at this point in the history
The core heap usage is increased by around 20kB with fTPM enabled so it
makes sense if this has to be compensated.

Increase heap size for the QEMU variants:
- QEMU v7 from 64kB to 96kB
- QEMU v8 from 128kB to 192kB

Signed-off-by: Jens Wiklander <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
  • Loading branch information
jenswi-linaro committed Dec 16, 2024
1 parent 8bbae50 commit 72b307d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/arch/arm/plat-vexpress/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ CFG_WITH_SOFTWARE_PRNG ?= n
endif

ifeq ($(PLATFORM_FLAVOR),qemu_virt)
CFG_CORE_HEAP_SIZE ?= 98304
CFG_HALT_CORES_ON_PANIC ?= y
CFG_TEE_CORE_NB_CORE ?= 4
# [0e00.0000 0e0f.ffff] is reserved to early boot
Expand Down Expand Up @@ -131,7 +132,7 @@ endif

ifeq ($(PLATFORM_FLAVOR),qemu_armv8a)
CFG_CORE_TZSRAM_EMUL_SIZE ?= 524288
CFG_CORE_HEAP_SIZE ?= 131072
CFG_CORE_HEAP_SIZE ?= 196608
CFG_HALT_CORES_ON_PANIC ?= y
CFG_TEE_CORE_NB_CORE ?= 4
CFG_AUTO_MAX_PA_BITS ?= y
Expand Down

0 comments on commit 72b307d

Please sign in to comment.