From: Jan Kiszka <[email protected]> This is neither the proper way to restor CPSR (we do not return to Linux on error via eret) nor is this needed (no relevant change to CPSR done if we return prior to switching to EL2). So drop this.
Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/arch/arm/entry.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/hypervisor/arch/arm/entry.S b/hypervisor/arch/arm/entry.S index 1425e0b6..814772ca 100644 --- a/hypervisor/arch/arm/entry.S +++ b/hypervisor/arch/arm/entry.S @@ -55,8 +55,6 @@ arch_entry: /* * entry only returns here when there is an error before setting up EL2 */ - ldr r3, [r4], #-4 - msr spsr, r3 ldr lr, [r4], #-4 ldr sp, [r4] -- 2.26.2 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/5a9b08b44fd429feb90abcaa4fe01b1867f66225.1609774199.git.jan.kiszka%40web.de.
