-
由 Jim Mattson 提交于
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: NJim Mattson <jmattson@google.com> Reviewed-by: NSean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20220901211811.2883855-1-jmattson@google.comSigned-off-by: NSean Christopherson <seanjc@google.com> [ jason: amend commit log ] Signed-off-by: NJason Zeng <jason.zeng@intel.com>
31bbc99f