[PATCH 2/3] cpu_map: add POWER10 cpu model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add POWER10 as a supported cpu model.

Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>
---
 src/cpu_map/index.xml                           | 1 +
 src/cpu_map/meson.build                         | 1 +
 src/cpu_map/ppc64_POWER10.xml                   | 6 ++++++
 tests/domaincapsdata/qemu_5.0.0.ppc64.xml       | 1 +
 tests/domaincapsdata/qemu_5.2.0.ppc64.xml       | 1 +
 tests/domaincapsdata/qemu_6.2.0.ppc64.xml       | 1 +
 tests/domaincapsdata/qemu_7.0.0.ppc64.xml       | 1 +
 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 4 ++--
 tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml | 4 ++--
 tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml | 4 ++--
 tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml | 4 ++--
 11 files changed, 20 insertions(+), 8 deletions(-)
 create mode 100644 src/cpu_map/ppc64_POWER10.xml

diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
index ffe1fa91e5..351c2ae4fa 100644
--- a/src/cpu_map/index.xml
+++ b/src/cpu_map/index.xml
@@ -82,6 +82,7 @@
     <include filename='ppc64_POWER7.xml'/>
     <include filename='ppc64_POWER8.xml'/>
     <include filename='ppc64_POWER9.xml'/>
+    <include filename='ppc64_POWER10.xml'/>
 
     <!-- Freescale-based CPU models -->
     <include filename='ppc64_POWERPC_e5500.xml'/>
diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build
index 013fc62a02..99815981b5 100644
--- a/src/cpu_map/meson.build
+++ b/src/cpu_map/meson.build
@@ -14,6 +14,7 @@ cpumap_data = [
   'ppc64_POWER7.xml',
   'ppc64_POWER8.xml',
   'ppc64_POWER9.xml',
+  'ppc64_POWER10.xml',
   'ppc64_POWERPC_e5500.xml',
   'ppc64_POWERPC_e6500.xml',
   'ppc64_vendors.xml',
diff --git a/src/cpu_map/ppc64_POWER10.xml b/src/cpu_map/ppc64_POWER10.xml
new file mode 100644
index 0000000000..62f3486ae4
--- /dev/null
+++ b/src/cpu_map/ppc64_POWER10.xml
@@ -0,0 +1,6 @@
+<cpus>
+  <model name='POWER10'>
+    <vendor name='IBM'/>
+    <pvr value='0x00800000' mask='0xffff0000'/>
+  </model>
+</cpus>
diff --git a/tests/domaincapsdata/qemu_5.0.0.ppc64.xml b/tests/domaincapsdata/qemu_5.0.0.ppc64.xml
index 5772045e35..d196676b14 100644
--- a/tests/domaincapsdata/qemu_5.0.0.ppc64.xml
+++ b/tests/domaincapsdata/qemu_5.0.0.ppc64.xml
@@ -40,6 +40,7 @@
       <model fallback='allow'>POWER8</model>
     </mode>
     <mode name='custom' supported='yes'>
+      <model usable='unknown'>POWER10</model>
       <model usable='unknown'>POWER9</model>
       <model usable='unknown'>POWER8</model>
       <model usable='unknown'>POWER7</model>
diff --git a/tests/domaincapsdata/qemu_5.2.0.ppc64.xml b/tests/domaincapsdata/qemu_5.2.0.ppc64.xml
index 051b7d43a8..b2c0577be9 100644
--- a/tests/domaincapsdata/qemu_5.2.0.ppc64.xml
+++ b/tests/domaincapsdata/qemu_5.2.0.ppc64.xml
@@ -40,6 +40,7 @@
       <model fallback='allow'>POWER8</model>
     </mode>
     <mode name='custom' supported='yes'>
+      <model usable='unknown'>POWER10</model>
       <model usable='unknown'>POWER9</model>
       <model usable='unknown'>POWER8</model>
       <model usable='unknown'>POWER7</model>
diff --git a/tests/domaincapsdata/qemu_6.2.0.ppc64.xml b/tests/domaincapsdata/qemu_6.2.0.ppc64.xml
index 8fed9d30b7..b07072778b 100644
--- a/tests/domaincapsdata/qemu_6.2.0.ppc64.xml
+++ b/tests/domaincapsdata/qemu_6.2.0.ppc64.xml
@@ -40,6 +40,7 @@
       <model fallback='allow'>POWER8</model>
     </mode>
     <mode name='custom' supported='yes'>
+      <model usable='unknown'>POWER10</model>
       <model usable='unknown'>POWER9</model>
       <model usable='unknown'>POWER8</model>
       <model usable='unknown'>POWER7</model>
diff --git a/tests/domaincapsdata/qemu_7.0.0.ppc64.xml b/tests/domaincapsdata/qemu_7.0.0.ppc64.xml
index 0f98870bf7..2897b3809b 100644
--- a/tests/domaincapsdata/qemu_7.0.0.ppc64.xml
+++ b/tests/domaincapsdata/qemu_7.0.0.ppc64.xml
@@ -40,6 +40,7 @@
       <model fallback='allow'>POWER8</model>
     </mode>
     <mode name='custom' supported='yes'>
+      <model usable='unknown'>POWER10</model>
       <model usable='unknown'>POWER9</model>
       <model usable='unknown'>POWER8</model>
       <model usable='unknown'>POWER7</model>
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
index f2f3558fdc..597c38af30 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
@@ -190,7 +190,7 @@
   <cpu type='kvm' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='kvm' name='power10' typename='power10_v1.0-powerpc64-cpu'/>
+  <cpu type='kvm' name='POWER10' typename='power10_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER9' typename='host-powerpc64-cpu'/>
   <cpu type='kvm' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
@@ -662,7 +662,7 @@
   <cpu type='tcg' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='tcg' name='power10' typename='power10_v1.0-powerpc64-cpu'/>
+  <cpu type='tcg' name='POWER10' typename='power10_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER9' typename='power9_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
index b949f88b5a..1e6c57482e 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
@@ -195,7 +195,7 @@
   <cpu type='kvm' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='kvm' name='power10' typename='power10_v1.0-powerpc64-cpu'/>
+  <cpu type='kvm' name='POWER10' typename='power10_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER9' typename='host-powerpc64-cpu'/>
   <cpu type='kvm' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
@@ -669,7 +669,7 @@
   <cpu type='tcg' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='tcg' name='power10' typename='power10_v1.0-powerpc64-cpu'/>
+  <cpu type='tcg' name='POWER10' typename='power10_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER9' typename='power9_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
index 9c9d9aa08e..1cde325749 100644
--- a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
@@ -206,7 +206,7 @@
   <cpu type='kvm' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='kvm' name='power10' typename='power10_v2.0-powerpc64-cpu'/>
+  <cpu type='kvm' name='POWER10' typename='power10_v2.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER9' typename='host-powerpc64-cpu'/>
   <cpu type='kvm' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
@@ -686,7 +686,7 @@
   <cpu type='tcg' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='tcg' name='power10' typename='power10_v2.0-powerpc64-cpu'/>
+  <cpu type='tcg' name='POWER10' typename='power10_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER9' typename='power9_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
index c92aab47e6..b424dc7882 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
@@ -209,7 +209,7 @@
   <cpu type='kvm' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='kvm' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='kvm' name='power10' typename='power10_v2.0-powerpc64-cpu'/>
+  <cpu type='kvm' name='POWER10' typename='power10_v2.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER9' typename='host-powerpc64-cpu'/>
   <cpu type='kvm' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='kvm' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
@@ -669,7 +669,7 @@
   <cpu type='tcg' name='ppc' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc32' typename='604-powerpc64-cpu'/>
   <cpu type='tcg' name='ppc64' typename='970fx_v3.1-powerpc64-cpu'/>
-  <cpu type='tcg' name='power10' typename='power10_v2.0-powerpc64-cpu'/>
+  <cpu type='tcg' name='POWER10' typename='power10_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER9' typename='power9_v2.0-powerpc64-cpu'/>
   <cpu type='tcg' name='power8nvl' typename='power8nvl_v1.0-powerpc64-cpu'/>
   <cpu type='tcg' name='POWER8' typename='power8_v2.0-powerpc64-cpu'/>
-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux