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