[PULL 00/25] ppc-for-6.2 queue 20211021

David Gibson posted 25 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211021042027.345405-1-david@gibson.dropbear.id.au
Maintainers: BALATON Zoltan <balaton@eik.bme.hu>, Greg Kurz <groug@kaod.org>, Laurent Vivier <laurent@vivier.eu>, David Gibson <david@gibson.dropbear.id.au>
MAINTAINERS                                 |   1 +
hw/intc/spapr_xive.c                        |   2 +-
hw/intc/spapr_xive_kvm.c                    |  14 +-
hw/intc/xive.c                              |   8 +-
hw/pci-host/mv64361.c                       |   1 +
hw/ppc/pegasos2.c                           | 162 ++++++++++-------
hw/ppc/ppc.c                                |   6 +-
hw/ppc/ppc4xx_pci.c                         |   8 +-
hw/ppc/spapr_softmmu.c                      |  15 --
include/hw/ppc/xive.h                       |  24 +++
linux-user/elfload.c                        |   2 +-
linux-user/ppc/signal.c                     |   9 +-
target/ppc/cpu.c                            |   2 +-
target/ppc/cpu.h                            |  25 ++-
target/ppc/cpu_init.c                       |  16 +-
target/ppc/gdbstub.c                        |   8 +-
target/ppc/helper_regs.c                    |   6 +
target/ppc/monitor.c                        |   9 +-
target/ppc/power8-pmu-regs.c.inc            | 262 ++++++++++++++++++++++++++++
target/ppc/spr_tcg.h                        |   8 +
target/ppc/translate.c                      |  95 +++++-----
tests/acceptance/ppc_405.py                 |  42 +++++
tests/acceptance/ppc_bamboo.py              |  39 +++++
tests/tcg/ppc64/Makefile.target             |   2 +
tests/tcg/ppc64le/Makefile.target           |   2 +
tests/tcg/ppc64le/signal_save_restore_xer.c |  42 +++++
26 files changed, 651 insertions(+), 159 deletions(-)
create mode 100644 target/ppc/power8-pmu-regs.c.inc
create mode 100644 tests/acceptance/ppc_405.py
create mode 100644 tests/acceptance/ppc_bamboo.py
create mode 100644 tests/tcg/ppc64le/signal_save_restore_xer.c
[PULL 00/25] ppc-for-6.2 queue 20211021
Posted by David Gibson 2 years, 6 months ago
The following changes since commit afc9fcde55296b83f659de9da3cdf044812a6eeb:

  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2021-10-20 06:10:51 -0700)

are available in the Git repository at:

  https://gitlab.com/dgibson/qemu.git tags/ppc-for-6.2-20211021

for you to fetch changes up to 6f9e8515c106650fbba7222c8f66234c8546c025:

  hw/ppc/ppc4xx_pci: Fix ppc4xx_pci_map_irq() for recent Linux kernels (2021-10-21 11:42:47 +1100)

----------------------------------------------------------------
ppc patch queue 2021-10-21

Here's the next batch of ppc target related patches for qemu-6.2.
Highlights are:
 * Some fixes and minimal tests for old embedded ppc platforms
 * The beginnings of PMU emulation in TCG from Daniel Barboza
 * Some improvements to the pegasos2 platform
 * A number of TCG bugfixes from the folks at the El Dorado Institute
 * A few other assorted bugfixes and cleanups

----------------------------------------------------------------
BALATON Zoltan (6):
      ppc/pegasos2: Restrict memory to 2 gigabytes
      ppc/pegasos2: Warn when using VOF but no kernel is specified
      ppc/pegasos2: Implement get-time-of-day RTAS function with VOF
      ppc/pegasos2: Access MV64361 registers via their memory region
      ppc/pegasos2: Add constants for PCI config addresses
      ppc/pegasos2: Implement power-off RTAS function with VOF

Cédric Le Goater (3):
      spapr/xive: Add source status helpers
      target/ppc: Fix the test raising the decrementer exception
      spapr/xive: Use xive_esb_rw() to trigger interrupts

Daniel Henrique Barboza (3):
      target/ppc: add MMCR0 PMCC bits to hflags
      target/ppc: add user read/write functions for MMCR2
      target/ppc: adding user read/write functions for PMCs

