Blame SOURCES/kvm-target-i386-add-MDS-NO-feature.patch

8b1478
From b565bf8ec21b5aa9cc4cbadeca016bd7989a1a6c Mon Sep 17 00:00:00 2001
8b1478
From: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Date: Tue, 13 Aug 2019 02:34:40 +0200
8b1478
Subject: [PATCH 2/4] target/i386: add MDS-NO feature
8b1478
8b1478
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Message-id: <20190813023440.3565-1-ehabkost@redhat.com>
8b1478
Patchwork-id: 89947
8b1478
O-Subject: [RHEL-7.7.z qemu-kvm-rhev PATCH] target/i386: add MDS-NO feature
8b1478
Bugzilla: 1716726
8b1478
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
8b1478
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
8b1478
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
8b1478
RH-Acked-by: Bandan Das <bsd@redhat.com>
8b1478
8b1478
From: Paolo Bonzini <pbonzini@redhat.com>
8b1478
8b1478
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1716726
8b1478
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=23024015
8b1478
8b1478
Microarchitectural Data Sampling is a hardware vulnerability which allows
8b1478
unprivileged speculative access to data which is available in various CPU
8b1478
internal buffers.
8b1478
8b1478
Some Intel processors use the ARCH_CAP_MDS_NO bit in the
8b1478
IA32_ARCH_CAPABILITIES
8b1478
MSR to report that they are not vulnerable, make it available to guests.
8b1478
8b1478
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8b1478
Message-Id: <20190516185320.28340-1-pbonzini@redhat.com>
8b1478
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
8b1478
(cherry picked from commit 20140a82c67467f53814ca197403d5e1b561a5e5)
8b1478
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
8b1478
---
8b1478
 target/i386/cpu.c | 2 +-
8b1478
 1 file changed, 1 insertion(+), 1 deletion(-)
8b1478
8b1478
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
8b1478
index 928e53c..5d6b45b 100644
8b1478
--- a/target/i386/cpu.c
8b1478
+++ b/target/i386/cpu.c
8b1478
@@ -1147,7 +1147,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
8b1478
         .type = MSR_FEATURE_WORD,
8b1478
         .feat_names = {
8b1478
             "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
8b1478
-            "ssb-no", NULL, NULL, NULL,
8b1478
+            "ssb-no", "mds-no", NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
-- 
8b1478
1.8.3.1
8b1478