x86/cpufeatures: Add macros for Intel's new fast rep string features
authorJim Mattson <jmattson@google.com>
Thu, 1 Sep 2022 21:18:06 +0000 (14:18 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:05:17 +0000 (10:05 -0800)
commitf8df91e73a6827a4569bb56cd53e55b4ea2f5b1f
tree2e124089b67f708c777b2c5be6812b9e3eadbdf3
parent7cb79f433e75b05d1635aefaa851cfcd1cb7dc4f
x86/cpufeatures: Add macros for Intel's new fast rep string features

KVM_GET_SUPPORTED_CPUID should reflect these host CPUID bits. The bits
are already cached in word 12. Give the bits X86_FEATURE names, so
that they can be easily referenced. Hide these bits from
/proc/cpuinfo, since the host kernel makes no use of them at present.

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220901211811.2883855-1-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/cpufeatures.h