5a65f82232
- kvm-target-i386-Disable-MPX-support-on-named-CPU-models.patch [bz#1661030] - kvm-i386-remove-the-new-CPUID-PCONFIG-from-Icelake-Serve.patch [bz#1661515] - kvm-i386-remove-the-INTEL_PT-CPUID-bit-from-named-CPU-mo.patch [bz#1661515] - kvm-Revert-i386-Add-CPUID-bit-for-PCONFIG.patch [bz#1661515] - Resolves: bz#1661030 (Remove MPX support from 8.0 machine types) - Resolves: bz#1661515 (Remove PCONFIG and INTEL_PT from Icelake-* CPU models)
65 lines
3.0 KiB
Diff
65 lines
3.0 KiB
Diff
From adf78309059e3346dddac518601f88f348ec7758 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
Date: Sat, 16 Feb 2019 00:00:49 +0000
|
|
Subject: [PATCH 3/4] i386: remove the 'INTEL_PT' CPUID bit from named CPU
|
|
models
|
|
|
|
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
Message-id: <1550275250-41719-3-git-send-email-pbonzini@redhat.com>
|
|
Patchwork-id: 84522
|
|
O-Subject: [rhel-av-8.0.0 qemu-kvm PATCH 2/3] i386: remove the 'INTEL_PT' CPUID bit from named CPU models
|
|
Bugzilla: 1661515
|
|
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
|
|
|
|
Processor tracing is not yet implemented for KVM and it will be an
|
|
opt in feature requiring a special module parameter.
|
|
Disable it, because it is wrong to enable it by default and
|
|
it is impossible that no one has ever used it.
|
|
|
|
Cc: qemu-stable@nongnu.org
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
(cherry picked from commit 4c257911dcc7c4189768e9651755c849ce9db4e8)
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
---
|
|
target/i386/cpu.c | 8 +++-----
|
|
1 file changed, 3 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
index 7b63900..169a2ce 100644
|
|
--- a/target/i386/cpu.c
|
|
+++ b/target/i386/cpu.c
|
|
@@ -2555,8 +2555,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_CLWB |
|
|
CPUID_7_0_EBX_AVX512F | CPUID_7_0_EBX_AVX512DQ |
|
|
CPUID_7_0_EBX_AVX512BW | CPUID_7_0_EBX_AVX512CD |
|
|
- CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT |
|
|
- CPUID_7_0_EBX_INTEL_PT,
|
|
+ CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT,
|
|
.features[FEAT_7_0_ECX] =
|
|
CPUID_7_0_ECX_PKU | CPUID_7_0_ECX_OSPKE |
|
|
CPUID_7_0_ECX_AVX512VNNI,
|
|
@@ -2608,7 +2607,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
CPUID_7_0_EBX_HLE | CPUID_7_0_EBX_AVX2 | CPUID_7_0_EBX_SMEP |
|
|
CPUID_7_0_EBX_BMI2 | CPUID_7_0_EBX_ERMS | CPUID_7_0_EBX_INVPCID |
|
|
CPUID_7_0_EBX_RTM | CPUID_7_0_EBX_RDSEED | CPUID_7_0_EBX_ADX |
|
|
- CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_INTEL_PT,
|
|
+ CPUID_7_0_EBX_SMAP,
|
|
.features[FEAT_7_0_ECX] =
|
|
CPUID_7_0_ECX_VBMI | CPUID_7_0_ECX_UMIP | CPUID_7_0_ECX_PKU |
|
|
CPUID_7_0_ECX_OSPKE | CPUID_7_0_ECX_VBMI2 | CPUID_7_0_ECX_GFNI |
|
|
@@ -2666,8 +2665,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_CLWB |
|
|
CPUID_7_0_EBX_AVX512F | CPUID_7_0_EBX_AVX512DQ |
|
|
CPUID_7_0_EBX_AVX512BW | CPUID_7_0_EBX_AVX512CD |
|
|
- CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT |
|
|
- CPUID_7_0_EBX_INTEL_PT,
|
|
+ CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT,
|
|
.features[FEAT_7_0_ECX] =
|
|
CPUID_7_0_ECX_VBMI | CPUID_7_0_ECX_UMIP | CPUID_7_0_ECX_PKU |
|
|
CPUID_7_0_ECX_OSPKE | CPUID_7_0_ECX_VBMI2 | CPUID_7_0_ECX_GFNI |
|
|
--
|
|
1.8.3.1
|
|
|