KVM: arm64: Allow guests with >48-bit IPA size on FEAT_LPA2 systems
authorRyan Roberts <ryan.roberts@arm.com>
Mon, 27 Nov 2023 11:17:35 +0000 (11:17 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 27 Nov 2023 15:03:50 +0000 (15:03 +0000)
commitd782ac5b2ceebee5d374e13e990655d1a140d3a6
tree7944cf5c1ecfcbee3da0ab8bb068a7dc2b800ca3
parent0abc1b11a032199bb134fd25cd7ee0cdb26b7b03
KVM: arm64: Allow guests with >48-bit IPA size on FEAT_LPA2 systems

With all the page-table infrastructure in place, we can finally increase
the maximum permisable IPA size to 52-bits on 4KB and 16KB page systems
that have FEAT_LPA2.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231127111737.1897081-11-ryan.roberts@arm.com
arch/arm64/kvm/reset.c