render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
Pablo Greco 40546a
From 83a1114820c95f9cd98789b14044a229dcc090a7 Mon Sep 17 00:00:00 2001
Pablo Greco 40546a
Message-Id: <83a1114820c95f9cd98789b14044a229dcc090a7@dist-git>
Pablo Greco 40546a
From: Jiri Denemark <jdenemar@redhat.com>
Pablo Greco 40546a
Date: Fri, 21 Jun 2019 09:25:07 +0200
Pablo Greco 40546a
Subject: [PATCH] cpu_map: Add hex representation of signatures
Pablo Greco 40546a
MIME-Version: 1.0
Pablo Greco 40546a
Content-Type: text/plain; charset=UTF-8
Pablo Greco 40546a
Content-Transfer-Encoding: 8bit
Pablo Greco 40546a
Pablo Greco 40546a
The family/model numbers are nice for humans or for comparing with
Pablo Greco 40546a
/proc/cpuinfo, but sometimes there's a need to see the CPUID
Pablo Greco 40546a
representation of the signature. Let's add it into a comment for each
Pablo Greco 40546a
signature in out cpu_map XMLs as the conversion is not exactly
Pablo Greco 40546a
straightforward.
Pablo Greco 40546a
Pablo Greco 40546a
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Pablo Greco 40546a
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Pablo Greco 40546a
(cherry picked from commit 61be05a00fd383f11070761fac5ae28272b784dd)
Pablo Greco 40546a
Pablo Greco 40546a
https://bugzilla.redhat.com/show_bug.cgi?id=1686895
Pablo Greco 40546a
Pablo Greco 40546a
Conflicts:
Pablo Greco 40546a
        src/cpu/cpu_map.xml
Pablo Greco 40546a
            - the cpu_map split was not backported
Pablo Greco 40546a
Pablo Greco 40546a
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Pablo Greco 40546a
Message-Id: <e8e2e0bdf183bec170df5252cf927ff5fbe0ef47.1561068591.git.jdenemar@redhat.com>
Pablo Greco 40546a
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Pablo Greco 40546a
---
Pablo Greco 40546a
 src/cpu/cpu_map.xml | 62 ++++++++++++++++++++++-----------------------
Pablo Greco 40546a
 1 file changed, 31 insertions(+), 31 deletions(-)
Pablo Greco 40546a
Pablo Greco 40546a
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
Pablo Greco 40546a
index a9f284fbbe..a5a5290a09 100644
Pablo Greco 40546a
--- a/src/cpu/cpu_map.xml
Pablo Greco 40546a
+++ b/src/cpu/cpu_map.xml
Pablo Greco 40546a
@@ -828,7 +828,7 @@
Pablo Greco 40546a
 
Pablo Greco 40546a
     
Pablo Greco 40546a
     <model name='Conroe'>
