All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model
@ 2021-08-20  5:46 Yang Zhong
  2021-08-20 21:03 ` Eduardo Habkost
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Zhong @ 2021-08-20  5:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: ehabkost, chayang, plai, pbonzini, ailan, nanliu

The AVX_VNNI feature is not in Cooperlake platform, remove it
from cpu model.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
---
 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 34a7ce865b..24ddc5b926 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3102,7 +3102,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {
             MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY | MSR_ARCH_CAP_MDS_NO |
             MSR_ARCH_CAP_PSCHANGE_MC_NO | MSR_ARCH_CAP_TAA_NO,
         .features[FEAT_7_1_EAX] =
-            CPUID_7_1_EAX_AVX_VNNI | CPUID_7_1_EAX_AVX512_BF16,
+            CPUID_7_1_EAX_AVX512_BF16,
         /* XSAVES is added in version 2 */
         .features[FEAT_XSAVE] =
             CPUID_XSAVE_XSAVEOPT | CPUID_XSAVE_XSAVEC |


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model
  2021-08-20  5:46 [PATCH] i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model Yang Zhong
@ 2021-08-20 21:03 ` Eduardo Habkost
  0 siblings, 0 replies; 2+ messages in thread
From: Eduardo Habkost @ 2021-08-20 21:03 UTC (permalink / raw)
  To: Yang Zhong; +Cc: chayang, qemu-devel, plai, pbonzini, ailan, nanliu

On Fri, Aug 20, 2021 at 01:46:11PM +0800, Yang Zhong wrote:
> The AVX_VNNI feature is not in Cooperlake platform, remove it
> from cpu model.
> 
> Signed-off-by: Yang Zhong <yang.zhong@intel.com>

Fixes: c1826ea6a052 ("i386/cpu: Expose AVX_VNNI instruction to guest")

Queued, thanks!

-- 
Eduardo



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-20 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  5:46 [PATCH] i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model Yang Zhong
2021-08-20 21:03 ` Eduardo Habkost

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.