Blame 0001-target-i386-define-md-clear-bit.patch
|
Daniel P. Berrangé |
70ef32 |
From de8cb5ded43603937e0e7c341fcd7521822328a6 Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrangé |
70ef32 |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
Daniel P. Berrangé |
70ef32 |
Date: Sat, 2 Mar 2019 00:07: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>
|
|
Daniel P. Berrangé |
70ef32 |
(cherry-picked from a private commit)
|
|
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,
|
|
Daniel P. Berrangé |
70ef32 |
--
|
|
Daniel P. Berrangé |
70ef32 |
2.21.0
|
|
Daniel P. Berrangé |
70ef32 |
|