From 323a2af8e25ad2ff9b81b58f5fccd4ea7d39e72f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 24 Jul 2015 17:34:29 -0500 Subject: cpu/amd/fam10h-15h: Fix BSP stack corruption on 32-core Fam10 systems On some multi-socket AMD platforms there are too many cores for all APs to start up without stack collisions with either each other or the BSP. On such platforms a larger amount of CAR memory is also available. Allow the maximum DCACHE size to be increased via a mainboard- specific Kconfig flag. Change-Id: I72ae8f7abeb9a83b57505469922818f9ec5bdf3f Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/12015 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Tested-by: Raptor Engineering Automated Test Stand --- src/cpu/amd/family_10h-family_15h/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/cpu/amd/family_10h-family_15h/Kconfig b/src/cpu/amd/family_10h-family_15h/Kconfig index 81b1d1e1bd..bfb675187e 100644 --- a/src/cpu/amd/family_10h-family_15h/Kconfig +++ b/src/cpu/amd/family_10h-family_15h/Kconfig @@ -15,6 +15,12 @@ config CPU_AMD_MODEL_10XXX if CPU_AMD_MODEL_10XXX +config USE_LARGE_DCACHE + bool + default y if CPU_AMD_SOCKET_G34_NON_AGESA + default y if CPU_AMD_SOCKET_C32_NON_AGESA + default n + config NUM_IPI_STARTS int default 1 @@ -37,6 +43,7 @@ config DCACHE_BSP_STACK_SIZE config DCACHE_BSP_STACK_SLUSH hex + default 0x4000 if USE_LARGE_DCACHE default 0x1000 config DCACHE_AP_STACK_SIZE -- cgit v1.2.3