|
|
9ae3a8 |
From 5f41a4ac3ff6527f7a23c3b2a2d8bef128f5c077 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
Date: Tue, 24 Sep 2019 20:50:32 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 12/12] target/i386: add MDS-NO feature
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
Message-id: <20190924205032.12926-2-ehabkost@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 90873
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.8 qemu-kvm PATCH 1/1] target/i386: add MDS-NO feature
|
|
|
9ae3a8 |
Bugzilla: 1714791
|
|
|
9ae3a8 |
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Microarchitectural Data Sampling is a hardware vulnerability which allows
|
|
|
9ae3a8 |
unprivileged speculative access to data which is available in various CPU
|
|
|
9ae3a8 |
internal buffers.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Some Intel processors use the ARCH_CAP_MDS_NO bit in the
|
|
|
9ae3a8 |
IA32_ARCH_CAPABILITIES
|
|
|
9ae3a8 |
MSR to report that they are not vulnerable, make it available to guests.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
Message-Id: <20190516185320.28340-1-pbonzini@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
(cherry picked from commit 20140a82c67467f53814ca197403d5e1b561a5e5)
|
|
|
9ae3a8 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
target-i386/cpu.c | 2 +-
|
|
|
9ae3a8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
|
|
|
9ae3a8 |
index 3ea4e97..f92cb62 100644
|
|
|
9ae3a8 |
--- a/target-i386/cpu.c
|
|
|
9ae3a8 |
+++ b/target-i386/cpu.c
|
|
|
9ae3a8 |
@@ -211,7 +211,7 @@ static const char *cpuid_apm_edx_feature_name[] = {
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
static const char *cpuid_arch_capabilities_feature_name[] = {
|
|
|
9ae3a8 |
"rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
|
|
|
9ae3a8 |
- "ssb-no", NULL, NULL, NULL,
|
|
|
9ae3a8 |
+ "ssb-no", "mds-no", NULL, NULL,
|
|
|
9ae3a8 |
NULL, NULL, NULL, NULL,
|
|
|
9ae3a8 |
NULL, NULL, NULL, NULL,
|
|
|
9ae3a8 |
NULL, NULL, NULL, NULL,
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|