Commit 31bbc99f authored by Jim Mattson's avatar Jim Mattson Committed by Jason Zeng
Browse files

x86/cpufeatures: Add macros for Intel's new fast rep string features

mainline inclusion
from mainline-v6.3-rc1
commit f8df91e7
category: feature
feature: SPR fast rep string operations
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6YPV0
CVE: N/A

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8df91e73a6827a4569bb56cd53e55b4ea2f5b1f



Intel-SIG: commit f8df91e7 ("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: default avatarJim Mattson <jmattson@google.com>
Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220901211811.2883855-1-jmattson@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
[ jason: amend commit log ]
Signed-off-by: default avatarJason Zeng <jason.zeng@intel.com>
parent be633dee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment