280c69559 introduces a regression to the alignment of the
bootstack. Update __libkvmplat_entry to enforce the correct
alignment before assigning to the sp.
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #1047
isb
/* Set the boot stack */
- ur_ldr x26, lcpu_bootstack
- mov sp, x26
+ ur_ldr x26, lcpu_bootstack
+ and x26, x26, ~(__STACK_ALIGN_SIZE - 1)
+ mov sp, x26
/* Set the context id */
msr contextidr_el1, xzr