Searched refs:parange (Results 1 – 3 of 3) sorted by relevance
338 unsigned int parange, tgran_2; in kvm_set_ipa_limit() local342 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() local411 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()
733 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument735 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()
2552 int parange, ipa_max; in verify_hyp_capabilities() local2571 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()