|
|
357786 |
From e51d47fda8344f093a28c49de9daea38ba2527dd Mon Sep 17 00:00:00 2001
|
|
|
357786 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
357786 |
Date: Wed, 13 Jun 2018 18:08:12 +0200
|
|
|
357786 |
Subject: [PATCH 05/57] i386: define the AMD 'virt-ssbd' CPUID feature bit
|
|
|
357786 |
(CVE-2018-3639)
|
|
|
357786 |
MIME-Version: 1.0
|
|
|
357786 |
Content-Type: text/plain; charset=UTF-8
|
|
|
357786 |
Content-Transfer-Encoding: 8bit
|
|
|
357786 |
|
|
|
357786 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
357786 |
Message-id: <20180613180812.28169-3-ehabkost@redhat.com>
|
|
|
357786 |
Patchwork-id: 80676
|
|
|
357786 |
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 2/2] i386: define the AMD 'virt-ssbd' CPUID feature bit (CVE-2018-3639)
|
|
|
357786 |
Bugzilla: 1574216
|
|
|
357786 |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
357786 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
357786 |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
357786 |
|
|
|
357786 |
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
|
|
357786 |
|
|
|
357786 |
AMD Zen expose the Intel equivalant to Speculative Store Bypass Disable
|
|
|
357786 |
via the 0x80000008_EBX[25] CPUID feature bit.
|
|
|
357786 |
|
|
|
357786 |
This needs to be exposed to guest OS to allow them to protect
|
|
|
357786 |
against CVE-2018-3639.
|
|
|
357786 |
|
|
|
357786 |
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
|
|
357786 |
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
357786 |
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
357786 |
Message-Id: <20180521215424.13520-3-berrange@redhat.com>
|
|
|
357786 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
357786 |
(cherry picked from commit 403503b162ffc33fb64cfefdf7b880acf41772cd)
|
|
|
357786 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
357786 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
357786 |
---
|
|
|
357786 |
target/i386/cpu.c | 2 +-
|
|
|
357786 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
357786 |
|
|
|
357786 |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
|
357786 |
index 0fc7fb0..5d60d76 100644
|
|
|
357786 |
--- a/target/i386/cpu.c
|
|
|
357786 |
+++ b/target/i386/cpu.c
|
|
|
357786 |
@@ -541,7 +541,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
|
|
|
357786 |
"ibpb", NULL, NULL, NULL,
|
|
|
357786 |
NULL, NULL, NULL, NULL,
|
|
|
357786 |
NULL, NULL, NULL, NULL,
|
|
|
357786 |
- NULL, NULL, NULL, NULL,
|
|
|
357786 |
+ NULL, "virt-ssbd", NULL, NULL,
|
|
|
357786 |
NULL, NULL, NULL, NULL,
|
|
|
357786 |
},
|
|
|
357786 |
.cpuid_eax = 0x80000008,
|
|
|
357786 |
--
|
|
|
357786 |
1.8.3.1
|
|
|
357786 |
|