render / rpms / libvirt

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