From 4d23f26f51e1a4b4a8c7aa2d105891e4589f913c Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 3 Oct 2019 22:12:17 +0200 Subject: [PATCH 3/4] i386: remove the 'INTEL_PT' CPUID bit from Cascadelake-Server RH-Author: Eduardo Habkost Message-id: <20191003221217.8527-4-ehabkost@redhat.com> Patchwork-id: 90954 O-Subject: [RHEL-7.8 qemu-kvm PATCH 3/3] i386: remove the 'INTEL_PT' CPUID bit from Cascadelake-Server Bugzilla: 1638471 RH-Acked-by: Dr. David Alan Gilbert RH-Acked-by: Paolo Bonzini RH-Acked-by: Igor Mammedov From: Paolo Bonzini This is a partial cherry pick of upstream commit: commit 4c257911dcc7c4189768e9651755c849ce9db4e8 Author: Paolo Bonzini Date: Fri Dec 21 12:35:56 2018 +0100 i386: remove the 'INTEL_PT' CPUID bit from named CPU models 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 It includes only the Cascadelake-Server change, because the other CPU models are not present in the RHEL7 tree. Signed-off-by: Eduardo Habkost Signed-off-by: Miroslav Rezanina --- target-i386/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 926373b..b4839df 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1528,8 +1528,7 @@ static x86_def_t builtin_x86_defs[] = { CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_MPX | 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_AVX512VNNI, -- 1.8.3.1