Searched refs:write_sysreg_el1 (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/arch/arm64/kvm/hyp/include/hyp/ |
D | sysreg-sr.h | 102 write_sysreg_el1(ctxt_sys_reg(ctxt, SCTLR_EL1), SYS_SCTLR); in __sysreg_restore_el1_state() 103 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __sysreg_restore_el1_state() 110 write_sysreg_el1((ctxt_sys_reg(ctxt, TCR_EL1) | in __sysreg_restore_el1_state() 116 write_sysreg_el1(ctxt_sys_reg(ctxt, CPACR_EL1), SYS_CPACR); in __sysreg_restore_el1_state() 117 write_sysreg_el1(ctxt_sys_reg(ctxt, TTBR0_EL1), SYS_TTBR0); in __sysreg_restore_el1_state() 118 write_sysreg_el1(ctxt_sys_reg(ctxt, TTBR1_EL1), SYS_TTBR1); in __sysreg_restore_el1_state() 119 write_sysreg_el1(ctxt_sys_reg(ctxt, ESR_EL1), SYS_ESR); in __sysreg_restore_el1_state() 120 write_sysreg_el1(ctxt_sys_reg(ctxt, AFSR0_EL1), SYS_AFSR0); in __sysreg_restore_el1_state() 121 write_sysreg_el1(ctxt_sys_reg(ctxt, AFSR1_EL1), SYS_AFSR1); in __sysreg_restore_el1_state() 122 write_sysreg_el1(ctxt_sys_reg(ctxt, FAR_EL1), SYS_FAR); in __sysreg_restore_el1_state() [all …]
|
D | switch.h | 158 write_sysreg_el1(__vcpu_sys_reg(vcpu, ZCR_EL1), SYS_ZCR); in __hyp_sve_restore_guest() 235 write_sysreg_el1(val, SYS_SCTLR); in handle_tx2_tvm() 238 write_sysreg_el1(val, SYS_TTBR0); in handle_tx2_tvm() 241 write_sysreg_el1(val, SYS_TTBR1); in handle_tx2_tvm() 244 write_sysreg_el1(val, SYS_TCR); in handle_tx2_tvm() 247 write_sysreg_el1(val, SYS_ESR); in handle_tx2_tvm() 250 write_sysreg_el1(val, SYS_FAR); in handle_tx2_tvm() 253 write_sysreg_el1(val, SYS_AFSR0); in handle_tx2_tvm() 256 write_sysreg_el1(val, SYS_AFSR1); in handle_tx2_tvm() 259 write_sysreg_el1(val, SYS_MAIR); in handle_tx2_tvm() [all …]
|
/linux-6.1.9/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 38 write_sysreg_el1(val, SYS_TCR); in __tlb_switch_to_guest() 41 write_sysreg_el1(val, SYS_SCTLR); in __tlb_switch_to_guest() 75 write_sysreg_el1(cxt->tcr, SYS_TCR); in __tlb_switch_to_host() 76 write_sysreg_el1(cxt->sctlr, SYS_SCTLR); in __tlb_switch_to_host()
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 67 write_sysreg_el1(ctxt_sys_reg(ctxt, SCTLR_EL1), SYS_SCTLR); in __activate_traps() 69 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __activate_traps() 90 write_sysreg_el1(val | TCR_EPD1_MASK | TCR_EPD0_MASK, SYS_TCR); in __deactivate_traps() 93 write_sysreg_el1(val | SCTLR_ELx_M, SYS_SCTLR); in __deactivate_traps()
|
D | tlb.c | 32 write_sysreg_el1(val, SYS_TCR); in __tlb_switch_to_guest() 54 write_sysreg_el1(cxt->tcr, SYS_TCR); in __tlb_switch_to_host()
|
D | sys_regs.c | 45 write_sysreg_el1(esr, SYS_ESR); in inject_undef64() 46 write_sysreg_el1(read_sysreg_el2(SYS_ELR), SYS_ELR); in inject_undef64()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | kvm_hyp.h | 47 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) macro
|
/linux-6.1.9/arch/arm64/kvm/hyp/ |
D | exception.c | 43 write_sysreg_el1(val, SYS_SPSR); in __vcpu_write_spsr()
|