[PULL 00/38] ppc-for-9.0-2 queue

Nicholas Piggin posted 38 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240312165851.2240242-1-npiggin@gmail.com
Maintainers: BALATON Zoltan <balaton@eik.bme.hu>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, "Frédéric Barrat" <fbarrat@linux.ibm.com>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>
MAINTAINERS                                |    4 +-
docs/about/deprecated.rst                  |    6 +-
docs/devel/nested-papr.txt                 |  119 +++
docs/system/ppc/amigang.rst                |  161 +++
docs/system/target-ppc.rst                 |    1 +
hw/ppc/pnv.c                               |  175 +++-
hw/ppc/pnv_core.c                          |    8 +-
hw/ppc/ppc.c                               |   10 +
hw/ppc/spapr.c                             |   98 +-
hw/ppc/spapr_caps.c                        |   54 +
hw/ppc/spapr_cpu_core.c                    |    8 +-
hw/ppc/spapr_hcall.c                       |   24 +-
hw/ppc/spapr_nested.c                      | 1556 +++++++++++++++++++++++++++-
include/hw/ppc/pnv_chip.h                  |    2 +-
include/hw/ppc/pnv_core.h                  |    1 +
include/hw/ppc/spapr.h                     |   27 +-
include/hw/ppc/spapr_nested.h              |  427 +++++++-
target/ppc/cpu-models.c                    |    4 -
target/ppc/cpu.h                           |   11 +
target/ppc/cpu_init.c                      |   46 +-
target/ppc/excp_helper.c                   |  418 +++-----
target/ppc/gdbstub.c                       |    7 +-
target/ppc/helper_regs.c                   |    5 +
target/ppc/insn32.decode                   |   26 +
target/ppc/kvm.c                           |   11 -
target/ppc/misc_helper.c                   |    3 -
target/ppc/translate.c                     |  164 +--
target/ppc/translate/fixedpoint-impl.c.inc |   70 ++
28 files changed, 2883 insertions(+), 563 deletions(-)
create mode 100644 docs/devel/nested-papr.txt
create mode 100644 docs/system/ppc/amigang.rst
[PULL 00/38] ppc-for-9.0-2 queue
Posted by Nicholas Piggin 1 month, 2 weeks ago
The following changes since commit 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58:

  Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2024-03-12 13:42:57 +0000)

are available in the Git repository at:

  https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-2-20240313

for you to fetch changes up to e1617b845104032f0aaad9b91dcda56c7c437998:

  spapr: nested: Introduce cap-nested-papr for Nested PAPR API (2024-03-13 02:47:04 +1000)

----------------------------------------------------------------
* PAPR nested hypervisor host implementation for spapr TCG
* excp_helper.c code cleanups and improvements
* Move more ops to decodetree
* Deprecate pseries-2.12 machines and P9 and P10 DD1.0 CPUs
* Document running Linux on AmigaNG
* Update dt feature advertising POWER CPUs.
* Add P10 PMU SPRs
* Improve pnv topology calculation for SMT8 CPUs.
* Various bug fixes.

----------------------------------------------------------------
BALATON Zoltan (8):
      docs/system/ppc: Document running Linux on AmigaNG machines
      target/ppc: Use env_cpu for cpu_abort in excp_helper
      target/ppc: Readability improvements in exception handlers
      target/ppc: Add gen_exception_err_nip() function
      target/ppc: Clean up ifdefs in excp_helper.c, part 1
      target/ppc: Clean up ifdefs in excp_helper.c, part 2
      target/ppc: Clean up ifdefs in excp_helper.c, part 3
      target/ppc: Remove interrupt handler wrapper functions

Benjamin Gray (1):
      ppc/spapr: Add pa-features for POWER10 machines

Caleb Schlossin (1):
      ppc/pnv: Improve pervasive topology calculation for big-core

Chinmay Rath (1):
      target/ppc: Move add and subf type fixed-point arithmetic instructions to decodetree

Cédric Le Goater (1):
      MAINTAINERS: Remove myself as reviewer from PPC

Harsh Prateek Bora (14):
      spapr: nested: register nested-hv api hcalls only for cap-nested-hv
      spapr: nested: move nested part of spapr_get_pate into spapr_nested.c
      spapr: nested: Introduce SpaprMachineStateNested to store related info.
      spapr: nested: keep nested-hv related code restricted to its API.
      spapr: nested: Document Nested PAPR API
      spapr: nested: Introduce H_GUEST_[GET|SET]_CAPABILITIES hcalls.
      spapr: nested: Introduce H_GUEST_[CREATE|DELETE] hcalls.
      spapr: nested: Introduce H_GUEST_CREATE_VCPU hcall.
      spapr: nested: Extend nested_ppc_state for nested PAPR API
      spapr: nested: Initialize the GSB elements lookup table.
      spapr: nested: Introduce H_GUEST_[GET|SET]_STATE hcalls.
      spapr: nested: Use correct source for parttbl info for nested PAPR API.
      spapr: nested: Introduce H_GUEST_RUN_VCPU hcall.
      spapr: nested: Introduce cap-nested-papr for Nested PAPR API

Madhavan Srinivasan (1):
      target/ppc: Add power10 pmu SPRs

Nicholas Piggin (10):
      target/ppc: Fix GDB SPR regnum indexing
      target/ppc: Prevent supervisor from modifying MSR[ME]
      spapr: set MSR[ME] and MSR[FP] on client entry
      ppc: Drop support for POWER9 and POWER10 DD1 chips
      target/ppc: POWER10 does not have transactional memory
      ppc/spapr|pnv: Remove SAO from pa-features
      ppc/spapr: Remove copy-paste from pa-features
      ppc/spapr: Adjust ibm,pa-features for POWER9
      ppc/pnv: Permit ibm,pa-features set per machine variant
      ppc/pnv: Set POWER9, POWER10 ibm,pa-features bits

Philippe Mathieu-Daudé (1):
      docs: Deprecate the pseries-2.12 machines

 MAINTAINERS                                |    4 +-
 docs/about/deprecated.rst                  |    6 +-
 docs/devel/nested-papr.txt                 |  119 +++
 docs/system/ppc/amigang.rst                |  161 +++
 docs/system/target-ppc.rst                 |    1 +
 hw/ppc/pnv.c                               |  175 +++-
 hw/ppc/pnv_core.c                          |    8 +-
 hw/ppc/ppc.c                               |   10 +
 hw/ppc/spapr.c                             |   98 +-
 hw/ppc/spapr_caps.c                        |   54 +
 hw/ppc/spapr_cpu_core.c                    |    8 +-
 hw/ppc/spapr_hcall.c                       |   24 +-
 hw/ppc/spapr_nested.c                      | 1556 +++++++++++++++++++++++++++-
 include/hw/ppc/pnv_chip.h                  |    2 +-
 include/hw/ppc/pnv_core.h                  |    1 +
 include/hw/ppc/spapr.h                     |   27 +-
 include/hw/ppc/spapr_nested.h              |  427 +++++++-
 target/ppc/cpu-models.c                    |    4 -
 target/ppc/cpu.h                           |   11 +
 target/ppc/cpu_init.c                      |   46 +-
 target/ppc/excp_helper.c                   |  418 +++-----
 target/ppc/gdbstub.c                       |    7 +-
 target/ppc/helper_regs.c                   |    5 +
 target/ppc/insn32.decode                   |   26 +
 target/ppc/kvm.c                           |   11 -
 target/ppc/misc_helper.c                   |    3 -
 target/ppc/translate.c                     |  164 +--
 target/ppc/translate/fixedpoint-impl.c.inc |   70 ++
 28 files changed, 2883 insertions(+), 563 deletions(-)
 create mode 100644 docs/devel/nested-papr.txt
 create mode 100644 docs/system/ppc/amigang.rst

Re: [PULL 00/38] ppc-for-9.0-2 queue
Posted by Bernhard Beschow 1 month, 2 weeks ago

Am 12. März 2024 16:58:11 UTC schrieb Nicholas Piggin <npiggin@gmail.com>:
>The following changes since commit 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58:
>
>  Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2024-03-12 13:42:57 +0000)
>
>are available in the Git repository at:
>
>  https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-2-20240313
>
>for you to fetch changes up to e1617b845104032f0aaad9b91dcda56c7c437998:
>
>  spapr: nested: Introduce cap-nested-papr for Nested PAPR API (2024-03-13 02:47:04 +1000)
>
>----------------------------------------------------------------
>* PAPR nested hypervisor host implementation for spapr TCG
>* excp_helper.c code cleanups and improvements
>* Move more ops to decodetree
>* Deprecate pseries-2.12 machines and P9 and P10 DD1.0 CPUs
>* Document running Linux on AmigaNG
>* Update dt feature advertising POWER CPUs.
>* Add P10 PMU SPRs
>* Improve pnv topology calculation for SMT8 CPUs.
>* Various bug fixes.
>
>----------------------------------------------------------------
>BALATON Zoltan (8):
>      docs/system/ppc: Document running Linux on AmigaNG machines

Thanks, Nicholas!

Best regards,
Bernhard

