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