|
Daniel P. Berrangé |
b91dae |
From f956cd4aed74d55ecc03d3c33ea66b1d933cb28f Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrangé |
b91dae |
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
|
Daniel P. Berrangé |
b91dae |
Date: Mon, 21 May 2018 22:54:23 +0100
|
|
Daniel P. Berrangé |
b91dae |
Subject: [PATCH 3/3] i386: define the AMD 'virt-ssbd' CPUID feature bit
|
|
Daniel P. Berrangé |
b91dae |
(CVE-2018-3639)
|
|
Daniel P. Berrangé |
b91dae |
MIME-Version: 1.0
|
|
Daniel P. Berrangé |
b91dae |
Content-Type: text/plain; charset=UTF-8
|
|
Daniel P. Berrangé |
b91dae |
Content-Transfer-Encoding: 8bit
|
|
Daniel P. Berrangé |
b91dae |
|
|
Daniel P. Berrangé |
b91dae |
AMD Zen expose the Intel equivalant to Speculative Store Bypass Disable
|
|
Daniel P. Berrangé |
b91dae |
via the 0x80000008_EBX[25] CPUID feature bit.
|
|
Daniel P. Berrangé |
b91dae |
|
|
Daniel P. Berrangé |
b91dae |
This needs to be exposed to guest OS to allow them to protect
|
|
Daniel P. Berrangé |
b91dae |
against CVE-2018-3639.
|
|
Daniel P. Berrangé |
b91dae |
|
|
Daniel P. Berrangé |
b91dae |
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
|
Daniel P. Berrangé |
b91dae |
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
Daniel P. Berrangé |
b91dae |
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
Daniel P. Berrangé |
b91dae |
Message-Id: <20180521215424.13520-3-berrange@redhat.com>
|
|
Daniel P. Berrangé |
b91dae |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
Daniel P. Berrangé |
b91dae |
(cherry picked from commit 403503b162ffc33fb64cfefdf7b880acf41772cd)
|
|
Daniel P. Berrangé |
b91dae |
---
|
|
Daniel P. Berrangé |
b91dae |
target/i386/cpu.c | 2 +-
|
|
Daniel P. Berrangé |
b91dae |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Daniel P. Berrangé |
b91dae |
|
|
Daniel P. Berrangé |
b91dae |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
Daniel P. Berrangé |
b91dae |
index 2f5263e22f..2e305ab689 100644
|
|
Daniel P. Berrangé |
b91dae |
--- a/target/i386/cpu.c
|
|
Daniel P. Berrangé |
b91dae |
+++ b/target/i386/cpu.c
|
|
Daniel P. Berrangé |
b91dae |
@@ -541,7 +541,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
|
|
Daniel P. Berrangé |
b91dae |
"ibpb", NULL, NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
NULL, NULL, NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
NULL, NULL, NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
- NULL, NULL, NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
+ NULL, "virt-ssbd", NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
NULL, NULL, NULL, NULL,
|
|
Daniel P. Berrangé |
b91dae |
},
|
|
Daniel P. Berrangé |
b91dae |
.cpuid_eax = 0x80000008,
|
|
Daniel P. Berrangé |
b91dae |
--
|
|
Daniel P. Berrangé |
b91dae |
2.17.0
|
|
Daniel P. Berrangé |
b91dae |
|