the following patch was just integrated into master: commit 0c18ec83951db47d4bf84503c3553212d77d4b00 Author: Sven Schnelle svens@stackframe.org Date: Sun Jun 17 10:32:55 2012 +0200
Use broadcast SIPI to startup siblings
The current code for initializing AP cpus has several shortcomings:
- it assumes APIC IDs are sequential - it uses only the BSP for determining the AP count, which is bad if there's more than one physical CPU, and CPUs are of different type
Note that the new code call cpu->ops->init() in parallel, and therefore some CPU code needs to be changed to address that. One example are old Intel HT enabled CPUs which can't do microcode update in parallel.
Change-Id: Ic48a1ebab6a7c52aa76765f497268af09fa38c25 Signed-off-by: Sven Schnelle svens@stackframe.org
Build-Tested: build bot (Jenkins) at Mon Jul 2 17:19:02 2012, giving +1 Reviewed-By: Ronald G. Minnich rminnich@gmail.com at Mon Jul 2 17:37:47 2012, giving +2 See http://review.coreboot.org/1139 for details.
-gerrit