|
|
8b1478 |
From e106165de465520a2bd1153dd41fe409e0157a77 Mon Sep 17 00:00:00 2001
|
|
|
8b1478 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
8b1478 |
Date: Fri, 4 Oct 2019 19:57:14 +0200
|
|
|
8b1478 |
Subject: [PATCH 4/4] i386: remove the 'INTEL_PT' CPUID bit from
|
|
|
8b1478 |
Cascadelake-Server
|
|
|
8b1478 |
|
|
|
8b1478 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
8b1478 |
Message-id: <20191004195714.10176-4-ehabkost@redhat.com>
|
|
|
8b1478 |
Patchwork-id: 90961
|
|
|
8b1478 |
O-Subject: [RHEL-7.8 qemu-kvm-rhev PATCH 3/3] i386: remove the 'INTEL_PT' CPUID bit from Cascadelake-Server
|
|
|
8b1478 |
Bugzilla: 1638472
|
|
|
8b1478 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
8b1478 |
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
8b1478 |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
8b1478 |
|
|
|
8b1478 |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
8b1478 |
|
|
|
8b1478 |
This is a partial cherry pick of upstream commit:
|
|
|
8b1478 |
|
|
|
8b1478 |
commit 4c257911dcc7c4189768e9651755c849ce9db4e8
|
|
|
8b1478 |
Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
8b1478 |
Date: Fri Dec 21 12:35:56 2018 +0100
|
|
|
8b1478 |
|
|
|
8b1478 |
i386: remove the 'INTEL_PT' CPUID bit from named CPU models
|
|
|
8b1478 |
|
|
|
8b1478 |
Processor tracing is not yet implemented for KVM and it will be an
|
|
|
8b1478 |
opt in feature requiring a special module parameter.
|
|
|
8b1478 |
Disable it, because it is wrong to enable it by default and
|
|
|
8b1478 |
it is impossible that no one has ever used it.
|
|
|
8b1478 |
|
|
|
8b1478 |
Cc: qemu-stable@nongnu.org
|
|
|
8b1478 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
8b1478 |
|
|
|
8b1478 |
It includes only the Cascadelake-Server change, because the other
|
|
|
8b1478 |
CPU models are not present in the RHEL7 tree.
|
|
|
8b1478 |
|
|
|
8b1478 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
8b1478 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
8b1478 |
---
|
|
|
8b1478 |
target/i386/cpu.c | 3 +--
|
|
|
8b1478 |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
8b1478 |
|
|
|
8b1478 |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
|
8b1478 |
index b377564..6a1d59c 100644
|
|
|
8b1478 |
--- a/target/i386/cpu.c
|
|
|
8b1478 |
+++ b/target/i386/cpu.c
|
|
|
8b1478 |
@@ -2515,8 +2515,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
8b1478 |
CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_MPX | CPUID_7_0_EBX_CLWB |
|
|
|
8b1478 |
CPUID_7_0_EBX_AVX512F | CPUID_7_0_EBX_AVX512DQ |
|
|
|
8b1478 |
CPUID_7_0_EBX_AVX512BW | CPUID_7_0_EBX_AVX512CD |
|
|
|
8b1478 |
- CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT |
|
|
|
8b1478 |
- CPUID_7_0_EBX_INTEL_PT,
|
|
|
8b1478 |
+ CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT,
|
|
|
8b1478 |
.features[FEAT_7_0_ECX] =
|
|
|
8b1478 |
CPUID_7_0_ECX_PKU |
|
|
|
8b1478 |
CPUID_7_0_ECX_AVX512VNNI,
|
|
|
8b1478 |
--
|
|
|
8b1478 |
1.8.3.1
|
|
|
8b1478 |
|