the following patch was just integrated into master:
commit 1cac2c9713a864fe90f40040cd1ede130983544c
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sat May 30 22:30:13 2015 +0200
Hide PLATFORM_USES_FSP1_1.
This should be an internal selectable variable rather than user-visible config.
Moreover the description is misleading.
This is a typical case of an option "Should it work?" where there is only one
right answer yet we still ask it.
Change-Id: Idc0ce2e1b9f89eddd034966cc877483d994ce0eb
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/10378
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See http://review.coreboot.org/10378 for details.
-gerrit
the following patch was just integrated into master:
commit 633352c74ac73567f07eb406e6a95d08b4771555
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sat May 30 22:21:37 2015 +0200
Kconfig: Remove RELOCATABLE_MODULES.
RELOCATABLE_MODULES controls inclusion of rmodule support but including it
without having anything that uses it is a pure waste of space. So instead
make RELOCATABLE_MODULES be selected exactly when there is something using it.
Change-Id: I377a955f0cd95b0f811b986df287864c3dc9f89a
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/10377
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See http://review.coreboot.org/10377 for details.
-gerrit
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10402
-gerrit
commit 7f939e96ff0d26dee9d2040ee8a77d2a0ba6cc82
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Tue Jun 2 13:53:25 2015 -0500
cpu/amd/car: Increase Family 10h CAR size limit to 128k
This resolves issues with 4-node (32-core) systems not having
sufficient CAR memory available to boot.
Change-Id: Ie884556edc5c85c2c908a8c6640eeec11594ba3a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/cpu/amd/car/cache_as_ram.inc | 25 +++++++++++++++++++++++--
src/cpu/amd/car/disable_cache_as_ram.c | 7 +++++++
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/src/cpu/amd/car/cache_as_ram.inc b/src/cpu/amd/car/cache_as_ram.inc
index 769e5cf..e563d67 100644
--- a/src/cpu/amd/car/cache_as_ram.inc
+++ b/src/cpu/amd/car/cache_as_ram.inc
@@ -3,6 +3,7 @@
*
* Copyright (C) 2005-2007 Advanced Micro Devices, Inc.
* Copyright (C) 2008 Carl-Daniel Hailfinger
+ * Copyright (C) 2015 Timothy Pearson <tpearson(a)raptorengineeringinc.com>, Raptor Engineering
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -249,8 +250,14 @@ clear_fixed_var_mtrr_out:
*/
.endm
-#if CacheSize > 0x10000
-#error Invalid CAR size, must be at most 64k.
+#if IS_ENABLED(CONFIG_CPU_AMD_MODEL_10XXX)
+ #if CacheSize > 0x80000
+ #error Invalid CAR size, must be at most 128k (processor limit is 512k).
+ #endif
+#else
+ #if CacheSize > 0x10000
+ #error Invalid CAR size, must be at most 64k.
+ #endif
#endif
#if CacheSize < 0x1000
#error Invalid CAR size, must be at least 4k. This is a processor limitation.
@@ -266,6 +273,20 @@ clear_fixed_var_mtrr_out:
wrmsr
#endif
+#if CacheSize > 0x10000
+ /* Enable caching for 64K-96K using fixed MTRR. */
+ movl $MTRRfix4K_D0000_MSR, %ecx
+ simplemask CacheSize, 0x10000
+ wrmsr
+#endif
+
+#if CacheSize > 0x18000
+ /* Enable caching for 96K-128K using fixed MTRR. */
+ movl $MTRRfix4K_D8000_MSR, %ecx
+ simplemask CacheSize, 0x18000
+ wrmsr
+#endif
+
/* Enable caching for 0-32K using fixed MTRR. */
movl $MTRRfix4K_C8000_MSR, %ecx
simplemask CacheSize, 0
diff --git a/src/cpu/amd/car/disable_cache_as_ram.c b/src/cpu/amd/car/disable_cache_as_ram.c
index 4a86280..d3a3812 100644
--- a/src/cpu/amd/car/disable_cache_as_ram.c
+++ b/src/cpu/amd/car/disable_cache_as_ram.c
@@ -4,6 +4,7 @@
* original idea yhlu 6.2005 (assembler code)
*
* Copyright (C) 2010 Rudolf Marek <r.marek(a)assembler.cz>
+ * Copyright (C) 2015 Timothy Pearson <tpearson(a)raptorengineeringinc.com>, Raptor Engineering
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -36,6 +37,12 @@ static inline __attribute__((always_inline)) void disable_cache_as_ram(void)
#if CONFIG_DCACHE_RAM_SIZE > 0x8000
wrmsr(MTRRfix4K_C0000_MSR, msr);
#endif
+#if CONFIG_DCACHE_RAM_SIZE > 0x10000
+ wrmsr(MTRRfix4K_D0000_MSR, msr);
+#endif
+#if CONFIG_DCACHE_RAM_SIZE > 0x18000
+ wrmsr(MTRRfix4K_D8000_MSR, msr);
+#endif
/* disable fixed mtrr from now on, it will be enabled by ramstage again*/
msr = rdmsr(SYSCFG_MSR);
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10400
-gerrit
commit 51f933fdc9c7e7c4aec02169ab8563477b9c0c3f
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jun 2 19:44:10 2015 +0200
totally harmless commit to test build nodes
Change-Id: I4cb0439524ad53423a85916c43b25ba62e591175
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
toolchain.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/toolchain.inc b/toolchain.inc
index e089f2e..2fba998 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -1,4 +1,5 @@
##
+
## This file is part of the coreboot project.
##
## Copyright (C) 2014 Google Inc
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8692
-gerrit
commit 6d961826c99663d3cae2d04bd9f1bbef94b6ed9a
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sun Mar 15 04:34:03 2015 +0100
Add x64 support to src/arch/x86/Kconfig
Change-Id: I81f6d8a21ea0d8218f5a4aab2feb39be32f88e01
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Signed-off-by: Scott Duplichan <scott(a)notabs.org>
---
src/arch/x86/Kconfig | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 29f0514..1e35846 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -18,6 +18,8 @@ config ARCH_X86
default n
select PCI
+# stage selectors for x86
+
config ARCH_BOOTBLOCK_X86_32
bool
default n
@@ -35,6 +37,25 @@ config ARCH_RAMSTAGE_X86_32
bool
default n
+# stage selectors for x64
+
+config ARCH_BOOTBLOCK_X86_64
+ bool
+ default n
+ select ARCH_X86
+
+config ARCH_VERSTAGE_X86_64
+ bool
+ default n
+
+config ARCH_ROMSTAGE_X86_64
+ bool
+ default n
+
+config ARCH_RAMSTAGE_X86_64
+ bool
+ default n
+
# This is an SMP option. It relates to starting up APs.
# It is usually set in mainboard/*/Kconfig.
# TODO: Improve description.