[PATCH 0/3] Addng POWER11 cpu support

Narayana Murty N posted 3 patches 1 week, 2 days ago
src/cpu/cpu_ppc64.c                           |     8 +-
src/cpu_map/index.xml                         |     1 +
src/cpu_map/meson.build                       |     1 +
src/cpu_map/ppc64_POWER11.xml                 |     6 +
tests/domaincapsdata/qemu_9.2.0.ppc64.xml     |   183 +
.../caps_9.2.0_ppc64.replies                  | 38704 ++++++++++++++++
.../qemucapabilitiesdata/caps_9.2.0_ppc64.xml |  1077 +
...eries-cpu-compat-power11.ppc64-latest.args |    31 +
...series-cpu-compat-power11.ppc64-latest.err |     1 +
...series-cpu-compat-power11.ppc64-latest.xml |    29 +
.../pseries-cpu-compat-power11.xml            |    19 +
tests/qemuxmlconftest.c                       |     4 +
tests/testutilshostcpus.h                     |    11 +
tests/testutilsqemu.c                         |     4 +
tests/testutilsqemu.h                         |     1 +
15 files changed, 40076 insertions(+), 4 deletions(-)
create mode 100644 src/cpu_map/ppc64_POWER11.xml
create mode 100644 tests/domaincapsdata/qemu_9.2.0.ppc64.xml
create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.replies
create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.xml
create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.args
create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.err
create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.xml
create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.xml
[PATCH 0/3] Addng POWER11 cpu support
Posted by Narayana Murty N 1 week, 2 days ago
This patch series includes the changes needed to
support POWER11 cpu and POWER11 host on libvirt.
Patch also adds and updates the qemu caps with
the latest qemu for the caps tests to include POWER11.

Patch 0001: Add POWER11 cpu model support.
Patch 0002: Add POWER11 host model support.
Patch 0003: Add qemu and domain test capabilities test support.

The respective patches for linux kernel and qemu
already in upstream and links are provided below.

Linux kernel patches:
1. Linux P11 support: commit id  c2ed087ed35c ("powerpc: Add Power11 architected and raw mode")
2. Linux P11 KVM support: commit id 96e266e3bcd6 ("KVM: PPC: Book3S HV: Add Power11 capability support for Nested PAPR guests")
Qemu patches:
3. Qemu P11 support: commit id 273db89bcaf4 ("ppc/pseries: Add Power11 cpu type)
4. Qemu P11 DD02.0 support: commit id c0d964076c3e (target/ppc: Add Power11 DD2.0 processor)

Signed-off-by: Narayana Murty N <nnmlinux@linux.vnet.ibm.com>

Narayana Murty N (3):
  cpu_map: Add POWER11 cpu model support
  cpu_ppc64: Add POWER11 host-model support
  tests: Qemu and domain capabilities tests for Power11

 src/cpu/cpu_ppc64.c                           |     8 +-
 src/cpu_map/index.xml                         |     1 +
 src/cpu_map/meson.build                       |     1 +
 src/cpu_map/ppc64_POWER11.xml                 |     6 +
 tests/domaincapsdata/qemu_9.2.0.ppc64.xml     |   183 +
 .../caps_9.2.0_ppc64.replies                  | 38704 ++++++++++++++++
 .../qemucapabilitiesdata/caps_9.2.0_ppc64.xml |  1077 +
 ...eries-cpu-compat-power11.ppc64-latest.args |    31 +
 ...series-cpu-compat-power11.ppc64-latest.err |     1 +
 ...series-cpu-compat-power11.ppc64-latest.xml |    29 +
 .../pseries-cpu-compat-power11.xml            |    19 +
 tests/qemuxmlconftest.c                       |     4 +
 tests/testutilshostcpus.h                     |    11 +
 tests/testutilsqemu.c                         |     4 +
 tests/testutilsqemu.h                         |     1 +
 15 files changed, 40076 insertions(+), 4 deletions(-)
 create mode 100644 src/cpu_map/ppc64_POWER11.xml
 create mode 100644 tests/domaincapsdata/qemu_9.2.0.ppc64.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.xml
 create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.args
 create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.err
 create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.xml
 create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.xml

-- 
2.47.1
Re: [PATCH 0/3] Addng POWER11 cpu support
Posted by Amit Machhiwal 3 days, 22 hours ago
Hi Narayana,

Thanks for working on this and the patches.

On 2024/12/11 11:32 PM, Narayana Murty N wrote:
> This patch series includes the changes needed to
> support POWER11 cpu and POWER11 host on libvirt.
> Patch also adds and updates the qemu caps with
> the latest qemu for the caps tests to include POWER11.
> 
> Patch 0001: Add POWER11 cpu model support.
> Patch 0002: Add POWER11 host model support.
> Patch 0003: Add qemu and domain test capabilities test support.
> 
> The respective patches for linux kernel and qemu
> already in upstream and links are provided below.
> 
> Linux kernel patches:
> 1. Linux P11 support: commit id  c2ed087ed35c ("powerpc: Add Power11 architected and raw mode")
> 2. Linux P11 KVM support: commit id 96e266e3bcd6 ("KVM: PPC: Book3S HV: Add Power11 capability support for Nested PAPR guests")
> Qemu patches:
> 3. Qemu P11 support: commit id 273db89bcaf4 ("ppc/pseries: Add Power11 cpu type)
> 4. Qemu P11 DD02.0 support: commit id c0d964076c3e (target/ppc: Add Power11 DD2.0 processor)
> 
> Signed-off-by: Narayana Murty N <nnmlinux@linux.vnet.ibm.com>
> 

The changes look good to me.

Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>

> Narayana Murty N (3):
>   cpu_map: Add POWER11 cpu model support
>   cpu_ppc64: Add POWER11 host-model support
>   tests: Qemu and domain capabilities tests for Power11
> 
>  src/cpu/cpu_ppc64.c                           |     8 +-
>  src/cpu_map/index.xml                         |     1 +
>  src/cpu_map/meson.build                       |     1 +
>  src/cpu_map/ppc64_POWER11.xml                 |     6 +
>  tests/domaincapsdata/qemu_9.2.0.ppc64.xml     |   183 +
>  .../caps_9.2.0_ppc64.replies                  | 38704 ++++++++++++++++
>  .../qemucapabilitiesdata/caps_9.2.0_ppc64.xml |  1077 +
>  ...eries-cpu-compat-power11.ppc64-latest.args |    31 +
>  ...series-cpu-compat-power11.ppc64-latest.err |     1 +
>  ...series-cpu-compat-power11.ppc64-latest.xml |    29 +
>  .../pseries-cpu-compat-power11.xml            |    19 +
>  tests/qemuxmlconftest.c                       |     4 +
>  tests/testutilshostcpus.h                     |    11 +
>  tests/testutilsqemu.c                         |     4 +
>  tests/testutilsqemu.h                         |     1 +
>  15 files changed, 40076 insertions(+), 4 deletions(-)
>  create mode 100644 src/cpu_map/ppc64_POWER11.xml
>  create mode 100644 tests/domaincapsdata/qemu_9.2.0.ppc64.xml
>  create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.replies
>  create mode 100644 tests/qemucapabilitiesdata/caps_9.2.0_ppc64.xml
>  create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.args
>  create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.err
>  create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.ppc64-latest.xml
>  create mode 100644 tests/qemuxmlconfdata/pseries-cpu-compat-power11.xml
> 
> -- 
> 2.47.1