Home
last modified time | relevance | path

Searched refs:esr_el2 (Results 1 – 11 of 11) sorted by relevance

/linux/arch/arm64/kvm/
H A Dtrace_arm.h362 TP_PROTO(struct kvm_vcpu *vcpu, u64 esr_el2, int type),
363 TP_ARGS(vcpu, esr_el2, type),
367 __field(unsigned long, esr_el2)
377 __entry->esr_el2 = esr_el2;
387 __entry->esr_el2, __entry->pc, __entry->spsr_el2,
H A Demulate-nested.c2738 static void kvm_inject_el2_exception(struct kvm_vcpu *vcpu, u64 esr_el2, in kvm_inject_el2_exception() argument
2741 trace_kvm_inject_nested_exception(vcpu, esr_el2, type); in kvm_inject_el2_exception()
2746 vcpu_write_sys_reg(vcpu, esr_el2, ESR_EL2); in kvm_inject_el2_exception()
2763 static int kvm_inject_nested(struct kvm_vcpu *vcpu, u64 esr_el2, in kvm_inject_nested() argument
2791 kvm_inject_el2_exception(vcpu, esr_el2, type); in kvm_inject_nested()
2805 kvm_inject_el2_exception(vcpu, esr_el2, type); in kvm_inject_nested()
2827 int kvm_inject_nested_sync(struct kvm_vcpu *vcpu, u64 esr_el2) in kvm_inject_nested_sync() argument
2829 return kvm_inject_nested(vcpu, esr_el2, except_type_sync); in kvm_inject_nested_sync()
H A Dnested.c854 int kvm_inject_s2_fault(struct kvm_vcpu *vcpu, u64 esr_el2) in kvm_inject_s2_fault() argument
859 return kvm_inject_nested_sync(vcpu, esr_el2); in kvm_inject_s2_fault()
/linux/arch/arm64/kvm/hyp/
H A Dentry.S197 mrs x3, esr_el2
224 msr esr_el2, x3
H A Dhyp-entry.S46 mrs x0, esr_el2
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhost.S134 mrs x0, esr_el2
175 mrs x0, esr_el2
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h413 return __get_fault_info(vcpu->arch.fault.esr_el2, &vcpu->arch.fault); in __populate_fault_info()
419 arm64_mops_reset_regs(vcpu_gp_regs(vcpu), vcpu->arch.fault.esr_el2); in kvm_hyp_handle_mops()
882 vcpu->arch.fault.esr_el2 = read_sysreg_el2(SYS_ESR); in __fixup_guest_exit()
/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h79 int kvm_inject_nested_sync(struct kvm_vcpu *vcpu, u64 esr_el2);
317 return vcpu->arch.fault.esr_el2; in kvm_vcpu_get_esr()
H A Dkvm_nested.h165 extern int kvm_inject_s2_fault(struct kvm_vcpu *vcpu, u64 esr_el2);
H A Dkvm_host.h411 u64 esr_el2; /* Hyp Syndrom Register */ member
/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c515 vcpu->arch.fault.esr_el2 = FIELD_PREP(ESR_ELx_EC_MASK, ESR_ELx_EC_SYS64) | in kvm_hyp_handle_impdef()