thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-i386-remove-the-new-CPUID-PCONFIG-from-Icelake-Serve.patch

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