Searched refs:write_sysreg_el2 (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/ |
D | adjust_pc.h | 40 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()
|
D | switch.h | 302 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR); in kvm_hyp_handle_mops() 309 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in kvm_hyp_handle_mops() 653 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in synchronize_vcpu_pstate() 693 write_sysreg_el2(read_sysreg_el2(SYS_ELR) - 4, SYS_ELR); in fixup_guest_exit()
|
D | sysreg-sr.h | 265 write_sysreg_el2(ctxt->regs.pc, SYS_ELR); in __sysreg_restore_el2_return_state() 266 write_sysreg_el2(pstate, SYS_SPSR); in __sysreg_restore_el2_return_state()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_hyp.h | 32 #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.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | sys_regs.c | 48 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR); in inject_undef64() 49 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in inject_undef64()
|
D | psci-relay.c | 216 write_sysreg_el2(boot_args->pc, SYS_ELR); in __kvm_host_psci_cpu_entry()
|
D | hyp-main.c | 252 write_sysreg_el2(tmp, SYS_SCTLR); in handle___kvm_enable_ssbs()
|
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 306 write_sysreg_el2(spsr, SYS_SPSR); in kvm_hyp_handle_eret() 307 write_sysreg_el2(elr, SYS_ELR); in kvm_hyp_handle_eret()
|