From 3951bc7becc3f383928abf528b991272cb9d008c Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 23 May 2022 23:28:44 +0200 Subject: [PATCH] Kconfig: Increase x86 postcar & ramstage stack Currently the BSP stack overflows into the next AP stack. This symbols needs to be a power of 2 for alignment on the legacy smp init codepath. This fixes cpu_info on AP #1 build being broken due to stack overflow. Change-Id: Ib59d354beabc8877f09f768004ced22234ec7d72 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64610 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth Reviewed-by: Felix Held Reviewed-by: Lean Sheng Tan --- src/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kconfig b/src/Kconfig index ccfe5d25be..c58a263b25 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -635,7 +635,7 @@ config HEAP_SIZE config STACK_SIZE hex - default 0x1000 if ARCH_X86 + default 0x2000 if ARCH_X86 default 0x0 config MAX_CPUS