diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-07-24 17:34:29 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-11-16 17:21:17 +0100 |
commit | 323a2af8e25ad2ff9b81b58f5fccd4ea7d39e72f (patch) | |
tree | 308d500aa7f57c70f1c182a6d9a6eef50b2fff6e /src/cpu | |
parent | 3ca41166d7d8fa36b58735ce5e36354279795f78 (diff) | |
download | coreboot-323a2af8e25ad2ff9b81b58f5fccd4ea7d39e72f.tar.xz |
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@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/12015
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
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 |