Home
last modified time | relevance | path

Searched refs:kvm_has_feat (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/arch/arm64/kvm/
Dnested.c489 if (!ttl || !kvm_has_feat(kvm, ID_AA64MMFR2_EL1, TTL, IMP)) { in compute_tlb_inval_range()
981 if (!kvm_has_feat(kvm, ID_AA64MMFR2_EL1, CnP, IMP)) in kvm_init_nv_sysregs()
998 if (!kvm_has_feat(kvm, ID_AA64MMFR1_EL1, TWED, IMP)) in kvm_init_nv_sysregs()
1000 if (!kvm_has_feat(kvm, ID_AA64PFR1_EL1, MTE, MTE2)) in kvm_init_nv_sysregs()
1002 if (!kvm_has_feat(kvm, ID_AA64MMFR2_EL1, EVT, TTLBxS)) in kvm_init_nv_sysregs()
1004 if (!kvm_has_feat(kvm, ID_AA64PFR0_EL1, CSV2, CSV2_2) && in kvm_init_nv_sysregs()
1005 !kvm_has_feat(kvm, ID_AA64PFR1_EL1, CSV2_frac, CSV2_1p2)) in kvm_init_nv_sysregs()
1007 if (!kvm_has_feat(kvm, ID_AA64MMFR2_EL1, EVT, IMP)) in kvm_init_nv_sysregs()
1009 if (!kvm_has_feat(kvm, ID_AA64PFR0_EL1, AMU, V1P1)) in kvm_init_nv_sysregs()
1011 if (!kvm_has_feat(kvm, ID_AA64PFR0_EL1, RAS, V1P1)) in kvm_init_nv_sysregs()
[all …]
Dat.c177 wi->hpd = kvm_has_feat(vcpu->kvm, ID_AA64MMFR1_EL1, HPDS, IMP); in setup_s1_walk()
225 lva = kvm_has_feat(vcpu->kvm, ID_AA64MMFR0_EL1, TGRAN4, 52_BIT); in setup_s1_walk()
229 lva = kvm_has_feat(vcpu->kvm, ID_AA64MMFR0_EL1, TGRAN16, 52_BIT); in setup_s1_walk()
233 lva = kvm_has_feat(vcpu->kvm, ID_AA64MMFR2_EL1, VARange, 52); in setup_s1_walk()
253 if (kvm_has_feat(vcpu->kvm, ID_AA64MMFR2_EL1, E0PD, IMP) && in setup_s1_walk()
620 if (!kvm_has_feat(vcpu->kvm, ID_AA64PFR2_EL1, MTEPERM, IMP)) in compute_par_s12()
739 if (!kvm_has_feat(vcpu->kvm, ID_AA64MMFR1_EL1, PAN, PAN3)) in pan3_enabled()
Dsys_regs.c394 !kvm_has_feat(vcpu->kvm, ID_AA64MMFR3_EL1, TCRX, IMP)) in access_vm_reg()
520 if (!kvm_has_feat(vcpu->kvm, ID_AA64MMFR1_EL1, LO, IMP)) in trap_loregion()
1680 if (kvm_has_feat(vcpu->kvm, ID_AA64PFR1_EL1, SME, IMP)) in sme_visibility()
2276 if (kvm_has_feat(vcpu->kvm, ID_AA64MMFR3_EL1, S1POE, IMP)) in s1poe_visibility()
2892 !kvm_has_feat(vcpu->kvm, ID_AA64ISAR2_EL1, ATS1A, IMP)) { in handle_at_s1e2()
2918 !kvm_has_feat(kvm, ID_AA64ISAR1_EL1, XS, IMP)) in kvm_supported_tlbi_s12_op()
2922 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, OS)) in kvm_supported_tlbi_s12_op()
2956 !kvm_has_feat(kvm, ID_AA64ISAR1_EL1, XS, IMP)) in kvm_supported_tlbi_ipas2_op()
2960 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, RANGE)) in kvm_supported_tlbi_ipas2_op()
2964 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, OS)) in kvm_supported_tlbi_ipas2_op()
[all …]
Dpmu-emul.c67 if (kvm_has_feat(kvm, ID_AA64PFR0_EL1, EL2, IMP)) in kvm_pmu_evtyper_mask()
70 if (kvm_has_feat(kvm, ID_AA64PFR0_EL1, EL3, IMP)) in kvm_pmu_evtyper_mask()
87 kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5)); in kvm_pmc_is_64bit()
559 if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5)) in kvm_pmu_handle_pmcr()
Dhypercalls.c320 if (kvm_has_feat(vcpu->kvm, ID_AA64PFR1_EL1, SSBS, IMP)) in kvm_smccc_call_handler()
452 if (kvm_has_feat(vcpu->kvm, ID_AA64PFR1_EL1, SSBS, IMP)) in get_kernel_wa_level()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_nested.h145 kvm_has_feat(kvm, ID_AA64ISAR1_EL1, XS, IMP)))) in kvm_supported_tlbi_s1e1_op()
149 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, OS)) in kvm_supported_tlbi_s1e1_op()
154 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, RANGE)) in kvm_supported_tlbi_s1e1_op()
171 kvm_has_feat(kvm, ID_AA64ISAR1_EL1, XS, IMP)))) in kvm_supported_tlbi_s1e2_op()
178 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, OS)) in kvm_supported_tlbi_s1e2_op()
183 !kvm_has_feat(kvm, ID_AA64ISAR0_EL1, TLB, RANGE)) in kvm_supported_tlbi_s1e2_op()
Dkvm_host.h1477 #define kvm_has_feat(kvm, id, fld, limit) \ macro
1492 pa = kvm_has_feat((k), ID_AA64ISAR1_EL1, APA, l); \
1493 pa &= kvm_has_feat((k), ID_AA64ISAR1_EL1, GPA, IMP); \
1494 pi = kvm_has_feat((k), ID_AA64ISAR1_EL1, API, l); \
1495 pi &= kvm_has_feat((k), ID_AA64ISAR1_EL1, GPI, IMP); \
1496 pa3 = kvm_has_feat((k), ID_AA64ISAR2_EL1, APA3, l); \
1497 pa3 &= kvm_has_feat((k), ID_AA64ISAR2_EL1, GPA3, IMP); \
1504 kvm_has_feat((k), ID_AA64PFR2_EL1, FPMR, IMP))
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h61 return kvm_has_feat(kern_hyp_va(vcpu->kvm), ID_AA64MMFR3_EL1, S1PIE, IMP); in ctxt_has_s1pie()
72 return kvm_has_feat(kern_hyp_va(vcpu->kvm), ID_AA64MMFR3_EL1, TCRX, IMP); in ctxt_has_tcrx()
83 return kvm_has_feat(kern_hyp_va(vcpu->kvm), ID_AA64MMFR3_EL1, S1POE, IMP); in ctxt_has_s1poe()
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic.h353 return kvm_has_feat(kvm, ID_AA64PFR0_EL1, GIC, IMP); in kvm_has_gicv3()
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dswitch.c130 if (kvm_has_feat(vcpu->kvm, ID_AA64MMFR3_EL1, S2POE, IMP)) in __activate_cptr_traps()