Home
last modified time | relevance | path

Searched refs:parange (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/arm64/kvm/
Dreset.c338 unsigned int parange, tgran_2; in kvm_set_ipa_limit() local
342 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
375 kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
395 u32 parange, phys_shift; in kvm_arm_setup_stage2() local
411 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_arm_setup_stage2()
413 if (parange > ID_AA64MMFR0_PARANGE_MAX) in kvm_arm_setup_stage2()
414 parange = ID_AA64MMFR0_PARANGE_MAX; in kvm_arm_setup_stage2()
415 vtcr |= parange << VTCR_EL2_PS_SHIFT; in kvm_arm_setup_stage2()
/Linux-v5.10/arch/arm64/include/asm/
Dcpufeature.h733 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument
735 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()
/Linux-v5.10/arch/arm64/kernel/
Dcpufeature.c2552 int parange, ipa_max; in verify_hyp_capabilities() local
2571 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()
2573 ipa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in verify_hyp_capabilities()