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