render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
c480ed
From e7f71788bb7c3534b97fe50b05212e64aa9d1412 Mon Sep 17 00:00:00 2001
c480ed
Message-Id: <e7f71788bb7c3534b97fe50b05212e64aa9d1412@dist-git>
c480ed
From: Jiri Denemark <jdenemar@redhat.com>
c480ed
Date: Thu, 25 Apr 2019 16:36:43 +0200
c480ed
Subject: [PATCH] cpu_map: Add support for cldemote CPU feature
c480ed
MIME-Version: 1.0
c480ed
Content-Type: text/plain; charset=UTF-8
c480ed
Content-Transfer-Encoding: 8bit
c480ed
c480ed
Added in QEMU by v2.12.0-481-g0da0fb0628 (released in 3.0).
c480ed
c480ed
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
(cherry picked from commit 8feeee9ee23f0500cc2585e1b11231c54de8e93d)
c480ed
c480ed
https://bugzilla.redhat.com/show_bug.cgi?id=1537731
c480ed
https://bugzilla.redhat.com/show_bug.cgi?id=1537777
c480ed
c480ed
Conflicts:
c480ed
	src/cpu_map/x86_features.xml
c480ed
            - features are defined in src/cpu/cpu_map.xml downstream
c480ed
c480ed
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c480ed
Message-Id: <bb26b8e5c8323be651bae3d1c15aa04528f2c26d.1556202959.git.jdenemar@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
---
c480ed
 src/cpu/cpu_map.xml | 3 +++
c480ed
 1 file changed, 3 insertions(+)
c480ed
c480ed
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
c480ed
index 095d49a69a..79c40cff34 100644
c480ed
--- a/src/cpu/cpu_map.xml
c480ed
+++ b/src/cpu/cpu_map.xml
c480ed
@@ -315,6 +315,9 @@
c480ed
     <feature name='la57'>
c480ed
       <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00010000'/>
c480ed
     </feature>
c480ed
+    <feature name='cldemote'>
c480ed
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x02000000'/>
c480ed
+    </feature>
c480ed
 
c480ed
     <feature name='avx512-4vnniw'>
c480ed
       <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000004'/>
c480ed
-- 
c480ed
2.21.0
c480ed