render / rpms / libvirt

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