>      target/ppc: Use env_cpu for cpu_abort in excp_helper
>      target/ppc: Readability improvements in exception handlers
>      target/ppc: Add gen_exception_err_nip() function
>      target/ppc: Clean up ifdefs in excp_helper.c, part 1
>      target/ppc: Clean up ifdefs in excp_helper.c, part 2
>      target/ppc: Clean up ifdefs in excp_helper.c, part 3
>      target/ppc: Remove interrupt handler wrapper functions
>
>Benjamin Gray (1):
>      ppc/spapr: Add pa-features for POWER10 machines
>
>Caleb Schlossin (1):
>      ppc/pnv: Improve pervasive topology calculation for big-core
>
>Chinmay Rath (1):
>      target/ppc: Move add and subf type fixed-point arithmetic instructions to decodetree
>
>Cédric Le Goater (1):
>      MAINTAINERS: Remove myself as reviewer from PPC
>
>Harsh Prateek Bora (14):
>      spapr: nested: register nested-hv api hcalls only for cap-nested-hv
>      spapr: nested: move nested part of spapr_get_pate into spapr_nested.c
>      spapr: nested: Introduce SpaprMachineStateNested to store related info.
>      spapr: nested: keep nested-hv related code restricted to its API.
>      spapr: nested: Document Nested PAPR API
>      spapr: nested: Introduce H_GUEST_[GET|SET]_CAPABILITIES hcalls.
>      spapr: nested: Introduce H_GUEST_[CREATE|DELETE] hcalls.
>      spapr: nested: Introduce H_GUEST_CREATE_VCPU hcall.
>      spapr: nested: Extend nested_ppc_state for nested PAPR API
>      spapr: nested: Initialize the GSB elements lookup table.
>      spapr: nested: Introduce H_GUEST_[GET|SET]_STATE hcalls.
>      spapr: nested: Use correct source for parttbl info for nested PAPR API.
>      spapr: nested: Introduce H_GUEST_RUN_VCPU hcall.
>      spapr: nested: Introduce cap-nested-papr for Nested PAPR API
>
>Madhavan Srinivasan (1):
>      target/ppc: Add power10 pmu SPRs
>
>Nicholas Piggin (10):
>      target/ppc: Fix GDB SPR regnum indexing
>      target/ppc: Prevent supervisor from modifying MSR[ME]
>      spapr: set MSR[ME] and MSR[FP] on client entry
>      ppc: Drop support for POWER9 and POWER10 DD1 chips
>      target/ppc: POWER10 does not have transactional memory
>      ppc/spapr|pnv: Remove SAO from pa-features
>      ppc/spapr: Remove copy-paste from pa-features
>      ppc/spapr: Adjust ibm,pa-features for POWER9
>      ppc/pnv: Permit ibm,pa-features set per machine variant
>      ppc/pnv: Set POWER9, POWER10 ibm,pa-features bits
>
>Philippe Mathieu-Daudé (1):
>      docs: Deprecate the pseries-2.12 machines
>
> MAINTAINERS                                |    4 +-
> docs/about/deprecated.rst                  |    6 +-
> docs/devel/nested-papr.txt                 |  119 +++
> docs/system/ppc/amigang.rst                |  161 +++
> docs/system/target-ppc.rst                 |    1 +
> hw/ppc/pnv.c                               |  175 +++-
> hw/ppc/pnv_core.c                          |    8 +-
> hw/ppc/ppc.c                               |   10 +
> hw/ppc/spapr.c                             |   98 +-
> hw/ppc/spapr_caps.c                        |   54 +
> hw/ppc/spapr_cpu_core.c                    |    8 +-
> hw/ppc/spapr_hcall.c                       |   24 +-
> hw/ppc/spapr_nested.c                      | 1556 +++++++++++++++++++++++++++-
> include/hw/ppc/pnv_chip.h                  |    2 +-
> include/hw/ppc/pnv_core.h                  |    1 +
> include/hw/ppc/spapr.h                     |   27 +-
> include/hw/ppc/spapr_nested.h              |  427 +++++++-
> target/ppc/cpu-models.c                    |    4 -
> target/ppc/cpu.h                           |   11 +
> target/ppc/cpu_init.c                      |   46 +-
> target/ppc/excp_helper.c                   |  418 +++-----
> target/ppc/gdbstub.c                       |    7 +-
> target/ppc/helper_regs.c                   |    5 +
> target/ppc/insn32.decode                   |   26 +
> target/ppc/kvm.c                           |   11 -
> target/ppc/misc_helper.c                   |    3 -
> target/ppc/translate.c                     |  164 +--
> target/ppc/translate/fixedpoint-impl.c.inc |   70 ++
> 28 files changed, 2883 insertions(+), 563 deletions(-)
> create mode 100644 docs/devel/nested-papr.txt
> create mode 100644 docs/system/ppc/amigang.rst
>
Re: [PULL 00/38] ppc-for-9.0-2 queue
Posted by Peter Maydell 1 month, 2 weeks ago
On Tue, 12 Mar 2024 at 16:59, Nicholas Piggin <npiggin@gmail.com> wrote:
>
> The following changes since commit 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58:
>
>   Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2024-03-12 13:42:57 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-2-20240313
>
> for you to fetch changes up to e1617b845104032f0aaad9b91dcda56c7c437998:
>
>   spapr: nested: Introduce cap-nested-papr for Nested PAPR API (2024-03-13 02:47:04 +1000)
>
> ----------------------------------------------------------------
> * PAPR nested hypervisor host implementation for spapr TCG
> * excp_helper.c code cleanups and improvements
> * Move more ops to decodetree
> * Deprecate pseries-2.12 machines and P9 and P10 DD1.0 CPUs
> * Document running Linux on AmigaNG
> * Update dt feature advertising POWER CPUs.
> * Add P10 PMU SPRs
> * Improve pnv topology calculation for SMT8 CPUs.
> * Various bug fixes.
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/9.0
for any user-visible changes.

-- PMM