Home
last modified time | relevance | path

Searched refs:parange (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/
H A Dreset.c367 unsigned int parange, tgran_2; in kvm_set_ipa_limit() local
371 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
380 parange = min(parange, (unsigned int)ID_AA64MMFR0_PARANGE_48); in kvm_set_ipa_limit()
414 kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
433 u32 parange, phys_shift; in kvm_arm_setup_stage2() local
454 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_arm_setup_stage2()
456 if (parange > ID_AA64MMFR0_PARANGE_MAX) in kvm_arm_setup_stage2()
457 parange = ID_AA64MMFR0_PARANGE_MAX; in kvm_arm_setup_stage2()
458 vtcr |= parange << VTCR_EL2_PS_SHIF in kvm_arm_setup_stage2()
[all...]
/kernel/linux/linux-6.6/arch/arm64/kvm/
H A Dreset.c312 unsigned int parange; in kvm_set_ipa_limit() local
316 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
325 parange = min(parange, (unsigned int)ID_AA64MMFR0_EL1_PARANGE_48); in kvm_set_ipa_limit()
346 kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A 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()
H A 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()
/kernel/linux/linux-6.6/arch/arm64/mm/
H A Dinit.c408 int parange = cpuid_feature_extract_unsigned_field( in arm64_memblock_init() local
411 BIT(id_aa64mmfr0_parange_to_phys_shift(parange)); in arm64_memblock_init()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dcpufeature.h765 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument
767 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c126 u32 parange, phys_shift; in prepare_host_vtcr() local
128 /* The host stage 2 is id-mapped, so use parange for T0SZ */ in prepare_host_vtcr()
129 parange = kvm_get_parange(id_aa64mmfr0_el1_sys_val); in prepare_host_vtcr()
130 phys_shift = id_aa64mmfr0_parange_to_phys_shift(parange); in prepare_host_vtcr()
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dcpufeature.c2585 int parange, ipa_max; in verify_hyp_capabilities() local
2604 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()
2606 ipa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in verify_hyp_capabilities()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dcpufeature.c3191 int parange, ipa_max; in verify_hyp_capabilities() local
3210 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()
3212 ipa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in verify_hyp_capabilities()

Completed in 15 milliseconds