On Tue, 13 May 2025 at 15:15, Clément Chigot <chi...@adacore.com> wrote: > > Currently, arm booting processus assumes that the first_cpu is the CPU
"the arm booting process" > that will boot: `arm_load_kernel` is powering off all but the `first_cpu`; > `do_cpu_reset` is setting the loader address only for this `first_cpu`. > > For most of the boards, this isn't an issue as the kernel is loaded and > booted on the first CPU anyway. However, for zynqmp, the option > "boot-cpu" allows to choose any CPUs. > > Create a new arm_boot_info entry `primary_cpu` recording which CPU will > be boot first. This one is set when `arm_boot_kernel` is called. > > Signed-off-by: Clément Chigot <chi...@adacore.com> Yeah, this makes sense, and every board currently passes in the first CPU object so this isn't a behaviour change. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM