Searched refs:phys_shift (Results 1 – 4 of 4) sorted by relevance
363 u32 phys_shift; in kvm_arm_setup_stage2() local368 phys_shift = KVM_VM_TYPE_ARM_IPA_SIZE(type); in kvm_arm_setup_stage2()369 if (phys_shift) { in kvm_arm_setup_stage2()370 if (phys_shift > kvm_ipa_limit || in kvm_arm_setup_stage2()371 phys_shift < ARM64_MIN_PARANGE_BITS) in kvm_arm_setup_stage2()374 phys_shift = KVM_PHYS_SHIFT; in kvm_arm_setup_stage2()375 if (phys_shift > kvm_ipa_limit) { in kvm_arm_setup_stage2()384 kvm->arch.vtcr = kvm_get_vtcr(mmfr0, mmfr1, phys_shift); in kvm_arm_setup_stage2()
93 u32 parange, phys_shift; in prepare_host_vtcr() local97 phys_shift = id_aa64mmfr0_parange_to_phys_shift(parange); in prepare_host_vtcr()100 id_aa64mmfr1_el1_sys_val, phys_shift); in prepare_host_vtcr()
268 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift);
520 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift) in kvm_get_vtcr() argument526 vtcr |= VTCR_EL2_T0SZ(phys_shift); in kvm_get_vtcr()531 lvls = stage2_pgtable_levels(phys_shift); in kvm_get_vtcr()