Lines Matching +full:guest +full:- +full:side
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2015 - ARM Ltd
26 // x1-x17: clobbered by macros
27 // x29: guest context
39 // defer the guest entry. The DSB isn't necessary before v8.2 as any
64 // ptrauth_switch_to_guest(guest cxt, tmp1, tmp2, tmp3)
65 // The below macro to restore guest keys is not implemented in C code
70 // Restore the guest's sp_el0
73 // Restore guest regs x0-x17
84 // Restore guest regs x18-x29, lr
92 // x2-x29,lr: vcpu regs
93 // vcpu x0-x1 on the stack
104 // return address to tail call into hyp_panic. As a side effect, the
105 // current state is saved to the guest context but it will only be
106 // accurate if the guest had been completely restored.
116 // x2-x29,lr: vcpu regs
117 // vcpu x0-x1 on the stack
123 // Store the guest regs x2 and x3
126 // Retrieve the guest regs x0-x1 from the stack
129 // Store the guest regs x0-x1 and x4-x17
139 // Store the guest regs x18-x29, lr
142 // Store the guest's sp_el0
148 // ptrauth_switch_to_hyp(guest cxt, host cxt, tmp1, tmp2, tmp3)
167 // without an unmask-SError and isb. The ESB-instruction consumed any
168 // pending guest error when we took the exception from the guest.
170 str x2, [x1, #(VCPU_FAULT_DISR - VCPU_CONTEXT)]
176 dsb sy // Synchronize against in-flight ld/st
177 isb // Prevent an early read of side-effect free ISR