[coreboot-gerrit] Patch set updated for coreboot: cpu/amd/fam10h-15h: Fix BSP stack corruption on 32-core Fam10 systems
Timothy Pearson (tpearson@raptorengineeringinc.com)
gerrit at coreboot.org
Sun Nov 15 03:13:45 CET 2015
Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12015
-gerrit
commit bfd420ee08f5cccf9995c281dc494f46608c41db
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date: Fri Jul 24 17:34:29 2015 -0500
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 <tpearson at raptorengineeringinc.com>
---
src/cpu/amd/family_10h-family_15h/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/cpu/amd/family_10h-family_15h/Kconfig b/src/cpu/amd/family_10h-family_15h/Kconfig
index 81b1d1e..bfb6751 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
More information about the coreboot-gerrit
mailing list