open-power / hostboot

System initialization firmware for Power systems
Apache License 2.0
74 stars 97 forks source link

About istep16.01 "host_activate_boot_core" #237

Closed LoserJL closed 9 months ago

LoserJL commented 9 months ago

In hostboot, istep16.01 "host_activate_boot_core", the call_host_activate_boot_core() function is called, where the master enters the winkle first, and then wait for a wakeup, I don't understand why it is necessary to do this, it looks as if this step is a bit redundant, because the master is already running

image

Thanks

dcrowell77 commented 9 months ago

The initial boot of the master core uses a set of initialization values that are fine for Hostboot to use but are not appropriate for runtime use. The HOMER image that we customize in step15 will contain the correct runtime inits for the cores/caches. The secondary cores will pick that up when they get started for the first time in 16.2 but the boot core needs to be sent through STOP11 explicitly to get the new inits.