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