cryptospore / 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

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