Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/ !
Dreset.c357 unsigned int parange; in kvm_set_ipa_limit() local
361 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
370 parange = min(parange, (unsigned int)ID_AA64MMFR0_EL1_PARANGE_48); in kvm_set_ipa_limit()
391 kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
/linux-6.1.9/arch/arm64/include/asm/ !
Dkvm_pgtable.h30 u64 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_get_parange() local
32 if (parange > ID_AA64MMFR0_EL1_PARANGE_MAX) in kvm_get_parange()
33 parange = ID_AA64MMFR0_EL1_PARANGE_MAX; in kvm_get_parange()
35 return parange; in kvm_get_parange()
Dcpufeature.h837 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument
839 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()
/linux-6.1.9/arch/arm64/mm/ !
Dinit.c362 int parange = cpuid_feature_extract_unsigned_field( in arm64_memblock_init() local
365 BIT(id_aa64mmfr0_parange_to_phys_shift(parange)); in arm64_memblock_init()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ !
Dmem_protect.c108 u32 parange, phys_shift; in prepare_host_vtcr() local
111 parange = kvm_get_parange(id_aa64mmfr0_el1_sys_val); in prepare_host_vtcr()
112 phys_shift = id_aa64mmfr0_parange_to_phys_shift(parange); in prepare_host_vtcr()
/linux-6.1.9/arch/arm64/kernel/ !
Dcpufeature.c3127 int parange, ipa_max; in verify_hyp_capabilities() local
3146 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()
3148 ipa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in verify_hyp_capabilities()