OSDN Git Service

KVM: selftests: Add X86_FEATURE_PAE and use it calc "fallback" MAXPHYADDR
authorSean Christopherson <seanjc@google.com>
Thu, 6 Oct 2022 00:51:14 +0000 (00:51 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Nov 2022 00:59:02 +0000 (16:59 -0800)
commit3bd396353d18b4f4e4f9953e5f5c46b0045a5477
treec41756f7a08e735dfc9f840cc6d9a306d7ca1cbd
parent3ae5b759c3c033b4ca2b7ef19836622902151517
KVM: selftests: Add X86_FEATURE_PAE and use it calc "fallback" MAXPHYADDR

Add X86_FEATURE_PAE and use it to guesstimate the MAXPHYADDR when the
MAXPHYADDR CPUID entry isn't supported.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221006005125.680782-2-seanjc@google.com
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c