Home
last modified time | relevance | path

Searched refs:write_sysreg_el2 (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/arch/arm64/kvm/hyp/include/hyp/
H A Dadjust_pc.h40 write_sysreg_el2(vcpu_gp_regs(vcpu)->pstate, SYS_SPSR); in __kvm_skip_instr()
41 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR); in __kvm_skip_instr()
50 write_sysreg_el2(read_sysreg_el2(SYS_ELR) + 4, SYS_ELR); in kvm_skip_host_instr()
H A Dswitch.h332 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR); in kvm_hyp_handle_mops()
339 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in kvm_hyp_handle_mops()
391 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_guest()
425 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_host()
428 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_host()
781 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in synchronize_vcpu_pstate()
810 write_sysreg_el2(read_sysreg_el2(SYS_ELR) - 4, SYS_ELR); in __fixup_guest_exit()
H A Dsysreg-sr.h293 write_sysreg_el2(ctxt->regs.pc, SYS_ELR); in __sysreg_restore_el2_return_state()
294 write_sysreg_el2(pstate, SYS_SPSR); in __sysreg_restore_el2_return_state()
/linux-6.15/arch/arm64/include/asm/
H A Dkvm_hyp.h32 #define write_sysreg_el2(v,r) write_sysreg_s(v, r##_EL1) macro
66 #define write_sysreg_el2(v,r) write_sysreg_elx(v, r, _EL2, _EL1) macro
/linux-6.15/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c420 write_sysreg_el2(spsr, SYS_SPSR); in kvm_hyp_handle_eret()
421 write_sysreg_el2(elr, SYS_ELR); in kvm_hyp_handle_eret()
/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c263 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR); in inject_undef64()
264 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in inject_undef64()
H A Dpsci-relay.c216 write_sysreg_el2(boot_args->pc, SYS_ELR); in __kvm_host_psci_cpu_entry()
H A Dhyp-main.c451 write_sysreg_el2(tmp, SYS_SCTLR); in handle___kvm_enable_ssbs()