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

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