Searched refs:phys_shift (Results 1 - 4 of 4) sorted by relevance

/linux-master/arch/arm64/kvm/
H A Dmmu.c874 u32 phys_shift; local
879 phys_shift = KVM_VM_TYPE_ARM_IPA_SIZE(type);
881 phys_shift = kvm_ipa_limit;
882 } else if (phys_shift) {
883 if (phys_shift > kvm_ipa_limit ||
884 phys_shift < ARM64_MIN_PARANGE_BITS)
887 phys_shift = KVM_PHYS_SHIFT;
888 if (phys_shift > kvm_ipa_limit) {
897 mmu->vtcr = kvm_get_vtcr(mmfr0, mmfr1, phys_shift);
/linux-master/arch/arm64/include/asm/
H A Dkvm_pgtable.h461 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift);
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c126 u32 parange, phys_shift; local
130 phys_shift = id_aa64mmfr0_parange_to_phys_shift(parange);
133 id_aa64mmfr1_el1_sys_val, phys_shift);
/linux-master/arch/arm64/kvm/hyp/
H A Dpgtable.c634 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift) argument
640 vtcr |= VTCR_EL2_T0SZ(phys_shift);
645 lvls = stage2_pgtable_levels(phys_shift);

Completed in 123 milliseconds