KVM: sefltests: Use CPUID_* instead of X86_FEATURE_* for one-off usage
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:27 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:08 +0000 (18:14 -0700)
commit683edfd42bc222daf17388afb0c752e38712fa05
treeebeb9bc78cd556aa6787f64f21ddb9eaebd1f26d
parent4c16fa3ee945183a2f4718a45035e1835c19205b
KVM: sefltests: Use CPUID_* instead of X86_FEATURE_* for one-off usage

Rename X86_FEATURE_* macros to CPUID_* in various tests to free up the
X86_FEATURE_* names for KVM-Unit-Tests style CPUID automagic where the
function, leaf, register, and bit for the feature is embedded in its
macro value.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-3-seanjc@google.com
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/x86_64/amx_test.c
tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c
tools/testing/selftests/kvm/x86_64/monitor_mwait_test.c
tools/testing/selftests/kvm/x86_64/svm_nested_soft_inject_test.c