]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29c8bdefe2d2b479066531036eb4f474a7a832d5
treeebeb9bc78cd556aa6787f64f21ddb9eaebd1f26d
parent23c5ee5743afd494853dcae6362943a7d889a0a5
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