cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-target-i386-Enable-clflushopt-clwb-pcommit-instructi.patch

9ae3a8
From 9381f1943a9e2c5273e32a76fae36daf67ab7089 Mon Sep 17 00:00:00 2001
9ae3a8
From: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
Date: Tue, 24 Oct 2017 05:33:03 +0200
9ae3a8
Subject: [PATCH 26/27] target-i386: Enable clflushopt/clwb/pcommit
9ae3a8
 instructions
9ae3a8
9ae3a8
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Message-id: <20171017203653.28578-2-ehabkost@redhat.com>
9ae3a8
Patchwork-id: 77349
9ae3a8
O-Subject: [RHEL-7.5 qemu-kvm PATCH 1/2] target-i386: Enable clflushopt/clwb/pcommit instructions
9ae3a8
Bugzilla: 1501510
9ae3a8
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
RH-Acked-by: Bandan Das <bsd@redhat.com>
9ae3a8
9ae3a8
From: Xiao Guangrong <guangrong.xiao@linux.intel.com>
9ae3a8
9ae3a8
These instructions are used by NVDIMM drivers and the specification is
9ae3a8
located at:
9ae3a8
https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf
9ae3a8
9ae3a8
There instructions are available on Skylake Server.
9ae3a8
9ae3a8
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
9ae3a8
Reviewed-by: Richard Henderson <rth@twiddle.net>
9ae3a8
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
(cherry picked from commit f7fda280948a5e74aeb076ef346b991ecb173c56)
9ae3a8
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
---
9ae3a8
 target-i386/cpu.c | 4 ++--
9ae3a8
 1 file changed, 2 insertions(+), 2 deletions(-)
9ae3a8
9ae3a8
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
9ae3a8
index 914fc66..e739647 100644
9ae3a8
--- a/target-i386/cpu.c
9ae3a8
+++ b/target-i386/cpu.c
9ae3a8
@@ -149,8 +149,8 @@ static const char *cpuid_7_0_ebx_feature_name[] = {
9ae3a8
     "bmi2", "erms", "invpcid", "rtm",
9ae3a8
     NULL, NULL, "mpx", NULL,
9ae3a8
     "avx512f", "avx512dq", "rdseed", "adx",
9ae3a8
-    "smap", "avx512ifma", NULL, NULL,
9ae3a8
-    NULL, NULL, "avx512pf", "avx512er",
9ae3a8
+    "smap", "avx512ifma", "pcommit", "clflushopt",
9ae3a8
+    "clwb", NULL, "avx512pf", "avx512er",
9ae3a8
     "avx512cd", "sha-ni", "avx512bw", "avx512vl",
9ae3a8
 };
9ae3a8
 
9ae3a8
-- 
9ae3a8
1.8.3.1
9ae3a8