[PATCH 5/5] KVM: selftests: arm64: Add support for VM_MODE_P36V48_{4K,64K}

Andrew Jones drjones at redhat.com
Thu Dec 23 08:32:55 PST 2021


On Thu, Dec 16, 2021 at 12:31:35PM +0000, Marc Zyngier wrote:
> Some of the arm64 systems out there have an IPA space that is
> positively tiny. Nonetheless, they make great KVM hosts.
> 
> Add support for 36bit IPA support with 4kB pages, which makes
> some of the fruity machines happy. Whilst we're at it, add support
> for 64kB pages as well, though these boxes have no support for it.
> 
> 16kB is left as a exercise for the eager reviewer.
> 
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
>  tools/testing/selftests/kvm/include/kvm_util.h      | 2 ++
>  tools/testing/selftests/kvm/lib/aarch64/processor.c | 8 ++++++++
>  tools/testing/selftests/kvm/lib/guest_modes.c       | 4 ++++
>  tools/testing/selftests/kvm/lib/kvm_util.c          | 6 ++++++
>  4 files changed, 20 insertions(+)
>

Reviewed-by: Andrew Jones <drjones at redhat.com>




More information about the linux-arm-kernel mailing list