Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/
A Dreset.c318 unsigned int parange; in kvm_set_ipa_limit() local
322 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
331 parange = min(parange, (unsigned int)ID_AA64MMFR0_PARANGE_48); in kvm_set_ipa_limit()
352 kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
/linux/arch/arm64/include/asm/
A Dkvm_pgtable.h18 u64 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_get_parange() local
20 if (parange > ID_AA64MMFR0_PARANGE_MAX) in kvm_get_parange()
21 parange = ID_AA64MMFR0_PARANGE_MAX; in kvm_get_parange()
23 return parange; in kvm_get_parange()
A Dcpufeature.h784 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument
786 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()
/linux/arch/arm64/mm/
A Dinit.c288 int parange = cpuid_feature_extract_unsigned_field( in arm64_memblock_init() local
291 BIT(id_aa64mmfr0_parange_to_phys_shift(parange)); in arm64_memblock_init()
/linux/arch/arm64/kvm/hyp/nvhe/
A Dmem_protect.c87 u32 parange, phys_shift; in prepare_host_vtcr() local
90 parange = kvm_get_parange(id_aa64mmfr0_el1_sys_val); in prepare_host_vtcr()
91 phys_shift = id_aa64mmfr0_parange_to_phys_shift(parange); in prepare_host_vtcr()
/linux/arch/arm64/kernel/
A Dcpufeature.c2779 int parange, ipa_max; in verify_hyp_capabilities() local
2798 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()
2800 ipa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in verify_hyp_capabilities()

Completed in 20 milliseconds