[PULL 00/15] s390x patches and pylint support for functional tests

Thomas Huth posted 15 patches 3 weeks, 4 days ago
Failed in applying to current master (apply log)
Maintainers: John Snow <jsnow@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Mauro Carvalho Chehab <mchehab+huawei@kernel.org>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>, Farhan Ali <alifm@linux.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>, Eric Auger <eric.auger@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Dmitry Osipenko <dmitry.osipenko@collabora.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Aurelien Jarno <aurelien@aurel32.net>, Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>
MAINTAINERS                                  |  2 +
docs/conf.py                                 |  2 +-
include/hw/s390x/css.h                       |  2 +
include/qemu/help-texts.h                    |  2 +-
target/s390x/cpu.h                           |  6 --
target/s390x/kvm/pv.h                        | 24 +-------
target/s390x/s390x-internal.h                |  2 -
target/s390x/tcg/tcg_s390x.h                 |  5 ++
hw/s390x/tod.c                               |  5 ++
stubs/async-run-on-cpu.c                     | 11 ++++
stubs/cpus-queue.c                           |  8 +++
target/s390x/cpu.c                           | 30 +++++-----
target/s390x/gdbstub.c                       |  2 +-
target/s390x/helper.c                        | 39 -------------
target/s390x/kvm/kvm.c                       |  2 +
target/s390x/kvm/pv.c                        | 18 ++++++
target/s390x/machine.c                       |  4 ++
target/s390x/tcg/debug.c                     | 85 ++++++++++++++++++++++++++++
target/s390x/tcg/excp_helper.c               | 32 -----------
target/s390x/tcg/translate.c                 |  5 +-
util/qemu-timer.c                            | 30 ++++++++++
stubs/meson.build                            |  2 +
target/s390x/tcg/meson.build                 |  3 +
tests/functional/aarch64/test_smmu.py        |  1 +
tests/functional/aarch64/test_virt_gpu.py    | 20 +++----
tests/functional/generic/meson.build         |  1 +
tests/functional/generic/test_linters.py     | 41 ++++++++++++++
tests/functional/mips/test_malta.py          |  8 +--
tests/functional/ppc64/test_hv.py            | 10 ++--
tests/functional/pylintrc                    | 84 +++++++++++++++++++++++++++
tests/functional/reverse_debugging.py        |  4 +-
tests/functional/s390x/meson.build           |  1 +
tests/functional/s390x/test_reverse_debug.py | 21 +++++++
33 files changed, 368 insertions(+), 144 deletions(-)
create mode 100644 stubs/async-run-on-cpu.c
create mode 100644 stubs/cpus-queue.c
create mode 100644 target/s390x/tcg/debug.c
create mode 100755 tests/functional/generic/test_linters.py
create mode 100644 tests/functional/pylintrc
create mode 100755 tests/functional/s390x/test_reverse_debug.py
[PULL 00/15] s390x patches and pylint support for functional tests
Posted by Thomas Huth 3 weeks, 4 days ago
 Hi!

The following changes since commit b254e486242466dad881fc2bbfa215f1b67cd30f:

  Merge tag 'pull-riscv-to-apply-20260109' of https://github.com/alistair23/qemu into staging (2026-01-10 10:31:57 +1100)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2026-01-12

for you to fetch changes up to f397b7652dac77bf24a491dfee8def59a5d2591f:

  tests/functional/s390x: Add reverse debugging test for s390x (2026-01-12 13:56:28 +0100)

----------------------------------------------------------------
* Check functional tests with pylint
* update copyright year to 2026
* Some more universal-binary work for the s390x code done by Philippe
* Fix reverse debugging for s390x and add a functional test for it

----------------------------------------------------------------
Ani Sinha (1):
      docs: update copyright year to 2026

Ilya Leoshkevich (1):
      target/s390x: Fix infinite loop during replay

Philippe Mathieu-Daudé (6):
      target/s390x: Restrict WatchPoint API to TCG
      target/s390x: Use vaddr for $pc in get_next_pc()
      target/s390x: Replace target_ulong -> uint64_t in gdb_write_register()
      target/s390x: Remove unused 'gdbstub/helpers.h' header in helper.c
      target/s390x: Simplify S390_ADAPTER_SUPPRESSIBLE definition
      target/s390x: Un-inline s390_is_pv()