Pablo Greco 40546a
-      <signature family='6' model='15'/>
Pablo Greco 40546a
+      <signature family='6' model='15'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -860,7 +860,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Penryn'>
Pablo Greco 40546a
-      <signature family='6' model='23'/>
Pablo Greco 40546a
+      <signature family='6' model='23'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -894,7 +894,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Nehalem'>
Pablo Greco 40546a
-      <signature family='6' model='26'/>
Pablo Greco 40546a
+      <signature family='6' model='26'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -930,7 +930,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Nehalem-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='26'/>
Pablo Greco 40546a
+      <signature family='6' model='26'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -967,7 +967,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Westmere'>
Pablo Greco 40546a
-      <signature family='6' model='44'/>
Pablo Greco 40546a
+      <signature family='6' model='44'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1004,7 +1004,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Westmere-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='44'/>
Pablo Greco 40546a
+      <signature family='6' model='44'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1042,7 +1042,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='SandyBridge'>
Pablo Greco 40546a
-      <signature family='6' model='42'/>
Pablo Greco 40546a
+      <signature family='6' model='42'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1085,7 +1085,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='SandyBridge-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='42'/>
Pablo Greco 40546a
+      <signature family='6' model='42'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1129,7 +1129,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='IvyBridge'>
Pablo Greco 40546a
-      <signature family='6' model='58'/>
Pablo Greco 40546a
+      <signature family='6' model='58'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1178,7 +1178,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='IvyBridge-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='58'/>
Pablo Greco 40546a
+      <signature family='6' model='58'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1228,7 +1228,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Haswell-noTSX'>
Pablo Greco 40546a
-      <signature family='6' model='60'/>
Pablo Greco 40546a
+      <signature family='6' model='60'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1281,7 +1281,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Haswell-noTSX-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='60'/>
Pablo Greco 40546a
+      <signature family='6' model='60'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1335,7 +1335,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Haswell'>
Pablo Greco 40546a
-      <signature family='6' model='60'/>
Pablo Greco 40546a
+      <signature family='6' model='60'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1390,7 +1390,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Haswell-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='60'/>
Pablo Greco 40546a
+      <signature family='6' model='60'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='aes'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -1446,7 +1446,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Broadwell-noTSX'>
Pablo Greco 40546a
-      <signature family='6' model='61'/>
Pablo Greco 40546a
+      <signature family='6' model='61'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='adx'/>
Pablo Greco 40546a
@@ -1503,7 +1503,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Broadwell-noTSX-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='61'/>
Pablo Greco 40546a
+      <signature family='6' model='61'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='adx'/>
Pablo Greco 40546a
@@ -1561,7 +1561,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Broadwell'>
Pablo Greco 40546a
-      <signature family='6' model='61'/>
Pablo Greco 40546a
+      <signature family='6' model='61'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='adx'/>
Pablo Greco 40546a
@@ -1620,7 +1620,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Broadwell-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='61'/>
Pablo Greco 40546a
+      <signature family='6' model='61'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='adx'/>
Pablo Greco 40546a
@@ -1680,7 +1680,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Skylake-Client'>
Pablo Greco 40546a
-      <signature family='6' model='94'/>
Pablo Greco 40546a
+      <signature family='6' model='94'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -1748,7 +1748,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Skylake-Client-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='94'/>
Pablo Greco 40546a
+      <signature family='6' model='94'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -1817,7 +1817,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Skylake-Server'>
Pablo Greco 40546a
-      <signature family='6' model='85'/>
Pablo Greco 40546a
+      <signature family='6' model='85'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -1892,7 +1892,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Skylake-Server-IBRS'>
Pablo Greco 40546a
-      <signature family='6' model='85'/>
Pablo Greco 40546a
+      <signature family='6' model='85'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -1968,7 +1968,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Icelake-Client'>
Pablo Greco 40546a
-      <signature family='6' model='126'/>
Pablo Greco 40546a
+      <signature family='6' model='126'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -2052,7 +2052,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Icelake-Server'>
Pablo Greco 40546a
-      <signature family='6' model='134'/>
Pablo Greco 40546a
+      <signature family='6' model='134'/> 
Pablo Greco 40546a
       <vendor name='Intel'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -2209,7 +2209,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Opteron_G1'>
Pablo Greco 40546a
-      <signature family='15' model='6'/>
Pablo Greco 40546a
+      <signature family='15' model='6'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -2239,7 +2239,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Opteron_G2'>
Pablo Greco 40546a
-      <signature family='15' model='6'/>
Pablo Greco 40546a
+      <signature family='15' model='6'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
       <feature name='clflush'/>
Pablo Greco 40546a
@@ -2273,7 +2273,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Opteron_G3'>
Pablo Greco 40546a
-      <signature family='15' model='6'/>
Pablo Greco 40546a
+      <signature family='15' model='6'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
       <feature name='apic'/>
Pablo Greco 40546a
@@ -2312,7 +2312,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Opteron_G4'>
Pablo Greco 40546a
-      <signature family='21' model='1'/>
Pablo Greco 40546a
+      <signature family='21' model='1'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -2361,7 +2361,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='Opteron_G5'>
Pablo Greco 40546a
-      <signature family='21' model='2'/>
Pablo Greco 40546a
+      <signature family='21' model='2'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -2413,7 +2413,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='EPYC'>
Pablo Greco 40546a
-      <signature family='23' model='1'/>
Pablo Greco 40546a
+      <signature family='23' model='1'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
@@ -2484,7 +2484,7 @@
Pablo Greco 40546a
     </model>
Pablo Greco 40546a
 
Pablo Greco 40546a
     <model name='EPYC-IBPB'>
Pablo Greco 40546a
-      <signature family='23' model='1'/>
Pablo Greco 40546a
+      <signature family='23' model='1'/> 
Pablo Greco 40546a
       <vendor name='AMD'/>
Pablo Greco 40546a
       <feature name='3dnowprefetch'/>
Pablo Greco 40546a
       <feature name='abm'/>
Pablo Greco 40546a
-- 
Pablo Greco 40546a
2.22.0
Pablo Greco 40546a