]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: selftests: Change VM_MODE_PXXV48_4K to VM_MODE_PXXVYY_4K
authorJim Mattson <jmattson@google.com>
Tue, 28 Oct 2025 22:30:41 +0000 (15:30 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 21 Nov 2025 00:19:59 +0000 (16:19 -0800)
commitec5806639e39950527593e3be0efe7f0d7b65bf7
tree7ba4028eaf77a3342ad1afe983fd1008c7c14b27
parent2103a8baf5cb7e6169434e5f2cc6c311929f529a
KVM: selftests: Change VM_MODE_PXXV48_4K to VM_MODE_PXXVYY_4K

Use 57-bit addresses with 5-level paging on hardware that supports
LA57. Continue to use 48-bit addresses with 4-level paging on hardware
that doesn't support LA57.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20251028225827.2269128-4-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/include/x86/processor.h
tools/testing/selftests/kvm/lib/arm64/processor.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/x86/processor.c
tools/testing/selftests/kvm/lib/x86/vmx.c