Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dadjust_pc.h35 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR); in __kvm_skip_instr()
36 vcpu_gp_regs(vcpu)->pstate = read_sysreg_el2(SYS_SPSR); in __kvm_skip_instr()
50 write_sysreg_el2(read_sysreg_el2(SYS_ELR) + 4, SYS_ELR); in kvm_skip_host_instr()
H A Dswitch.h420 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR); in kvm_hyp_handle_mops()
869 ESR_ELx_EC(read_sysreg_el2(SYS_ESR)) == ESR_ELx_EC_PAC) in synchronize_vcpu_pstate()
872 vcpu->arch.ctxt.regs.pstate = read_sysreg_el2(SYS_SPSR); in synchronize_vcpu_pstate()
884 vcpu->arch.fault.esr_el2 = read_sysreg_el2(SYS_ESR); in __fixup_guest_exit()
899 write_sysreg_el2(read_sysreg_el2(SYS_ELR) - 4, SYS_ELR); in __fixup_guest_exit()
H A Dfault.h86 fault->far_el2 = read_sysreg_el2(SYS_FAR); in __get_fault_info()
H A Dsysreg-sr.h179 ctxt->regs.pc = read_sysreg_el2(SYS_ELR); in __sysreg_save_el2_return_state()
185 ctxt->regs.pstate = read_sysreg_el2(SYS_SPSR); in __sysreg_save_el2_return_state()
/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c671 read_sysreg_el2(SYS_ESR), read_sysreg_el2(SYS_FAR), in __hyp_call_panic()
678 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic()
679 u64 elr = read_sysreg_el2(SYS_ELR); in hyp_panic()
/linux/arch/arm64/include/asm/
H A Dkvm_hyp.h31 #define read_sysreg_el2(r) read_sysreg_s(r##_EL1) macro
65 #define read_sysreg_el2(r) read_sysreg_elx(r, _EL2, _EL1) macro
/linux/arch/arm64/kvm/hyp/
H A Dvgic-v2-cpuif-proxy.c21 return !!(read_sysreg_el2(SYS_SPSR) & PSR_AA32_E_BIT); in __is_be()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c358 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic()
359 u64 elr = read_sysreg_el2(SYS_ELR); in hyp_panic()
H A Dsys_regs.c254 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR); in inject_undef64()
255 *vcpu_cpsr(vcpu) = read_sysreg_el2(SYS_SPSR); in inject_undef64()
263 write_sysreg_el1(read_sysreg_el2(SYS_ELR), SYS_ELR); in inject_undef64()
H A Dhyp-main.c456 tmp = read_sysreg_el2(SYS_SCTLR); in handle___kvm_enable_ssbs()
695 u64 esr = read_sysreg_el2(SYS_ESR); in handle_trap()
H A Dmem_protect.c612 esr = read_sysreg_el2(SYS_ESR); in handle_host_mem_abort()