[PATCH 1/3] cpu_map: Add POWER11 cpu model support

Narayana Murty N posted 3 patches 1 week, 2 days ago
[PATCH 1/3] cpu_map: Add POWER11 cpu model support
Posted by Narayana Murty N 1 week, 2 days ago
Add POWER11 as a supported cpu model for ppc64.

Signed-off-by: Narayana Murty N <nnmlinux@linux.vnet.ibm.com>
---
 src/cpu_map/index.xml         | 1 +
 src/cpu_map/meson.build       | 1 +
 src/cpu_map/ppc64_POWER11.xml | 6 ++++++
 3 files changed, 8 insertions(+)
 create mode 100644 src/cpu_map/ppc64_POWER11.xml

diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
index 287cd7395e..c550f90672 100644
--- a/src/cpu_map/index.xml
+++ b/src/cpu_map/index.xml
@@ -158,6 +158,7 @@
       <include filename='ppc64_POWER8.xml'/>
       <include filename='ppc64_POWER9.xml'/>
       <include filename='ppc64_POWER10.xml'/>
+      <include filename='ppc64_POWER11.xml'/>
     </group>
 
     <group name='Freescale-based CPU models'>
diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build
index 88d67f4cce..5358ed1079 100644
--- a/src/cpu_map/meson.build
+++ b/src/cpu_map/meson.build
@@ -19,6 +19,7 @@ cpumap_data = [
   'ppc64_POWER8.xml',
   'ppc64_POWER9.xml',
   'ppc64_POWER10.xml',
+  'ppc64_POWER11.xml',
   'ppc64_POWERPC_e5500.xml',
   'ppc64_POWERPC_e6500.xml',
   'ppc64_vendors.xml',
diff --git a/src/cpu_map/ppc64_POWER11.xml b/src/cpu_map/ppc64_POWER11.xml
new file mode 100644
index 0000000000..6e8ae715c6
--- /dev/null
+++ b/src/cpu_map/ppc64_POWER11.xml
@@ -0,0 +1,6 @@
+<cpus>
+  <model name='POWER11'>
+    <vendor name='IBM'/>
+    <pvr value='0x00820000' mask='0xffff0000'/>
+  </model>
+</cpus>
-- 
2.47.1