[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200318032739.3745-1-zhenyuw@linux.intel.com>
Date: Wed, 18 Mar 2020 11:27:39 +0800
From: Zhenyu Wang <zhenyuw@...ux.intel.com>
To: pbonzini@...hat.com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
"Zhong, Yang" <yang.zhong@...el.com>
Subject: [PATCH rebase] KVM: x86: Expose AVX512 VP2INTERSECT in cpuid for TGL
On Tigerlake new AVX512 VP2INTERSECT feature is available.
This trys to expose it for KVM supported cpuid.
Cc: "Zhong, Yang" <yang.zhong@...el.com>
Signed-off-by: Zhenyu Wang <zhenyuw@...ux.intel.com>
---
arch/x86/kvm/cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c
index 08280d8a2ac9..435a7da07d5f 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(MD_CLEAR) | F(AVX512_VP2INTERSECT)
);
/* TSC_ADJUST and ARCH_CAPABILITIES are emulated in software. */
--
2.25.1
Powered by blists - more mailing lists