Home
last modified time | relevance | path

Searched refs:sys_regs (Results 1 – 7 of 7) sorted by relevance

/arch/arm64/kvm/hyp/
Dsysreg-sr.c28 ctxt->sys_regs[MDSCR_EL1] = read_sysreg(mdscr_el1); in __sysreg_save_common_state()
39 ctxt->sys_regs[TPIDR_EL0] = read_sysreg(tpidr_el0); in __sysreg_save_user_state()
40 ctxt->sys_regs[TPIDRRO_EL0] = read_sysreg(tpidrro_el0); in __sysreg_save_user_state()
45 ctxt->sys_regs[CSSELR_EL1] = read_sysreg(csselr_el1); in __sysreg_save_el1_state()
46 ctxt->sys_regs[SCTLR_EL1] = read_sysreg_el1(SYS_SCTLR); in __sysreg_save_el1_state()
47 ctxt->sys_regs[ACTLR_EL1] = read_sysreg(actlr_el1); in __sysreg_save_el1_state()
48 ctxt->sys_regs[CPACR_EL1] = read_sysreg_el1(SYS_CPACR); in __sysreg_save_el1_state()
49 ctxt->sys_regs[TTBR0_EL1] = read_sysreg_el1(SYS_TTBR0); in __sysreg_save_el1_state()
50 ctxt->sys_regs[TTBR1_EL1] = read_sysreg_el1(SYS_TTBR1); in __sysreg_save_el1_state()
51 ctxt->sys_regs[TCR_EL1] = read_sysreg_el1(SYS_TCR); in __sysreg_save_el1_state()
[all …]
Ddebug-sr.c148 ctxt->sys_regs[MDCCINT_EL1] = read_sysreg(mdccint_el1); in __debug_save_state()
168 write_sysreg(ctxt->sys_regs[MDCCINT_EL1], mdccint_el1); in __debug_restore_state()
Dswitch.c57 vcpu->arch.ctxt.sys_regs[FPEXC32_EL2] = read_sysreg(fpexc32_el2); in __fpsimd_save_fpexc32()
401 write_sysreg_s(vcpu->arch.ctxt.sys_regs[ZCR_EL1], SYS_ZCR_EL12); in __hyp_handle_fpsimd()
408 write_sysreg(vcpu->arch.ctxt.sys_regs[FPEXC32_EL2], in __hyp_handle_fpsimd()
/arch/arm64/kernel/
Dasm-offsets.c100 DEFINE(CPU_APIAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIAKEYLO_EL1])); in main()
101 DEFINE(CPU_APIBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIBKEYLO_EL1])); in main()
102 DEFINE(CPU_APDAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDAKEYLO_EL1])); in main()
103 DEFINE(CPU_APDBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDBKEYLO_EL1])); in main()
104 DEFINE(CPU_APGAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APGAKEYLO_EL1])); in main()
/arch/arm64/kvm/
Dfpsimd.c113 u64 *guest_zcr = &vcpu->arch.ctxt.sys_regs[ZCR_EL1]; in kvm_arch_vcpu_put_fp()
DMakefile20 kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
/arch/arm64/include/asm/
Dkvm_host.h220 u64 sys_regs[NR_SYS_REGS]; member
388 #define __vcpu_sys_reg(v,r) ((v)->arch.ctxt.sys_regs[(r)])
494 cpu_ctxt->sys_regs[MPIDR_EL1] = read_cpuid_mpidr(); in kvm_init_host_cpu_context()