Searched refs:write_sysreg_el1 (Results 1 – 8 of 8) sorted by relevance
/linux/arch/arm64/kvm/hyp/include/hyp/ |
A D | sysreg-sr.h | 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() 119 write_sysreg_el1(ctxt_sys_reg(ctxt, ESR_EL1), SYS_ESR); in __sysreg_restore_el1_state() 122 write_sysreg_el1(ctxt_sys_reg(ctxt, FAR_EL1), SYS_FAR); in __sysreg_restore_el1_state() 123 write_sysreg_el1(ctxt_sys_reg(ctxt, MAIR_EL1), SYS_MAIR); in __sysreg_restore_el1_state() 124 write_sysreg_el1(ctxt_sys_reg(ctxt, VBAR_EL1), SYS_VBAR); in __sysreg_restore_el1_state() 132 write_sysreg_el1(ctxt_sys_reg(ctxt, TFSR_EL1), SYS_TFSR); in __sysreg_restore_el1_state() 151 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __sysreg_restore_el1_state() 155 write_sysreg_el1(ctxt_sys_reg(ctxt, ELR_EL1), SYS_ELR); in __sysreg_restore_el1_state() [all …]
|
A D | switch.h | 247 write_sysreg_el1(val, SYS_SCTLR); in handle_tx2_tvm() 250 write_sysreg_el1(val, SYS_TTBR0); in handle_tx2_tvm() 253 write_sysreg_el1(val, SYS_TTBR1); in handle_tx2_tvm() 256 write_sysreg_el1(val, SYS_TCR); in handle_tx2_tvm() 259 write_sysreg_el1(val, SYS_ESR); in handle_tx2_tvm() 262 write_sysreg_el1(val, SYS_FAR); in handle_tx2_tvm() 265 write_sysreg_el1(val, SYS_AFSR0); in handle_tx2_tvm() 268 write_sysreg_el1(val, SYS_AFSR1); in handle_tx2_tvm() 271 write_sysreg_el1(val, SYS_MAIR); in handle_tx2_tvm() 274 write_sysreg_el1(val, SYS_AMAIR); in handle_tx2_tvm() [all …]
|
/linux/arch/arm64/kvm/hyp/vhe/ |
A 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/arch/arm64/kvm/hyp/nvhe/ |
A D | switch.c | 64 write_sysreg_el1(ctxt_sys_reg(ctxt, SCTLR_EL1), SYS_SCTLR); in __activate_traps() 66 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __activate_traps() 87 write_sysreg_el1(val | TCR_EPD1_MASK | TCR_EPD0_MASK, SYS_TCR); in __deactivate_traps() 90 write_sysreg_el1(val | SCTLR_ELx_M, SYS_SCTLR); in __deactivate_traps()
|
A 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()
|
A D | sys_regs.c | 46 write_sysreg_el1(esr, SYS_ESR); in inject_undef64() 47 write_sysreg_el1(read_sysreg_el2(SYS_ELR), SYS_ELR); in inject_undef64()
|
/linux/arch/arm64/include/asm/ |
A D | kvm_hyp.h | 47 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) macro
|
/linux/arch/arm64/kvm/hyp/ |
A D | exception.c | 41 write_sysreg_el1(val, SYS_SPSR); in __vcpu_write_spsr()
|
Completed in 10 milliseconds