thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-i386-Add-CPUID-bit-and-feature-words-for-IA32_ARCH_C.patch

2ec96d
From c0da3c7b7bafe378a953f139397cadc26c3d054b Mon Sep 17 00:00:00 2001
2ec96d
From: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Date: Wed, 9 Oct 2019 17:51:42 +0200
2ec96d
Subject: [PATCH 04/10] i386: Add CPUID bit and feature words for
2ec96d
 IA32_ARCH_CAPABILITIES MSR
2ec96d
2ec96d
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Message-id: <20191009175148.1361-5-ehabkost@redhat.com>
2ec96d
Patchwork-id: 91360
2ec96d
O-Subject: [RHEL-7.7.z qemu-kvm PATCH 04/10] i386: Add CPUID bit and feature words for IA32_ARCH_CAPABILITIES MSR
2ec96d
Bugzilla: 1730606
2ec96d
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
2ec96d
RH-Acked-by: Bandan Das <bsd@redhat.com>
2ec96d
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
2ec96d
2ec96d
From: Robert Hoo <robert.hu@linux.intel.com>
2ec96d
2ec96d
Support of IA32_PRED_CMD MSR already be enumerated by same CPUID bit as
2ec96d
SPEC_CTRL.
2ec96d
2ec96d
At present, mark CPUID_7_0_EDX_ARCH_CAPABILITIES unmigratable, per Paolo's
2ec96d
comment.
2ec96d
2ec96d
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
2ec96d
Message-Id: <1530781798-183214-3-git-send-email-robert.hu@linux.intel.com>
2ec96d
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
(cherry picked from commit 3fc7c73139d2d38ae80c3b0bc963b1ac1555924c)
2ec96d
Signed-off-by: Paul Lai <plai@redhat.com>
2ec96d
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
2ec96d
---
2ec96d
 target-i386/cpu.c | 2 +-
2ec96d
 1 file changed, 1 insertion(+), 1 deletion(-)
2ec96d
2ec96d
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
2ec96d
index 5cfed19..ba2ce8e 100644
2ec96d
--- a/target-i386/cpu.c
2ec96d
+++ b/target-i386/cpu.c
2ec96d
@@ -174,7 +174,7 @@ static const char *cpuid_7_0_edx_feature_name[] = {
2ec96d
     NULL, NULL, NULL, NULL,
2ec96d
     NULL, NULL, NULL, NULL,
2ec96d
     NULL, NULL, "spec-ctrl", "stibp",
2ec96d
-    NULL, "arch-facilities", NULL, "ssbd",
2ec96d
+    NULL, "arch-facilities|arch-capabilities", NULL, "ssbd",
2ec96d
 };
2ec96d
 
2ec96d
 static const char *cpuid_80000008_ebx_feature_name[] = {
2ec96d
-- 
2ec96d
1.8.3.1
2ec96d