Searched refs:ctxt_sys_reg (Results 1 – 5 of 5) sorted by relevance
/linux/arch/arm64/kvm/hyp/include/hyp/ |
A D | sysreg-sr.h | 21 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state() 26 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state() 47 ctxt_sys_reg(ctxt, TCR_EL1) = read_sysreg_el1(SYS_TCR); in __sysreg_save_el1_state() 48 ctxt_sys_reg(ctxt, ESR_EL1) = read_sysreg_el1(SYS_ESR); in __sysreg_save_el1_state() 51 ctxt_sys_reg(ctxt, FAR_EL1) = read_sysreg_el1(SYS_FAR); in __sysreg_save_el1_state() 57 ctxt_sys_reg(ctxt, PAR_EL1) = read_sysreg_par(); in __sysreg_save_el1_state() 58 ctxt_sys_reg(ctxt, TPIDR_EL1) = read_sysreg(tpidr_el1); in __sysreg_save_el1_state() 65 ctxt_sys_reg(ctxt, SP_EL1) = read_sysreg(sp_el1); in __sysreg_save_el1_state() 110 write_sysreg_el1((ctxt_sys_reg(ctxt, TCR_EL1) | in __sysreg_restore_el1_state() 128 write_sysreg(ctxt_sys_reg(ctxt, PAR_EL1), par_el1); in __sysreg_restore_el1_state() [all …]
|
A D | debug-sr.h | 106 ctxt_sys_reg(ctxt, MDCCINT_EL1) = read_sysreg(mdccint_el1); in __debug_save_state() 125 write_sysreg(ctxt_sys_reg(ctxt, MDCCINT_EL1), mdccint_el1); in __debug_restore_state()
|
A D | switch.h | 310 ctxt_sys_reg(ctxt, key ## KEYLO_EL1) = __val; \ 312 ctxt_sys_reg(ctxt, key ## KEYHI_EL1) = __val; \
|
/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()
|
/linux/arch/arm64/include/asm/ |
A D | kvm_host.h | 474 #define ctxt_sys_reg(c,r) (*__ctxt_sys_reg(c,r)) macro 476 #define __vcpu_sys_reg(v,r) (ctxt_sys_reg(&(v)->arch.ctxt, (r))) 712 ctxt_sys_reg(cpu_ctxt, MPIDR_EL1) = read_cpuid_mpidr(); in kvm_init_host_cpu_context()
|
Completed in 9 milliseconds