[U-Boot] [U-Boot,v4,1/5] ARM: HYP/non-sec: migrate stack

Alexander Graf agraf at suse.de
Tue Jun 19 09:47:11 UTC 2018


> The current code that switches into HYP mode doesn't bother to set
> up a stack for HYP mode.  This doesn't work for EFI applications
> as they expect a usable stack.  Fix this by migrating the stack
> pointer from SP_svc to SP_hyp while in Monitor mode.
> This restores the stack pointer when we drop into HYP mode.
> 
> Signed-off-by: Mark Kettenis <kettenis at openbsd.org>

Thanks, applied to efi-next

Alex



More information about the U-Boot mailing list