Blame 0002-target-i386-define-md-clear-bit.patch

Daniel P. Berrangé 70ef32
From: Paolo Bonzini <pbonzini@redhat.com>
8a7ac9
Date: Wed, 15 May 2019 15:10:10 +0100
Daniel P. Berrangé 70ef32
Subject: [PATCH] target/i386: define md-clear bit
Daniel P. Berrangé 70ef32
Daniel P. Berrangé 70ef32
md-clear is a new CPUID bit which is set when microcode provides the
Daniel P. Berrangé 70ef32
mechanism to invoke a flush of various exploitable CPU buffers by invoking
Daniel P. Berrangé 70ef32
the VERW instruction.
Daniel P. Berrangé 70ef32
Daniel P. Berrangé 70ef32
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8a7ac9
Message-Id: <20190515141011.5315-2-berrange@redhat.com>
8a7ac9
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
8a7ac9
(cherry picked from commit b2ae52101fca7f9547ac2f388085dbc58f8fe1c0)
Daniel P. Berrangé 70ef32
---
Daniel P. Berrangé 70ef32
 target/i386/cpu.c | 2 +-
Daniel P. Berrangé 70ef32
 1 file changed, 1 insertion(+), 1 deletion(-)
Daniel P. Berrangé 70ef32
Daniel P. Berrangé 70ef32
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
Daniel P. Berrangé 70ef32
index d6bb57d210..4ea78a4939 100644
Daniel P. Berrangé 70ef32
--- a/target/i386/cpu.c
Daniel P. Berrangé 70ef32
+++ b/target/i386/cpu.c
Daniel P. Berrangé 70ef32
@@ -1076,7 +1076,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
Daniel P. Berrangé 70ef32
         .feat_names = {
Daniel P. Berrangé 70ef32
             NULL, NULL, "avx512-4vnniw", "avx512-4fmaps",
Daniel P. Berrangé 70ef32
             NULL, NULL, NULL, NULL,
Daniel P. Berrangé 70ef32
-            NULL, NULL, NULL, NULL,
Daniel P. Berrangé 70ef32
+            NULL, NULL, "md-clear", NULL,
Daniel P. Berrangé 70ef32
             NULL, NULL, NULL, NULL,
Daniel P. Berrangé 70ef32
             NULL, NULL, NULL, NULL,
Daniel P. Berrangé 70ef32
             NULL, NULL, NULL, NULL,