summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorRobert Hoo <robert.hu@linux.intel.com>2018-12-19 14:51:43 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-12-21 14:26:32 +0100
commita0aea130afebcd091d5396d13f25b9da24c9144a (patch)
tree02681087a11e4caf188e77790ade6ab11dc29934 /arch/x86/kvm
parentkvm: selftests: ucall: fix exit mmio address guessing (diff)
downloadlinux-a0aea130afebcd091d5396d13f25b9da24c9144a.tar.xz
linux-a0aea130afebcd091d5396d13f25b9da24c9144a.zip
KVM: x86: Add CPUID support for new instruction WBNOINVD
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c
index c731e87baef5..bbffa6c54697 100644
--- a/arch/x86/kvm/cpuid.c
+++ b/arch/x86/kvm/cpuid.c
@@ -378,7 +378,7 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
/* cpuid 0x80000008.ebx */
const u32 kvm_cpuid_8000_0008_ebx_x86_features =
- F(AMD_IBPB) | F(AMD_IBRS) | F(AMD_SSBD) | F(VIRT_SSBD) |
+ F(WBNOINVD) | F(AMD_IBPB) | F(AMD_IBRS) | F(AMD_SSBD) | F(VIRT_SSBD) |
F(AMD_SSB_NO) | F(AMD_STIBP);
/* cpuid 0xC0000001.edx */