Home
last modified time | relevance | path

Searched refs:elr (Results 1 – 7 of 7) sorted by relevance

/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c340 u64 spsr, elr, mode; in kvm_hyp_handle_eret() local
376 if (!(vcpu_has_ptrauth(vcpu) && kvm_auth_eretax(vcpu, &elr))) in kvm_hyp_handle_eret()
379 elr = read_sysreg_el1(SYS_ELR); in kvm_hyp_handle_eret()
385 write_sysreg_el2(elr, SYS_ELR); in kvm_hyp_handle_eret()
658 static void __noreturn __hyp_call_panic(u64 spsr, u64 elr, u64 par) in __hyp_call_panic() argument
670 spsr, elr, in __hyp_call_panic()
679 u64 elr = read_sysreg_el2(SYS_ELR); in hyp_panic() local
682 __hyp_call_panic(spsr, elr, par); in hyp_panic()
/linux/arch/arm64/kvm/
H A Dpauth.c156 bool kvm_auth_eretax(struct kvm_vcpu *vcpu, u64 *elr) in kvm_auth_eretax() argument
163 *elr = ptr = vcpu_read_sys_reg(vcpu, ELR_EL2); in kvm_auth_eretax()
191 *elr = cptr; in kvm_auth_eretax()
204 *elr = cptr; in kvm_auth_eretax()
H A Demulate-nested.c2671 u64 spsr, elr, esr; in kvm_emulate_nested_eret() local
2678 if (esr_iss_is_eretax(esr) && !kvm_auth_eretax(vcpu, &elr)) { in kvm_emulate_nested_eret()
2702 elr = __vcpu_sys_reg(vcpu, ELR_EL2); in kvm_emulate_nested_eret()
2704 trace_kvm_nested_eret(vcpu, elr, spsr); in kvm_emulate_nested_eret()
2706 *vcpu_pc(vcpu) = elr; in kvm_emulate_nested_eret()
/linux/arch/arm64/include/asm/
H A Dkvm_nested.h231 bool kvm_auth_eretax(struct kvm_vcpu *vcpu, u64 *elr);
233 static inline bool kvm_auth_eretax(struct kvm_vcpu *vcpu, u64 *elr) in kvm_auth_eretax() argument
237 *elr = 0xbad9acc0debadbad; in kvm_auth_eretax()
H A Dkvm_asm.h270 u64 spsr, elr; \
282 : "+r" (__kvm_at_err), "=&r" (spsr), "=&r" (elr) \
H A Dkvm_hyp.h126 u64 elr, u64 par);
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c359 u64 elr = read_sysreg_el2(SYS_ELR); in hyp_panic() local
378 __hyp_do_panic(host_ctxt, spsr, elr, par); in hyp_panic()