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

/linux-master/arch/arm64/kvm/hyp/include/hyp/
H A Dadjust_pc.h35 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR);
36 vcpu_gp_regs(vcpu)->pstate = read_sysreg_el2(SYS_SPSR);
50 write_sysreg_el2(read_sysreg_el2(SYS_ELR) + 4, SYS_ELR);
H A Dfault.h48 far = read_sysreg_el2(SYS_FAR);
H A Dswitch.h308 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR);
688 ESR_ELx_EC(read_sysreg_el2(SYS_ESR)) == ESR_ELx_EC_PAC)
691 vcpu->arch.ctxt.regs.pstate = read_sysreg_el2(SYS_SPSR);
714 vcpu->arch.fault.esr_el2 = read_sysreg_el2(SYS_ESR);
729 write_sysreg_el2(read_sysreg_el2(SYS_ELR) - 4, SYS_ELR);
H A Dsysreg-sr.h95 ctxt->regs.pc = read_sysreg_el2(SYS_ELR);
101 ctxt->regs.pstate = read_sysreg_el2(SYS_SPSR);
/linux-master/arch/arm64/kvm/hyp/
H A Dvgic-v2-cpuif-proxy.c21 return !!(read_sysreg_el2(SYS_SPSR) & PSR_AA32_E_BIT);
/linux-master/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c317 read_sysreg_el2(SYS_ESR), read_sysreg_el2(SYS_FAR),
324 u64 spsr = read_sysreg_el2(SYS_SPSR);
325 u64 elr = read_sysreg_el2(SYS_ELR);
/linux-master/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-master/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c39 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR);
40 *vcpu_cpsr(vcpu) = read_sysreg_el2(SYS_SPSR);
47 write_sysreg_el1(read_sysreg_el2(SYS_ELR), SYS_ELR);
H A Dswitch.c364 u64 spsr = read_sysreg_el2(SYS_SPSR);
365 u64 elr = read_sysreg_el2(SYS_ELR);
H A Dhyp-main.c171 tmp = read_sysreg_el2(SYS_SCTLR);
413 u64 esr = read_sysreg_el2(SYS_ESR);
H A Dmem_protect.c535 esr = read_sysreg_el2(SYS_ESR);

Completed in 191 milliseconds