Home
last modified time | relevance | path

Searched refs:ctxt_sys_reg (Results 1 – 5 of 5) sorted by relevance

/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h21 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()
27 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state()
42 ctxt_sys_reg(ctxt, CSSELR_EL1) = read_sysreg(csselr_el1); in __sysreg_save_el1_state()
43 ctxt_sys_reg(ctxt, SCTLR_EL1) = read_sysreg_el1(SYS_SCTLR); in __sysreg_save_el1_state()
44 ctxt_sys_reg(ctxt, CPACR_EL1) = read_sysreg_el1(SYS_CPACR); in __sysreg_save_el1_state()
45 ctxt_sys_reg(ctxt, TTBR0_EL1) = read_sysreg_el1(SYS_TTBR0); in __sysreg_save_el1_state()
46 ctxt_sys_reg(ctxt, TTBR1_EL1) = read_sysreg_el1(SYS_TTBR1); in __sysreg_save_el1_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()
[all …]
Ddebug-sr.h106 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()
Dswitch.h226 ctxt_sys_reg(ctxt, key ## KEYLO_EL1) = __val; \
228 ctxt_sys_reg(ctxt, key ## KEYHI_EL1) = __val; \
/arch/arm64/include/asm/
Dkvm_host.h596 #define ctxt_sys_reg(c,r) (*__ctxt_sys_reg(c,r)) macro
598 #define __vcpu_sys_reg(v,r) (ctxt_sys_reg(&(v)->arch.ctxt, (r)))
700 return ctxt_sys_reg(&vcpu_arch->ctxt, reg); in vcpu_arch_read_sys_reg()
710 ctxt_sys_reg(&vcpu_arch->ctxt, reg) = val; in vcpu_arch_write_sys_reg()
858 ctxt_sys_reg(cpu_ctxt, MPIDR_EL1) = read_cpuid_mpidr(); in kvm_init_host_cpu_context()
/arch/arm64/kvm/hyp/nvhe/
Dswitch.c63 write_sysreg_el1(ctxt_sys_reg(ctxt, SCTLR_EL1), SYS_SCTLR); in __activate_traps()
65 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __activate_traps()