Thomas Huth (7):
      tests/functional: Add a pylintrc file
      tests/functional/mips/test_malta: Silence warnings reported by pylint
      tests/functional/ppc64/test_hv: Silence warnings reported by pylint
      tests/functional/aarch64/test_virt_gpu: Fix style issues
      tests/functional/aarch64/test_smmu: Silence warning from pylint
      tests/functional: Add a generic test that checks the files with pylint
      tests/functional/s390x: Add reverse debugging test for s390x

 MAINTAINERS                                  |  2 +
 docs/conf.py                                 |  2 +-
 include/hw/s390x/css.h                       |  2 +
 include/qemu/help-texts.h                    |  2 +-
 target/s390x/cpu.h                           |  6 --
 target/s390x/kvm/pv.h                        | 24 +-------
 target/s390x/s390x-internal.h                |  2 -
 target/s390x/tcg/tcg_s390x.h                 |  5 ++
 hw/s390x/tod.c                               |  5 ++
 stubs/async-run-on-cpu.c                     | 11 ++++
 stubs/cpus-queue.c                           |  8 +++
 target/s390x/cpu.c                           | 30 +++++-----
 target/s390x/gdbstub.c                       |  2 +-
 target/s390x/helper.c                        | 39 -------------
 target/s390x/kvm/kvm.c                       |  2 +
 target/s390x/kvm/pv.c                        | 18 ++++++
 target/s390x/machine.c                       |  4 ++
 target/s390x/tcg/debug.c                     | 85 ++++++++++++++++++++++++++++
 target/s390x/tcg/excp_helper.c               | 32 -----------
 target/s390x/tcg/translate.c                 |  5 +-
 util/qemu-timer.c                            | 30 ++++++++++
 stubs/meson.build                            |  2 +
 target/s390x/tcg/meson.build                 |  3 +
 tests/functional/aarch64/test_smmu.py        |  1 +
 tests/functional/aarch64/test_virt_gpu.py    | 20 +++----
 tests/functional/generic/meson.build         |  1 +
 tests/functional/generic/test_linters.py     | 41 ++++++++++++++
 tests/functional/mips/test_malta.py          |  8 +--
 tests/functional/ppc64/test_hv.py            | 10 ++--
 tests/functional/pylintrc                    | 84 +++++++++++++++++++++++++++
 tests/functional/reverse_debugging.py        |  4 +-
 tests/functional/s390x/meson.build           |  1 +
 tests/functional/s390x/test_reverse_debug.py | 21 +++++++
 33 files changed, 368 insertions(+), 144 deletions(-)
 create mode 100644 stubs/async-run-on-cpu.c
 create mode 100644 stubs/cpus-queue.c
 create mode 100644 target/s390x/tcg/debug.c
 create mode 100755 tests/functional/generic/test_linters.py
 create mode 100644 tests/functional/pylintrc
 create mode 100755 tests/functional/s390x/test_reverse_debug.py


Re: [PULL 00/15] s390x patches and pylint support for functional tests
Posted by Richard Henderson 3 weeks, 4 days ago
On 1/13/26 00:14, Thomas Huth wrote:
>   Hi!
> 
> The following changes since commit b254e486242466dad881fc2bbfa215f1b67cd30f:
> 
>    Merge tag 'pull-riscv-to-apply-20260109' ofhttps://github.com/alistair23/qemu into staging (2026-01-10 10:31:57 +1100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/thuth/qemu.git tags/pull-request-2026-01-12
> 
> for you to fetch changes up to f397b7652dac77bf24a491dfee8def59a5d2591f:
> 
>    tests/functional/s390x: Add reverse debugging test for s390x (2026-01-12 13:56:28 +0100)
> 
> ----------------------------------------------------------------
> * Check functional tests with pylint
> * update copyright year to 2026
> * Some more universal-binary work for the s390x code done by Philippe
> * Fix reverse debugging for s390x and add a functional test for it


Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/11.0 as appropriate.

r~