Searched refs:cptr_el2 (Results 1 – 4 of 4) 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()
162 msr cptr_el2, x0 // Disable copro. traps to EL2340 mrs x0, cptr_el2 // Disable SVE traps342 msr cptr_el2, x0361 mrs x0, cptr_el2 // Disable SME traps363 msr cptr_el2, x0
78 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64pfr0()79 vcpu->arch.cptr_el2 &= ~cptr_clear; in pvm_init_traps_aa64pfr0()150 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64dfr0()202 vcpu->arch.cptr_el2 |= CPTR_NVHE_EL2_RES1; in pvm_init_trap_regs()203 vcpu->arch.cptr_el2 &= ~(CPTR_NVHE_EL2_RES0); in pvm_init_trap_regs()239 vcpu->arch.cptr_el2 = kvm_get_reset_cptr_el2(vcpu); in pkvm_vcpu_init_traps()696 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()