Home
last modified time | relevance | path

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

/arch/arm64/kvm/
Dreset.c345 unsigned int ipa_max, pa_max, va_max, parange; in kvm_set_ipa_limit() local
347 parange = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1) & 0x7; in kvm_set_ipa_limit()
348 pa_max = id_aa64mmfr0_parange_to_phys_shift(parange); in kvm_set_ipa_limit()
394 u32 parange, phys_shift; in kvm_arm_setup_stage2() local
409 parange = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1) & 7; in kvm_arm_setup_stage2()
410 if (parange > ID_AA64MMFR0_PARANGE_MAX) in kvm_arm_setup_stage2()
411 parange = ID_AA64MMFR0_PARANGE_MAX; in kvm_arm_setup_stage2()
412 vtcr |= parange << VTCR_EL2_PS_SHIFT; in kvm_arm_setup_stage2()
/arch/arm64/include/asm/
Dcpufeature.h642 static inline u32 id_aa64mmfr0_parange_to_phys_shift(int parange) in id_aa64mmfr0_parange_to_phys_shift() argument
644 switch (parange) { in id_aa64mmfr0_parange_to_phys_shift()