[coreboot-gerrit] Patch set updated for coreboot: soc/apollolake: Enable all CPU cores using the parallel MP lib

Andrey Petrov (andrey.petrov@intel.com) gerrit at coreboot.org
Thu Apr 14 00:08:58 CEST 2016


Andrey Petrov (andrey.petrov at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14350

-gerrit

commit c94f443ec9f40e534f8ee1f195c3d2968b7e4750
Author: Ravi Sarawadi <ravishankar.sarawadi at intel.com>
Date:   Thu Jan 28 15:51:53 2016 -0800

    soc/apollolake: Enable all CPU cores using the parallel MP lib
    
    This is the minimal setup needed to get all CPU cores enabled. That
    includes sending an IPI to APs and setting up MTRRs. Microcode updates
    are not performed for two reasons:
    * CSE upgrades the microcode before releasing reset
    * Microcode update files are not available at this point in time
    
    Change-Id: Iaadb23420546715315141e1d707ba74ce443e06b
    Signed-off-by: Ravi Sarawadi <ravishankar.sarawadi at intel.com>
    Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc at intel.com>
    Signed-off-by: Bora Guvendik <bora.guvendik at intel.com>
---
 3rdparty/blobs                             | 1 -
 src/soc/intel/apollolake/Kconfig           | 4 ++++
 src/soc/intel/apollolake/chip.c            | 1 +
 src/soc/intel/apollolake/include/soc/cpu.h | 1 +
 4 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/3rdparty/blobs b/3rdparty/blobs
deleted file mode 160000
index b0eeddd..0000000
--- a/3rdparty/blobs
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit b0eeddd4f5c583818e66521f2552cd3448b357b2
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 10e8b0d..a666131 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -104,4 +104,8 @@ config CACHE_MRC_SETTINGS
 	bool
 	default y
 
+config MAX_CPUS
+	int
+	default 8
+
 endif
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index e9eb1ac..e391ac1 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -22,6 +22,7 @@
 #include <soc/iomap.h>
 #include <soc/cpu.h>
 #include <soc/pci_devs.h>
+#include <soc/cpu.h>
 
 #include "chip.h"
 
diff --git a/src/soc/intel/apollolake/include/soc/cpu.h b/src/soc/intel/apollolake/include/soc/cpu.h
index 7c3228e..29f936b 100644
--- a/src/soc/intel/apollolake/include/soc/cpu.h
+++ b/src/soc/intel/apollolake/include/soc/cpu.h
@@ -23,6 +23,7 @@ void apollolake_init_cpus(struct device *dev);
 #define CPUID_APOLLOLAKE_A0	0x506c8
 #define CPUID_APOLLOLAKE_B0	0x506c9
 
+#define MSR_CORE_THREAD_COUNT	0x35
 #define MSR_PLATFORM_INFO	0xce
 #define MSR_POWER_MISC		0x120
 #define MSR_CORE_THREAD_COUNT	0x35



More information about the coreboot-gerrit mailing list