render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
0a7476
From c032d2492e245deccc66b34ca1006028d5759d80 Mon Sep 17 00:00:00 2001
0a7476
Message-Id: <c032d2492e245deccc66b34ca1006028d5759d80@dist-git>
bba56f
From: Jiri Denemark <jdenemar@redhat.com>
bba56f
Date: Tue, 26 Feb 2019 09:22:36 +0100
bba56f
Subject: [PATCH] cpu_map: Add hex representation of signatures
bba56f
MIME-Version: 1.0
bba56f
Content-Type: text/plain; charset=UTF-8
bba56f
Content-Transfer-Encoding: 8bit
bba56f
bba56f
The family/model numbers are nice for humans or for comparing with
bba56f
/proc/cpuinfo, but sometimes there's a need to see the CPUID
bba56f
representation of the signature. Let's add it into a comment for each
bba56f
signature in out cpu_map XMLs as the conversion is not exactly
bba56f
straightforward.
bba56f
bba56f
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
bba56f
Reviewed-by: Ján Tomko <jtomko@redhat.com>
bba56f
(cherry picked from commit 61be05a00fd383f11070761fac5ae28272b784dd)
bba56f
bba56f
https://bugzilla.redhat.com/show_bug.cgi?id=1558558
bba56f
https://bugzilla.redhat.com/show_bug.cgi?id=1687515
bba56f
bba56f
Conflicts:
bba56f
        src/cpu/cpu_map.xml
bba56f
            - the cpu_map split was not backported to RHEL-7.6
bba56f
            - Icelake-Client and Icelake-Server models are missing
bba56f
bba56f
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
bba56f
Reviewed-by: Ján Tomko <jtomko@redhat.com>
bba56f
---
bba56f
 src/cpu/cpu_map.xml | 58 ++++++++++++++++++++++-----------------------
bba56f
 1 file changed, 29 insertions(+), 29 deletions(-)
bba56f
bba56f
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
bba56f
index 9d53d4b43a..381068674c 100644
bba56f
--- a/src/cpu/cpu_map.xml
bba56f
+++ b/src/cpu/cpu_map.xml
bba56f
@@ -789,7 +789,7 @@
bba56f
 
bba56f
     
bba56f
     <model name='Conroe'>
bba56f
-      <signature family='6' model='15'/>
bba56f
+      <signature family='6' model='15'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -821,7 +821,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Penryn'>
bba56f
-      <signature family='6' model='23'/>
bba56f
+      <signature family='6' model='23'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -855,7 +855,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Nehalem'>
bba56f
-      <signature family='6' model='26'/>
bba56f
+      <signature family='6' model='26'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -891,7 +891,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Nehalem-IBRS'>
bba56f
-      <signature family='6' model='26'/>
bba56f
+      <signature family='6' model='26'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -928,7 +928,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Westmere'>
bba56f
-      <signature family='6' model='44'/>
bba56f
+      <signature family='6' model='44'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -965,7 +965,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Westmere-IBRS'>
bba56f
-      <signature family='6' model='44'/>
bba56f
+      <signature family='6' model='44'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1003,7 +1003,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='SandyBridge'>
bba56f
-      <signature family='6' model='42'/>
bba56f
+      <signature family='6' model='42'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1046,7 +1046,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='SandyBridge-IBRS'>
bba56f
-      <signature family='6' model='42'/>
bba56f
+      <signature family='6' model='42'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1090,7 +1090,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='IvyBridge'>
bba56f
-      <signature family='6' model='58'/>
bba56f
+      <signature family='6' model='58'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1139,7 +1139,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='IvyBridge-IBRS'>
bba56f
-      <signature family='6' model='58'/>
bba56f
+      <signature family='6' model='58'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1189,7 +1189,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Haswell-noTSX'>
bba56f
-      <signature family='6' model='60'/>
bba56f
+      <signature family='6' model='60'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1242,7 +1242,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Haswell-noTSX-IBRS'>
bba56f
-      <signature family='6' model='60'/>
bba56f
+      <signature family='6' model='60'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1296,7 +1296,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Haswell'>
bba56f
-      <signature family='6' model='60'/>
bba56f
+      <signature family='6' model='60'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1351,7 +1351,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Haswell-IBRS'>
bba56f
-      <signature family='6' model='60'/>
bba56f
+      <signature family='6' model='60'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='aes'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -1407,7 +1407,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Broadwell-noTSX'>
bba56f
-      <signature family='6' model='61'/>
bba56f
+      <signature family='6' model='61'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='adx'/>
bba56f
@@ -1464,7 +1464,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Broadwell-noTSX-IBRS'>
bba56f
-      <signature family='6' model='61'/>
bba56f
+      <signature family='6' model='61'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='adx'/>
bba56f
@@ -1522,7 +1522,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Broadwell'>
bba56f
-      <signature family='6' model='61'/>
bba56f
+      <signature family='6' model='61'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='adx'/>
bba56f
@@ -1581,7 +1581,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Broadwell-IBRS'>
bba56f
-      <signature family='6' model='61'/>
bba56f
+      <signature family='6' model='61'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='adx'/>
bba56f
@@ -1641,7 +1641,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Skylake-Client'>
bba56f
-      <signature family='6' model='94'/>
bba56f
+      <signature family='6' model='94'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -1709,7 +1709,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Skylake-Client-IBRS'>
bba56f
-      <signature family='6' model='94'/>
bba56f
+      <signature family='6' model='94'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -1778,7 +1778,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Skylake-Server'>
bba56f
-      <signature family='6' model='85'/>
bba56f
+      <signature family='6' model='85'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -1853,7 +1853,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Skylake-Server-IBRS'>
bba56f
-      <signature family='6' model='85'/>
bba56f
+      <signature family='6' model='85'/> 
bba56f
       <vendor name='Intel'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -1992,7 +1992,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Opteron_G1'>
bba56f
-      <signature family='15' model='6'/>
bba56f
+      <signature family='15' model='6'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -2022,7 +2022,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Opteron_G2'>
bba56f
-      <signature family='15' model='6'/>
bba56f
+      <signature family='15' model='6'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='apic'/>
bba56f
       <feature name='clflush'/>
bba56f
@@ -2056,7 +2056,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Opteron_G3'>
bba56f
-      <signature family='15' model='6'/>
bba56f
+      <signature family='15' model='6'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='abm'/>
bba56f
       <feature name='apic'/>
bba56f
@@ -2095,7 +2095,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Opteron_G4'>
bba56f
-      <signature family='21' model='1'/>
bba56f
+      <signature family='21' model='1'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -2144,7 +2144,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='Opteron_G5'>
bba56f
-      <signature family='21' model='2'/>
bba56f
+      <signature family='21' model='2'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -2196,7 +2196,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='EPYC'>
bba56f
-      <signature family='23' model='1'/>
bba56f
+      <signature family='23' model='1'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
@@ -2267,7 +2267,7 @@
bba56f
     </model>
bba56f
 
bba56f
     <model name='EPYC-IBPB'>
bba56f
-      <signature family='23' model='1'/>
bba56f
+      <signature family='23' model='1'/> 
bba56f
       <vendor name='AMD'/>
bba56f
       <feature name='3dnowprefetch'/>
bba56f
       <feature name='abm'/>
bba56f
-- 
bba56f
2.21.0
bba56f