Gustavo Romero (1):
      target/ppc: add user read/write functions for MMCR0

Matheus Ferst (5):
      linux-user/ppc: Fix XER access in save/restore_user_regs
      target/ppc: Fix XER access in gdbstub
      linux-user: Fix XER access in ppc version of elf_core_copy_regs
      target/ppc: Fix XER access in monitor
      target/ppc: Filter mtmsr[d] input before setting MSR

Philippe Mathieu-Daudé (3):
      target/ppc: Use tcg_constant_i32() in gen_setb()
      target/ppc: Use tcg_constant_i64() in gen_brh()
      hw/ppc/spapr_softmmu: Reduce include list

Thomas Huth (4):
      hw/ppc: Fix iothread locking in the 405 code
      tests/acceptance: Add tests for the ppc405 boards
      tests/acceptance: Add a test for the bamboo ppc board
      hw/ppc/ppc4xx_pci: Fix ppc4xx_pci_map_irq() for recent Linux kernels

 MAINTAINERS                                 |   1 +
 hw/intc/spapr_xive.c                        |   2 +-
 hw/intc/spapr_xive_kvm.c                    |  14 +-
 hw/intc/xive.c                              |   8 +-
 hw/pci-host/mv64361.c                       |   1 +
 hw/ppc/pegasos2.c                           | 162 ++++++++++-------
 hw/ppc/ppc.c                                |   6 +-
 hw/ppc/ppc4xx_pci.c                         |   8 +-
 hw/ppc/spapr_softmmu.c                      |  15 --
 include/hw/ppc/xive.h                       |  24 +++
 linux-user/elfload.c                        |   2 +-
 linux-user/ppc/signal.c                     |   9 +-
 target/ppc/cpu.c                            |   2 +-
 target/ppc/cpu.h                            |  25 ++-
 target/ppc/cpu_init.c                       |  16 +-
 target/ppc/gdbstub.c                        |   8 +-
 target/ppc/helper_regs.c                    |   6 +
 target/ppc/monitor.c                        |   9 +-
 target/ppc/power8-pmu-regs.c.inc            | 262 ++++++++++++++++++++++++++++
 target/ppc/spr_tcg.h                        |   8 +
 target/ppc/translate.c                      |  95 +++++-----
 tests/acceptance/ppc_405.py                 |  42 +++++
 tests/acceptance/ppc_bamboo.py              |  39 +++++
 tests/tcg/ppc64/Makefile.target             |   2 +
 tests/tcg/ppc64le/Makefile.target           |   2 +
 tests/tcg/ppc64le/signal_save_restore_xer.c |  42 +++++
 26 files changed, 651 insertions(+), 159 deletions(-)
 create mode 100644 target/ppc/power8-pmu-regs.c.inc
 create mode 100644 tests/acceptance/ppc_405.py
 create mode 100644 tests/acceptance/ppc_bamboo.py
 create mode 100644 tests/tcg/ppc64le/signal_save_restore_xer.c

