Searched refs:cptr_el2 (Results 1 – 7 of 7) sorted by relevance
34 static inline u64 translate_cptr_el2_to_cpacr_el1(u64 cptr_el2) in translate_cptr_el2_to_cpacr_el1() argument38 if (cptr_el2 & CPTR_EL2_TTA) in translate_cptr_el2_to_cpacr_el1()40 if (!(cptr_el2 & CPTR_EL2_TFP)) in translate_cptr_el2_to_cpacr_el1()42 if (!(cptr_el2 & CPTR_EL2_TZ)) in translate_cptr_el2_to_cpacr_el1()45 cpacr_el1 |= cptr_el2 & (CPTR_EL2_TCPAC | CPTR_EL2_TAM); in translate_cptr_el2_to_cpacr_el1()
154 msr cptr_el2, x0 // Disable copro. traps to EL2296 mrs x0, cptr_el2 // Disable SVE traps298 msr cptr_el2, x0317 mrs x0, cptr_el2 // Disable SME traps319 msr cptr_el2, x0
604 sysreg_clear_set(cptr_el2, \614 write_sysreg(val, cptr_el2); in kvm_write_cptr_el2()
702 u64 cptr_el2; member
75 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64pfr0()76 vcpu->arch.cptr_el2 &= ~cptr_clear; in pvm_init_traps_aa64pfr0()147 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64dfr0()199 vcpu->arch.cptr_el2 |= CPTR_NVHE_EL2_RES1; in pvm_init_trap_regs()200 vcpu->arch.cptr_el2 &= ~(CPTR_NVHE_EL2_RES0); in pvm_init_trap_regs()582 hyp_vcpu->vcpu.arch.cptr_el2 = kvm_get_reset_cptr_el2(&hyp_vcpu->vcpu); in __pkvm_init_vcpu()
46 val = vcpu->arch.cptr_el2; in __activate_traps()
1594 vcpu->arch.cptr_el2 = kvm_get_reset_cptr_el2(vcpu); in kvm_arch_vcpu_ioctl_vcpu_init()