|
Pablo Greco |
e6a3ae |
From 925184b9c7bd2946cff1698b1cf4a448435588e5 Mon Sep 17 00:00:00 2001
|
|
Pablo Greco |
e6a3ae |
From: "plai@redhat.com" <plai@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Date: Wed, 3 Apr 2019 15:54:33 +0100
|
|
Pablo Greco |
e6a3ae |
Subject: [PATCH 09/10] i386: remove the new CPUID 'PCONFIG' from
|
|
Pablo Greco |
e6a3ae |
Icelake-Server CPU model
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
RH-Author: plai@redhat.com
|
|
Pablo Greco |
e6a3ae |
Message-id: <1554306874-28796-10-git-send-email-plai@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Patchwork-id: 85387
|
|
Pablo Greco |
e6a3ae |
O-Subject: [RHEL8.1 qemu-kvm PATCH resend 09/10] i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model
|
|
Pablo Greco |
e6a3ae |
Bugzilla: 1561761
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
From: Robert Hoo <robert.hu@linux.intel.com>
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
PCONFIG is not available to guests; it must be specifically enabled
|
|
Pablo Greco |
e6a3ae |
using the PCONFIG_ENABLE execution control. Disable it, because
|
|
Pablo Greco |
e6a3ae |
no one can ever use it.
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
|
|
Pablo Greco |
e6a3ae |
Message-Id: <1545227081-213696-2-git-send-email-robert.hu@linux.intel.com>
|
|
Pablo Greco |
e6a3ae |
Cc: qemu-stable@nongnu.org
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
Pablo Greco |
e6a3ae |
(cherry picked from commit 76e5a4d58357b9d077afccf7f7c82e17f733b722)
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Paul Lai <plai@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
Pablo Greco |
e6a3ae |
---
|
|
Pablo Greco |
e6a3ae |
target/i386/cpu.c | 3 +--
|
|
Pablo Greco |
e6a3ae |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
Pablo Greco |
e6a3ae |
index 8750f64..ad369be 100644
|
|
Pablo Greco |
e6a3ae |
--- a/target/i386/cpu.c
|
|
Pablo Greco |
e6a3ae |
+++ b/target/i386/cpu.c
|
|
Pablo Greco |
e6a3ae |
@@ -2582,8 +2582,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
Pablo Greco |
e6a3ae |
CPUID_7_0_ECX_AVX512VNNI | CPUID_7_0_ECX_AVX512BITALG |
|
|
Pablo Greco |
e6a3ae |
CPUID_7_0_ECX_AVX512_VPOPCNTDQ | CPUID_7_0_ECX_LA57,
|
|
Pablo Greco |
e6a3ae |
.features[FEAT_7_0_EDX] =
|
|
Pablo Greco |
e6a3ae |
- CPUID_7_0_EDX_PCONFIG | CPUID_7_0_EDX_SPEC_CTRL |
|
|
Pablo Greco |
e6a3ae |
- CPUID_7_0_EDX_SPEC_CTRL_SSBD,
|
|
Pablo Greco |
e6a3ae |
+ CPUID_7_0_EDX_SPEC_CTRL | CPUID_7_0_EDX_SPEC_CTRL_SSBD,
|
|
Pablo Greco |
e6a3ae |
/* Missing: XSAVES (not supported by some Linux versions,
|
|
Pablo Greco |
e6a3ae |
* including v4.1 to v4.12).
|
|
Pablo Greco |
e6a3ae |
* KVM doesn't yet expose any XSAVES state save component,
|
|
Pablo Greco |
e6a3ae |
--
|
|
Pablo Greco |
e6a3ae |
1.8.3.1
|
|
Pablo Greco |
e6a3ae |
|