Skip to content

Commit

Permalink
KVM: x86: Expose fast short REP MOV for supported cpuid
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
zhenyw authored and bonzini committed Mar 23, 2020
1 parent 0c794dc commit e374740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/cpuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit e374740

Please sign in to comment.