render / rpms / libvirt

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