Re: [PULL 00/25] ppc-for-6.2 queue 20211021
Posted by Richard Henderson 2 years, 6 months ago
On 10/20/21 9:20 PM, David Gibson wrote:
> The following changes since commit afc9fcde55296b83f659de9da3cdf044812a6eeb:
> 
>    Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2021-10-20 06:10:51 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/dgibson/qemu.git tags/ppc-for-6.2-20211021
> 
> for you to fetch changes up to 6f9e8515c106650fbba7222c8f66234c8546c025:
> 
>    hw/ppc/ppc4xx_pci: Fix ppc4xx_pci_map_irq() for recent Linux kernels (2021-10-21 11:42:47 +1100)
> 
> ----------------------------------------------------------------
> ppc patch queue 2021-10-21
> 
> Here's the next batch of ppc target related patches for qemu-6.2.
> Highlights are:
>   * Some fixes and minimal tests for old embedded ppc platforms
>   * The beginnings of PMU emulation in TCG from Daniel Barboza
>   * Some improvements to the pegasos2 platform
>   * A number of TCG bugfixes from the folks at the El Dorado Institute
>   * A few other assorted bugfixes and cleanups
> 
> ----------------------------------------------------------------
> BALATON Zoltan (6):
>        ppc/pegasos2: Restrict memory to 2 gigabytes
>        ppc/pegasos2: Warn when using VOF but no kernel is specified
>        ppc/pegasos2: Implement get-time-of-day RTAS function with VOF
>        ppc/pegasos2: Access MV64361 registers via their memory region
>        ppc/pegasos2: Add constants for PCI config addresses
>        ppc/pegasos2: Implement power-off RTAS function with VOF
> 
> Cédric Le Goater (3):
>        spapr/xive: Add source status helpers
>        target/ppc: Fix the test raising the decrementer exception
>        spapr/xive: Use xive_esb_rw() to trigger interrupts
> 
> Daniel Henrique Barboza (3):
>        target/ppc: add MMCR0 PMCC bits to hflags
>        target/ppc: add user read/write functions for MMCR2
>        target/ppc: adding user read/write functions for PMCs
> 
> Gustavo Romero (1):
>        target/ppc: add user read/write functions for MMCR0
> 
> Matheus Ferst (5):
>        linux-user/ppc: Fix XER access in save/restore_user_regs
>        target/ppc: Fix XER access in gdbstub
>        linux-user: Fix XER access in ppc version of elf_core_copy_regs
>        target/ppc: Fix XER access in monitor
>        target/ppc: Filter mtmsr[d] input before setting MSR
> 
> Philippe Mathieu-Daudé (3):
>        target/ppc: Use tcg_constant_i32() in gen_setb()
>        target/ppc: Use tcg_constant_i64() in gen_brh()
>        hw/ppc/spapr_softmmu: Reduce include list
> 
> Thomas Huth (4):
>        hw/ppc: Fix iothread locking in the 405 code
>        tests/acceptance: Add tests for the ppc405 boards
>        tests/acceptance: Add a test for the bamboo ppc board
>        hw/ppc/ppc4xx_pci: Fix ppc4xx_pci_map_irq() for recent Linux kernels
> 
>   MAINTAINERS                                 |   1 +
>   hw/intc/spapr_xive.c                        |   2 +-
>   hw/intc/spapr_xive_kvm.c                    |  14 +-
>   hw/intc/xive.c                              |   8 +-
>   hw/pci-host/mv64361.c                       |   1 +
>   hw/ppc/pegasos2.c                           | 162 ++++++++++-------
>   hw/ppc/ppc.c                                |   6 +-
>   hw/ppc/ppc4xx_pci.c                         |   8 +-
>   hw/ppc/spapr_softmmu.c                      |  15 --
>   include/hw/ppc/xive.h                       |  24 +++
>   linux-user/elfload.c                        |   2 +-
>   linux-user/ppc/signal.c                     |   9 +-
>   target/ppc/cpu.c                            |   2 +-
>   target/ppc/cpu.h                            |  25 ++-
>   target/ppc/cpu_init.c                       |  16 +-
>   target/ppc/gdbstub.c                        |   8 +-
>   target/ppc/helper_regs.c                    |   6 +
>   target/ppc/monitor.c                        |   9 +-
>   target/ppc/power8-pmu-regs.c.inc            | 262 ++++++++++++++++++++++++++++
>   target/ppc/spr_tcg.h                        |   8 +
>   target/ppc/translate.c                      |  95 +++++-----
>   tests/acceptance/ppc_405.py                 |  42 +++++
>   tests/acceptance/ppc_bamboo.py              |  39 +++++
>   tests/tcg/ppc64/Makefile.target             |   2 +
>   tests/tcg/ppc64le/Makefile.target           |   2 +
>   tests/tcg/ppc64le/signal_save_restore_xer.c |  42 +++++
>   26 files changed, 651 insertions(+), 159 deletions(-)
>   create mode 100644 target/ppc/power8-pmu-regs.c.inc
>   create mode 100644 tests/acceptance/ppc_405.py
>   create mode 100644 tests/acceptance/ppc_bamboo.py
>   create mode 100644 tests/tcg/ppc64le/signal_save_restore_xer.c

Applied, thanks.

r~