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
100 // x2-x29,lr: vcpu regs
101 // vcpu x0-x1 on the stack
112 // return address to tail call into hyp_panic. As a side effect, the
113 // current state is saved to the guest context but it will only be
114 // accurate if the guest had been completely restored.
124 // x2-x29,lr: vcpu regs
125 // vcpu x0-x1 on the stack
131 // Store the guest regs x2 and x3
134 // Retrieve the guest regs x0-x1 from the stack
137 // Store the guest regs x0-x1 and x4-x17
147 // Store the guest regs x18-x29, lr
150 // Store the guest's sp_el0
156 // ptrauth_switch_to_hyp(guest cxt, host cxt, tmp1, tmp2, tmp3)
175 // without an unmask-SError and isb. The ESB-instruction consumed any
176 // pending guest error when we took the exception from the guest.
178 str x2, [x1, #(VCPU_FAULT_DISR - VCPU_CONTEXT)]
184 dsb sy // Synchronize against in-flight ld/st
185 isb // Prevent an early read of side-effect free ISR