yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
Pablo Greco e6a3ae
From 60e3b6eb1a611ddfb35841881689f0f6e02db3d1 Mon Sep 17 00:00:00 2001
Pablo Greco e6a3ae
From: Danilo de Paula <ddepaula@redhat.com>
Pablo Greco e6a3ae
Date: Mon, 20 May 2019 18:29:57 +0100
Pablo Greco e6a3ae
Subject: [PATCH 5/5] target/i386: define md-clear bit
Pablo Greco e6a3ae
Pablo Greco e6a3ae
RH-Author: Danilo de Paula <ddepaula@redhat.com>
Pablo Greco e6a3ae
Message-id: <20190520182957.26425-1-ddepaula@redhat.com>
Pablo Greco e6a3ae
Patchwork-id: 88110
Pablo Greco e6a3ae
O-Subject: [RHEL-8 + RHEL-AV qemu-kvm PATCH] target/i386: define md-clear bit
Pablo Greco e6a3ae
Bugzilla: 1703302 1703308
Pablo Greco e6a3ae
bc6c26
From: Paolo Bonzini <pbonzini@redhat.com>
bc6c26
Pablo Greco e6a3ae
BZ: 1703310
Pablo Greco e6a3ae
BZ: 1703304
Pablo Greco e6a3ae
BZ: 1703297
Pablo Greco e6a3ae
BZ: 1707274
Pablo Greco e6a3ae
branch: rhel-av-8.1.0/master-4.0.0
Pablo Greco e6a3ae
Pablo Greco e6a3ae
BZ: 1705851
Pablo Greco e6a3ae
BZ: 1704542
Pablo Greco e6a3ae
BZ: 1704538
Pablo Greco e6a3ae
BZ: 1704534
Pablo Greco e6a3ae
branch: rhel-av-8.0.1
Pablo Greco e6a3ae
Pablo Greco e6a3ae
BZ: 1703308
Pablo Greco e6a3ae
BZ: 1703302
Pablo Greco e6a3ae
branch: rhel-8.1.0
bc6c26
bc6c26
md-clear is a new CPUID bit which is set when microcode provides the
bc6c26
mechanism to invoke a flush of various exploitable CPU buffers by invoking
bc6c26
the VERW instruction.
bc6c26
bc6c26
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Pablo Greco e6a3ae
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
bc6c26
---
Pablo Greco e6a3ae
 target/i386/cpu.c | 2 +-
Pablo Greco e6a3ae
 1 file changed, 1 insertion(+), 1 deletion(-)
bc6c26
bc6c26
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
Pablo Greco e6a3ae
index 77be7e8..e9025cd 100644
bc6c26
--- a/target/i386/cpu.c
bc6c26
+++ b/target/i386/cpu.c
Pablo Greco e6a3ae
@@ -1040,7 +1040,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
bc6c26
         .feat_names = {
bc6c26
             NULL, NULL, "avx512-4vnniw", "avx512-4fmaps",
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
-            NULL, NULL, NULL, NULL,
bc6c26
+            NULL, NULL, "md-clear", NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
-- 
Pablo Greco e6a3ae
1.8.3.1
bc6c26