From 7dc75b9b571b9284003f0f78a9cb9dba5d105d14 Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Thu, 27 Jun 2024 19:07:24 +0200 Subject: [PATCH] plat-stm32mp1: conf: restore generic default heap size Remove reduced default heap size configuration of 48kB when pager is enabled on stm32mp1 platforms. 48kB of core heap may not always be enough to pass OP-TEE Test regression test 4011 related to Bleichenbacher attack since it consumes 4.5kB more memory on in OP-TEE core since we upgraded to Mbed TLS library 3.6.0. The platform now default uses the generic 64kB default heap size set from mk/config.mk. Signed-off-by: Etienne Carriere Acked-by: Gatien Chevallier --- core/arch/arm/plat-stm32mp1/conf.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/arch/arm/plat-stm32mp1/conf.mk b/core/arch/arm/plat-stm32mp1/conf.mk index 31b73531109..d366f5d3686 100644 --- a/core/arch/arm/plat-stm32mp1/conf.mk +++ b/core/arch/arm/plat-stm32mp1/conf.mk @@ -346,9 +346,6 @@ CFG_TEE_CORE_DEBUG ?= n CFG_UNWIND ?= n CFG_LOCKDEP ?= n CFG_TA_BGET_TEST ?= n -# Default disable early TA compression to support a smaller HEAP size -CFG_EARLY_TA_COMPRESS ?= n -CFG_CORE_HEAP_SIZE ?= 49152 endif # Non-secure UART and GPIO/pinctrl for the output console