diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-03-23 10:22:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-23 20:44:24 +0100 |
commit | e3747407c4d52ee3f82afdad235866e815362197 (patch) | |
tree | 5816024f215f16650dfda3e22a4f0c0aca266ccf /arch/x86/kvm/cpuid.c | |
parent | tools/kvm_stat: add command line switch '-c' to log in csv format (diff) | |
download | linux-e3747407c4d52ee3f82afdad235866e815362197.tar.xz linux-e3747407c4d52ee3f82afdad235866e815362197.zip |
KVM: x86: Expose fast short REP MOV for supported cpuid
For CPU supporting fast short REP MOV (XF86_FEATURE_FSRM) e.g Icelake,
Tigerlake, expose it in KVM supported cpuid as well.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Message-Id: <20200323092236.3703-1-zhenyuw@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.c')
-rw-r--r-- | arch/x86/kvm/cpuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 990c76f34b03..60ae93b09e72 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -338,7 +338,7 @@ void kvm_set_cpu_caps(void) kvm_cpu_cap_mask(CPUID_7_EDX, F(AVX512_4VNNIW) | F(AVX512_4FMAPS) | F(SPEC_CTRL) | F(SPEC_CTRL_SSBD) | F(ARCH_CAPABILITIES) | F(INTEL_STIBP) | - F(MD_CLEAR) | F(AVX512_VP2INTERSECT) + F(MD_CLEAR) | F(AVX512_VP2INTERSECT) | F(FSRM) ); /* TSC_ADJUST and ARCH_CAPABILITIES are emulated in software. */ |