Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/include/asm/
Dkvm_nested.h34 static inline u64 translate_cptr_el2_to_cpacr_el1(u64 cptr_el2) in translate_cptr_el2_to_cpacr_el1() argument
38 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()
Del2_setup.h154 msr cptr_el2, x0 // Disable copro. traps to EL2
296 mrs x0, cptr_el2 // Disable SVE traps
298 msr cptr_el2, x0
317 mrs x0, cptr_el2 // Disable SME traps
319 msr cptr_el2, x0
Dkvm_emulate.h604 sysreg_clear_set(cptr_el2, \
614 write_sysreg(val, cptr_el2); in kvm_write_cptr_el2()
Dkvm_host.h702 u64 cptr_el2; member
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c75 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()
Dswitch.c46 val = vcpu->arch.cptr_el2; in __activate_traps()
/linux-6.12.1/arch/arm64/kvm/
Darm.c1594 vcpu->arch.cptr_el2 = kvm_get_reset_cptr_el2(vcpu); in kvm_arch_vcpu_ioctl_vcpu_init()