From: Zhenyu Wang <zhenyuw@linux.intel.com>
To: pbonzini@redhat.com
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, "Zhong,
Yang" <yang.zhong@intel.com>
Subject: [PATCH rebase] KVM: x86: Expose AVX512 VP2INTERSECT in cpuid for TGL
Date: Wed, 18 Mar 2020 11:27:39 +0800 [thread overview]
Message-ID: <20200318032739.3745-1-zhenyuw@linux.intel.com> (raw)
In-Reply-To: <dcc9899c-f5af-9a4f-3ac2-f37fd8b930f7@redhat.com>
On Tigerlake new AVX512 VP2INTERSECT feature is available.
This trys to expose it for KVM supported cpuid.
Cc: "Zhong, Yang" <yang.zhong@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.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
next prev parent reply other threads:[~2020-03-18 3:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 6:55 [PATCH] KVM: x86: Expose AVX512 VP2INTERSECT in cpuid for TGL Zhenyu Wang
2020-03-17 8:27 ` Paolo Bonzini
2020-03-18 3:27 ` Zhenyu Wang [this message]
2020-03-18 11:26 ` [PATCH rebase] " Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200318032739.3745-1-zhenyuw@linux.intel.com \
--to=zhenyuw@linux.intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=yang.zhong@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox