[coreboot] Init for multi-processor
kyosti.malkki at gmail.com
Tue Nov 22 07:01:01 CET 2011
On Tue, 2011-11-22 at 06:30 +0900, Stefan Reinauer wrote:
> On 11/22/11 5:20 AM, Kyösti Mälkki wrote:
> > Hi
> > Could someone explain the use of boot_cpu() in bootblock_normal.c
> > main()? I thought only the BSP CPU executes this code (currently)?
> > I am about to push a change that does early SMP init for hyper-threading
> > CPUs to allow cache-as-ram implementation. Shared cache remains disabled
> > until both/all logical CPUs enable it.
> For some CPUs types (like AMD K8) all CPUs / cores start running the
> reset vector code after power-on.
Do the BSP CPU and/or AP CPUs execute bootblock_normal: main() and
mainboard/romstage: cache_as_ram_main() in parallel then?
Remember there are no semaphores for shared resources like
CMOS_BOOT_BYTE in do_normal_boot() nor any spinlocks for
More information about the coreboot