[BOOT-WRAPPER v3 00/10] Cleanup initialization
Mark Rutland
mark.rutland at arm.com
Tue Aug 27 04:10:49 PDT 2024
On Thu, Aug 22, 2024 at 11:14:31AM +0100, Mark Rutland wrote:
> These patches cleanup the boot-wrapper initialization logic to make it
> more consistent and easier to extend in C code in future. The big
> changes are:
>
> * The kernel is always entered via an exception return. This allows us
> to initialize PSTATE consistently, and will allow us to adjust the
> SPSR dynamically in C code in future if necessary.
>
> * Regardless of the entered exception level, CPU state is initialized
> under cpu_init_arch(), allowing for logic to be shared regardless of
> which exception level was entered.
>
> * CPUs are initialized sequentially, which allows better for better
> logging within the boot-wrapper.
Applied.
Mark.
More information about the linux-arm-kernel
mailing list