|
|
b38b0f |
From 839e9376bc82933ccacb26b660f1d3adf62aaf05 Mon Sep 17 00:00:00 2001
|
|
|
b38b0f |
From: "plai@redhat.com" <plai@redhat.com>
|
|
|
b38b0f |
Date: Mon, 1 Jul 2019 16:17:31 +0100
|
|
|
b38b0f |
Subject: [PATCH 02/39] i386: Update stepping of Cascadelake-Server
|
|
|
b38b0f |
|
|
|
b38b0f |
RH-Author: plai@redhat.com
|
|
|
b38b0f |
Message-id: <1561997854-9646-3-git-send-email-plai@redhat.com>
|
|
|
b38b0f |
Patchwork-id: 89329
|
|
|
b38b0f |
O-Subject: [RHEL8.1 qemu-kvm PATCH v6 2/5] i386: Update stepping of Cascadelake-Server
|
|
|
b38b0f |
Bugzilla: 1629906
|
|
|
b38b0f |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
b38b0f |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
b38b0f |
RH-Acked-by: Bandan Das <bsd@redhat.com>
|
|
|
b38b0f |
|
|
|
b38b0f |
From: Tao Xu <tao3.xu@intel.com>
|
|
|
b38b0f |
|
|
|
b38b0f |
Update the stepping from 5 to 6, in order that
|
|
|
b38b0f |
the Cascadelake-Server CPU model can support AVX512VNNI
|
|
|
b38b0f |
and MSR based features exposed by ARCH_CAPABILITIES.
|
|
|
b38b0f |
|
|
|
b38b0f |
Signed-off-by: Tao Xu <tao3.xu@intel.com>
|
|
|
b38b0f |
Message-Id: <20181227024304.12182-2-tao3.xu@intel.com>
|
|
|
b38b0f |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
b38b0f |
(cherry picked from commit b0a1980384fc265d91de7e09aa5fe531a69e6288)
|
|
|
b38b0f |
Signed-off-by: Paul Lai <plai@redhat.com>
|
|
|
b38b0f |
|
|
|
b38b0f |
Resolved Conflicts:
|
|
|
b38b0f |
hw/i386/pc.c changes to include/hw/i386/pc.h
|
|
|
b38b0f |
|
|
|
b38b0f |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
b38b0f |
---
|
|
|
b38b0f |
include/hw/i386/pc.h | 4 ++++
|
|
|
b38b0f |
target/i386/cpu.c | 2 +-
|
|
|
b38b0f |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
b38b0f |
|
|
|
b38b0f |
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
|
|
|
b38b0f |
index 244d7b5..88ffd40 100644
|
|
|
b38b0f |
--- a/include/hw/i386/pc.h
|
|
|
b38b0f |
+++ b/include/hw/i386/pc.h
|
|
|
b38b0f |
@@ -318,6 +318,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
|
|
|
b38b0f |
.driver = "Skylake-Server" "-" TYPE_X86_CPU,\
|
|
|
b38b0f |
.property = "clflushopt",\
|
|
|
b38b0f |
.value = "off",\
|
|
|
b38b0f |
+ },{\
|
|
|
b38b0f |
+ .driver = "Cascadelake-Server" "-" TYPE_X86_CPU,\
|
|
|
b38b0f |
+ .property = "stepping",\
|
|
|
b38b0f |
+ .value = "5",\
|
|
|
b38b0f |
},
|
|
|
b38b0f |
|
|
|
b38b0f |
#define PC_COMPAT_2_10 \
|
|
|
b38b0f |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
|
b38b0f |
index 9ba5288..c4b31eb 100644
|
|
|
b38b0f |
--- a/target/i386/cpu.c
|
|
|
b38b0f |
+++ b/target/i386/cpu.c
|
|
|
b38b0f |
@@ -2488,7 +2488,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
b38b0f |
.vendor = CPUID_VENDOR_INTEL,
|
|
|
b38b0f |
.family = 6,
|
|
|
b38b0f |
.model = 85,
|
|
|
b38b0f |
- .stepping = 5,
|
|
|
b38b0f |
+ .stepping = 6,
|
|
|
b38b0f |
.features[FEAT_1_EDX] =
|
|
|
b38b0f |
CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX |
|
|
|
b38b0f |
CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV | CPUID_MCA |
|
|
|
b38b0f |
--
|
|
|
b38b0f |
1.8.3.1
|
|
|
b38b0f |
|