7a3408
From 9ba4e23393ea05ba0b6feabf7f365310f1c600ed Mon Sep 17 00:00:00 2001
7a3408
Message-Id: <9ba4e23393ea05ba0b6feabf7f365310f1c600ed@dist-git>
7a3408
From: Jiri Denemark <jdenemar@redhat.com>
7a3408
Date: Thu, 9 Jul 2015 09:47:34 +0200
7a3408
Subject: [PATCH] cpu: Add support for MPX and AVX512 Intel features
7a3408
7a3408
Corresponding QEMU commits:
7a3408
    MPX     79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216
7a3408
    AVX512  9aecd6f8aef653cea58932f06a2740299dbe5fd3
7a3408
7a3408
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
7a3408
(cherry picked from commit 1cd70869d97760d91baa1e2ad76c02b470f0d5bd)
7a3408
7a3408
https://bugzilla.redhat.com/show_bug.cgi?id=1076170
7a3408
7a3408
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
7a3408
---
7a3408
 src/cpu/cpu_map.xml | 15 +++++++++++++++
7a3408
 1 file changed, 15 insertions(+)
7a3408
7a3408
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
7a3408
index 2110c0b..51474e1 100644
7a3408
--- a/src/cpu/cpu_map.xml
7a3408
+++ b/src/cpu/cpu_map.xml
7a3408
@@ -317,6 +317,12 @@
7a3408
     <feature name='rtm'>
7a3408
       <cpuid function='0x00000007' ebx='0x00000800'/>
7a3408
     </feature>
7a3408
+    <feature name='mpx'>
7a3408
+      <cpuid function='0x00000007' ebx='0x00004000'/>
7a3408
+    </feature>
7a3408
+    <feature name='avx512f'> 
7a3408
+      <cpuid function='0x00000007' ebx='0x00010000'/>
7a3408
+    </feature>
7a3408
     <feature name='rdseed'>
7a3408
       <cpuid function='0x00000007' ebx='0x00040000'/>
7a3408
     </feature>
7a3408
@@ -326,6 +332,15 @@
7a3408
     <feature name='smap'>
7a3408
       <cpuid function='0x00000007' ebx='0x00100000'/>
7a3408
     </feature>
7a3408
+    <feature name='avx512pf'> 
7a3408
+      <cpuid function='0x00000007' ebx='0x04000000'/>
7a3408
+    </feature>
7a3408
+    <feature name='avx512er'> 
7a3408
+      <cpuid function='0x00000007' ebx='0x08000000'/>
7a3408
+    </feature>
7a3408
+    <feature name='avx512cd'> 
7a3408
+      <cpuid function='0x00000007' ebx='0x10000000'/>
7a3408
+    </feature>
7a3408
 
7a3408
     
7a3408
     <feature name='invtsc' migratable='no'>
7a3408
-- 
7a3408
2.4.5
7a3408