summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include/x86_64/processor.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-14 20:06:38 +0000
committerSean Christopherson <seanjc@google.com>2022-07-13 18:14:13 -0700
commitb046f4ee9cb60da285e1d45a1fe8dc6bb5fc446e (patch)
treeb6b519d033453074248f8187ae808cf1aac92ec8 /tools/testing/selftests/kvm/include/x86_64/processor.h
parent045520e4755bbdf2f2983309c8eab6176a97a13d (diff)
downloadlinux-b046f4ee9cb60da285e1d45a1fe8dc6bb5fc446e.tar.bz2
KVM: selftests: Remove the obsolete/dead MMU role test
Remove the MMU role test, which was made obsolete by KVM commit feb627e8d6f6 ("KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN"). The ongoing costs of keeping the test updated far outweigh any benefits, e.g. the test _might_ be useful as an example or for documentation purposes, but otherwise the test is dead weight. Signed-off-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20220614200707.3315957-14-seanjc@google.com
Diffstat (limited to 'tools/testing/selftests/kvm/include/x86_64/processor.h')
-rw-r--r--tools/testing/selftests/kvm/include/x86_64/processor.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/kvm/include/x86_64/processor.h b/tools/testing/selftests/kvm/include/x86_64/processor.h
index 3b819bf673ac..14342e68e0b5 100644
--- a/tools/testing/selftests/kvm/include/x86_64/processor.h
+++ b/tools/testing/selftests/kvm/include/x86_64/processor.h
@@ -142,9 +142,6 @@ struct kvm_x86_cpu_feature {
#define CPUID_XSAVE (1ul << 26)
#define CPUID_OSXSAVE (1ul << 27)
-/* CPUID.0x8000_0001.EDX */
-#define CPUID_GBPAGES (1ul << 26)
-
/* CPUID.0x8000_000A.EDX */
#define CPUID_NRIPS BIT(3)