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

2021-08-11 Thread Anshuman Khandual
On 8/11/21 3:06 PM, Marc Zyngier wrote: > On Wed, 11 Aug 2021 05:52:29 +0100, > 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 restric

Re: [PATCH] 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 05:52:29 +0100, 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 > IP

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

2021-08-10 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