yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-i386-remove-the-INTEL_PT-CPUID-bit-from-named-CPU-NEW.patch

4ec855
From 6131491c7a5494c1c034973ae23fc842b1ee733e Mon Sep 17 00:00:00 2001
4ec855
From: "plai@redhat.com" <plai@redhat.com>
4ec855
Date: Mon, 1 Jul 2019 16:17:33 +0100
4ec855
Subject: [PATCH 04/39] i386: remove the 'INTEL_PT' CPUID bit from named CPU
4ec855
 models
4ec855
4ec855
RH-Author: plai@redhat.com
4ec855
Message-id: <1561997854-9646-5-git-send-email-plai@redhat.com>
4ec855
Patchwork-id: 89332
4ec855
O-Subject: [RHEL8.1 qemu-kvm PATCH v6 4/5] i386: remove the 'INTEL_PT' CPUID bit from named CPU models
4ec855
Bugzilla: 1629906
4ec855
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
4ec855
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
4ec855
RH-Acked-by: Bandan Das <bsd@redhat.com>
4ec855
4ec855
From: Paolo Bonzini <pbonzini@redhat.com>
4ec855
4ec855
Processor tracing is not yet implemented for KVM and it will be an
4ec855
opt in feature requiring a special module parameter.
4ec855
Disable it, because it is wrong to enable it by default and
4ec855
it is impossible that no one has ever used it.
4ec855
4ec855
Cc: qemu-stable@nongnu.org
4ec855
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4ec855
(cherry picked from commit 4c257911dcc7c4189768e9651755c849ce9db4e8)
4ec855
Signed-off-by: Paul Lai <plai@redhat.com>
4ec855
4ec855
Resolved Conflicts:
4ec855
	target/i386/cpu.c
4ec855
4ec855
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
4ec855
---
4ec855
 target/i386/cpu.c | 3 +--
4ec855
 1 file changed, 1 insertion(+), 2 deletions(-)
4ec855
4ec855
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
4ec855
index 094f8a1..2538d82 100644
4ec855
--- a/target/i386/cpu.c
4ec855
+++ b/target/i386/cpu.c
4ec855
@@ -2515,8 +2515,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
4ec855
             CPUID_7_0_EBX_SMAP | CPUID_7_0_EBX_CLWB |
4ec855
             CPUID_7_0_EBX_AVX512F | CPUID_7_0_EBX_AVX512DQ |
4ec855
             CPUID_7_0_EBX_AVX512BW | CPUID_7_0_EBX_AVX512CD |
4ec855
-            CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT |
4ec855
-            CPUID_7_0_EBX_INTEL_PT,
4ec855
+            CPUID_7_0_EBX_AVX512VL | CPUID_7_0_EBX_CLFLUSHOPT,
4ec855
         .features[FEAT_7_0_ECX] =
4ec855
             CPUID_7_0_ECX_PKU | CPUID_7_0_ECX_OSPKE |
4ec855
             CPUID_7_0_ECX_AVX512VNNI,
4ec855
-- 
4ec855
1.8.3.1
4ec855