Home
last modified time | relevance | path

Searched refs:write_sysreg_el1 (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/arm64/kvm/hyp/
Dsysreg-sr.c120 write_sysreg_el1(ctxt->sys_regs[SCTLR_EL1], SYS_SCTLR); in __sysreg_restore_el1_state()
122 write_sysreg_el1(ctxt->sys_regs[CPACR_EL1], SYS_CPACR); in __sysreg_restore_el1_state()
123 write_sysreg_el1(ctxt->sys_regs[TTBR0_EL1], SYS_TTBR0); in __sysreg_restore_el1_state()
124 write_sysreg_el1(ctxt->sys_regs[TTBR1_EL1], SYS_TTBR1); in __sysreg_restore_el1_state()
125 write_sysreg_el1(ctxt->sys_regs[TCR_EL1], SYS_TCR); in __sysreg_restore_el1_state()
126 write_sysreg_el1(ctxt->sys_regs[ESR_EL1], SYS_ESR); in __sysreg_restore_el1_state()
127 write_sysreg_el1(ctxt->sys_regs[AFSR0_EL1], SYS_AFSR0); in __sysreg_restore_el1_state()
128 write_sysreg_el1(ctxt->sys_regs[AFSR1_EL1], SYS_AFSR1); in __sysreg_restore_el1_state()
129 write_sysreg_el1(ctxt->sys_regs[FAR_EL1], SYS_FAR); in __sysreg_restore_el1_state()
130 write_sysreg_el1(ctxt->sys_regs[MAIR_EL1], SYS_MAIR); in __sysreg_restore_el1_state()
[all …]
Dswitch.c403 write_sysreg_el1(val, SYS_SCTLR); in handle_tx2_tvm()
406 write_sysreg_el1(val, SYS_TTBR0); in handle_tx2_tvm()
409 write_sysreg_el1(val, SYS_TTBR1); in handle_tx2_tvm()
412 write_sysreg_el1(val, SYS_TCR); in handle_tx2_tvm()
415 write_sysreg_el1(val, SYS_ESR); in handle_tx2_tvm()
418 write_sysreg_el1(val, SYS_FAR); in handle_tx2_tvm()
421 write_sysreg_el1(val, SYS_AFSR0); in handle_tx2_tvm()
424 write_sysreg_el1(val, SYS_AFSR1); in handle_tx2_tvm()
427 write_sysreg_el1(val, SYS_MAIR); in handle_tx2_tvm()
430 write_sysreg_el1(val, SYS_AMAIR); in handle_tx2_tvm()
[all …]
Dtlb.c38 write_sysreg_el1(val, SYS_TCR); in __tlb_switch_to_guest_vhe()
41 write_sysreg_el1(val, SYS_SCTLR); in __tlb_switch_to_guest_vhe()
92 write_sysreg_el1(cxt->tcr, SYS_TCR); in __tlb_switch_to_host_vhe()
93 write_sysreg_el1(cxt->sctlr, SYS_SCTLR); in __tlb_switch_to_host_vhe()
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_hyp.h46 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) macro
Dkvm_emulate.h137 write_sysreg_el1(v, SYS_ELR); in vcpu_write_elr_el1()
202 write_sysreg_el1(v, SYS_SPSR); in vcpu_write_spsr()
/Linux-v5.4/arch/arm64/kvm/
Dregmap.c180 write_sysreg_el1(v, SYS_SPSR); in vcpu_write_spsr32()