Re: [PATCH V2] KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size

2021-08-11 Thread Marc Zyngier
On Wed, 11 Aug 2021 16:41:15 +0530, Anshuman Khandual wrote: > Even though ID_AA64MMFR0.PARANGE reports 52 bit PA size support, it cannot > be enabled as guest IPA size on 4K or 16K page size configurations. Hence > kvm_ipa_limit must be restricted to 48 bits. This change achieves required > IPA

[PATCH V2] KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size

2021-08-11 Thread Anshuman Khandual
Even though ID_AA64MMFR0.PARANGE reports 52 bit PA size support, it cannot be enabled as guest IPA size on 4K or 16K page size configurations. Hence kvm_ipa_limit must be restricted to 48 bits. This change achieves required IPA capping. Before the commit c9b69a0cf0b4 ("KVM: arm64: Don't constrain