Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1199
-gerrit
commit ef80d93df0878bb61325ebee312614263660d9aa
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Tue Jul 10 10:19:40 2012 +0300
Fix APIC cpu_index
If a CPU was pre-allocated, cpu_path is not copied and thus
index would not be updated. This breaks cpu_index() and AMD
model_fxx is possibly broken without this patch.
Change-Id: I77483181cf0bca31423c655942c022bffab3c7ea
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/arch/x86/lib/cpu.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/arch/x86/lib/cpu.c b/src/arch/x86/lib/cpu.c
index 5214abe..7cd955e 100644
--- a/src/arch/x86/lib/cpu.c
+++ b/src/arch/x86/lib/cpu.c
@@ -249,9 +249,10 @@ void cpu_initialize(struct bus *cpu_bus, int index)
cpu_path.type = DEVICE_PATH_APIC;
cpu_path.apic.apic_id = id;
- cpu_path.apic.index = index;
cpu = alloc_find_dev(cpu_bus, &cpu_path);
+ cpu->path.apic.index = index;
+
printk(BIOS_DEBUG, "Initializing CPU #%d\n", id);
/* Find what type of cpu we are dealing with */
the following patch was just integrated into master:
commit 2f1e9ca2c3fe54ff01f46e574f2180e723cb6bbf
Author: Anton Kochkov <anton.kochkov(a)gmail.com>
Date: Wed Jul 4 07:35:45 2012 +0400
msrtool: Add Intel Nehalem CPUs support
Added Intel processors based on Nehalem
architecture support, with decoding MSRs.
Change-Id: I576d5eac2542c0b62852bf05e42bc98b134c7eae
Signed-off-by: Anton Kochkov <anton.kochkov(a)gmail.com>
Build-Tested: build bot (Jenkins) at Wed Jul 4 06:16:48 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Jul 10 00:57:34 2012, giving +2
See http://review.coreboot.org/1170 for details.
-gerrit
the following patch was just integrated into master:
commit bb50e359e869710447b09b7bfcd390304de04cb7
Author: Anton Kochkov <anton.kochkov(a)gmail.com>
Date: Wed Jul 4 07:31:37 2012 +0400
msrtool: Fix Intel CPUs detection
Added vendor check in sys.c file and fixed models checking
in intel targets files.
Change-Id: I1ce52bbce431dea79e903d6bc7a12e5b9ad061be
Signed-off-by: Anton Kochkov <anton.kochkov(a)gmail.com>
Build-Tested: build bot (Jenkins) at Wed Jul 4 06:01:57 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Jul 10 00:56:49 2012, giving +2
See http://review.coreboot.org/1169 for details.
-gerrit