[PATCH 00/35] maintainer updates for 8.2 softfeeeze (ci, plugins, semihosting) pre-PR

Alex Bennée posted 35 patches 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251027110344.2289945-1-alex.bennee@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Michael Rolnik <mrolnik@gmail.com>, Helge Deller <deller@gmx.de>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Song Gao <gaosong@loongson.cn>, Laurent Vivier <laurent@vivier.eu>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Stafford Horne <shorne@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Yoshinori Sato <yoshinori.sato@nifty.com>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Max Filippov <jcmvbkbc@gmail.com>
docs/about/emulation.rst                      |   8 +
docs/devel/testing/ci-jobs.rst.inc            |   7 -
configs/devices/aarch64-softmmu/minimal.mak   |   1 -
include/qemu/plugin-event.h                   |   3 +
include/qemu/plugin.h                         |  13 ++
include/qemu/qemu-plugin.h                    |  60 +++++
target/arm/internals.h                        |   1 +
contrib/plugins/traps.c                       |  83 +++++++
gdbstub/syscalls.c                            |   2 +-
plugins/core.c                                |  58 +++++
plugins/loader.c                              |   1 +
semihosting/arm-compat-semi.c                 |   5 +-
target/alpha/helper.c                         |  13 ++
target/arm/helper.c                           |  24 ++
target/arm/tcg/m_helper.c                     |   5 +
target/avr/helper.c                           |   3 +
target/hppa/int_helper.c                      |  17 ++
target/i386/tcg/excp_helper.c                 |   3 +
target/i386/tcg/seg_helper.c                  |   4 +
target/loongarch/tcg/tcg_cpu.c                |   4 +
target/m68k/op_helper.c                       |  22 ++
target/microblaze/helper.c                    |  10 +
target/mips/tcg/system/tlb_helper.c           |  11 +
target/openrisc/interrupt.c                   |  15 ++
target/ppc/excp_helper.c                      |  41 ++++
target/riscv/cpu_helper.c                     |   9 +
target/rx/helper.c                            |  12 +
target/s390x/tcg/excp_helper.c                |   8 +
target/sh4/helper.c                           |   4 +
target/sparc/int32_helper.c                   |   7 +
target/sparc/int64_helper.c                   |  10 +
target/tricore/op_helper.c                    |   5 +
target/xtensa/exc_helper.c                    |   6 +
target/xtensa/xtensa-semi.c                   |   3 +
tests/tcg/plugins/discons.c                   | 221 ++++++++++++++++++
.../custom-runners/ubuntu-24.04-aarch64.yml   |   2 -
contrib/plugins/meson.build                   |   2 +-
.../setup/{ubuntu => }/build-environment.yml  |  32 +--
.../ci/setup/debian/debian-13-ppc64le.yaml    | 134 +++++++++++
scripts/ci/setup/gitlab-runner.yml            |   6 +-
.../ci/setup/ubuntu/ubuntu-2404-aarch64.yaml  |   4 +-
.../ci/setup/ubuntu/ubuntu-2404-s390x.yaml    |   4 +-
tests/lcitool/refresh                         |   1 +
tests/tcg/plugins/meson.build                 |   2 +-
tests/tcg/riscv64/Makefile.softmmu-target     |  12 +
tests/tcg/riscv64/doubletrap.S                |  73 ++++++
tests/tcg/riscv64/interruptedmemory.S         |  97 ++++++++
47 files changed, 1031 insertions(+), 37 deletions(-)
create mode 100644 contrib/plugins/traps.c
create mode 100644 tests/tcg/plugins/discons.c
rename scripts/ci/setup/{ubuntu => }/build-environment.yml (63%)
create mode 100644 scripts/ci/setup/debian/debian-13-ppc64le.yaml
create mode 100644 tests/tcg/riscv64/doubletrap.S
create mode 100644 tests/tcg/riscv64/interruptedmemory.S
[PATCH 00/35] maintainer updates for 8.2 softfeeeze (ci, plugins, semihosting) pre-PR
Posted by Alex Bennée 2 weeks, 4 days ago
Hi,

This should be my final pull-request before softfreeze on the 4th of
November. As I'll be travelling I intend to send it out by the end of
the week.

The CI changes are mostly cleanups for the ansible scripts. I've
dropped the final testing/next patch which enables the ppc64le custom
runner as I don't think I'll have time to debug that before the
freeze.

The plugin updates are already well reviewed and should make more
richer plugins giving semantic info on the type of discontinuities you
can see.

There are a few other minor fixes including come missing CFI tags for
some plugin callbacks and fixing the minimal -no-tcg build.

The following still need review:

  scripts/ci: modify gitlab runner deb setup
  tests/lcitool: generate a yaml file for the ppc64le runner
  scripts/ci: allow both Ubuntu or Debian to run upgrade
  scripts/ci: move build-environment.yaml up a level
  scripts/ci/setup: regenerate yaml
  ci: clean-up remaining bits of armhf builds.

Alex.

Alex Bennée (8):
  ci: clean-up remaining bits of armhf builds.
  scripts/ci/setup: regenerate yaml
  scripts/ci: move build-environment.yaml up a level
  scripts/ci: allow both Ubuntu or Debian to run upgrade
  tests/lcitool: generate a yaml file for the ppc64le runner
  scripts/ci: modify gitlab runner deb setup
  plugins/core: add missing QEMU_DISABLE_CFI annotations
  configs: drop SBSA_REF from minimal specification

Julian Ganz (25):
  plugins: add types for callbacks related to certain discontinuities
  plugins: add API for registering discontinuity callbacks
  plugins: add hooks for new discontinuity related callbacks
  contrib/plugins: add plugin showcasing new dicontinuity related API
  target/alpha: call plugin trap callbacks
  target/arm: call plugin trap callbacks
  target/avr: call plugin trap callbacks
  target/hppa: call plugin trap callbacks
  target/i386: call plugin trap callbacks
  target/loongarch: call plugin trap callbacks
  target/m68k: call plugin trap callbacks
  target/microblaze: call plugin trap callbacks
  target/mips: call plugin trap callbacks
  target/openrisc: call plugin trap callbacks
  target/ppc: call plugin trap callbacks
  target/riscv: call plugin trap callbacks
  target/rx: call plugin trap callbacks
  target/s390x: call plugin trap callbacks
  target/sh4: call plugin trap callbacks
  target/sparc: call plugin trap callbacks
  target/tricore: call plugin trap callbacks
  target/xtensa: call plugin trap callbacks
  tests: add plugin asserting correctness of discon event's to_pc
  tests: add test for double-traps on rv64
  tests: add test with interrupted memory accesses on rv64

Sean Anderson (2):
  gdbstub: Fix %s formatting
  semihosting: Fix GDB File-I/O FLEN

 docs/about/emulation.rst                      |   8 +
 docs/devel/testing/ci-jobs.rst.inc            |   7 -
 configs/devices/aarch64-softmmu/minimal.mak   |   1 -
 include/qemu/plugin-event.h                   |   3 +
 include/qemu/plugin.h                         |  13 ++
 include/qemu/qemu-plugin.h                    |  60 +++++
 target/arm/internals.h                        |   1 +
 contrib/plugins/traps.c                       |  83 +++++++
 gdbstub/syscalls.c                            |   2 +-
 plugins/core.c                                |  58 +++++
 plugins/loader.c                              |   1 +
 semihosting/arm-compat-semi.c                 |   5 +-
 target/alpha/helper.c                         |  13 ++
 target/arm/helper.c                           |  24 ++
 target/arm/tcg/m_helper.c                     |   5 +
 target/avr/helper.c                           |   3 +
 target/hppa/int_helper.c                      |  17 ++
 target/i386/tcg/excp_helper.c                 |   3 +
 target/i386/tcg/seg_helper.c                  |   4 +
 target/loongarch/tcg/tcg_cpu.c                |   4 +
 target/m68k/op_helper.c                       |  22 ++
 target/microblaze/helper.c                    |  10 +
 target/mips/tcg/system/tlb_helper.c           |  11 +
 target/openrisc/interrupt.c                   |  15 ++
 target/ppc/excp_helper.c                      |  41 ++++
 target/riscv/cpu_helper.c                     |   9 +
 target/rx/helper.c                            |  12 +
 target/s390x/tcg/excp_helper.c                |   8 +
 target/sh4/helper.c                           |   4 +
 target/sparc/int32_helper.c                   |   7 +
 target/sparc/int64_helper.c                   |  10 +
 target/tricore/op_helper.c                    |   5 +
 target/xtensa/exc_helper.c                    |   6 +
 target/xtensa/xtensa-semi.c                   |   3 +
 tests/tcg/plugins/discons.c                   | 221 ++++++++++++++++++
 .../custom-runners/ubuntu-24.04-aarch64.yml   |   2 -
 contrib/plugins/meson.build                   |   2 +-
 .../setup/{ubuntu => }/build-environment.yml  |  32 +--
 .../ci/setup/debian/debian-13-ppc64le.yaml    | 134 +++++++++++
 scripts/ci/setup/gitlab-runner.yml            |   6 +-
 .../ci/setup/ubuntu/ubuntu-2404-aarch64.yaml  |   4 +-
 .../ci/setup/ubuntu/ubuntu-2404-s390x.yaml    |   4 +-
 tests/lcitool/refresh                         |   1 +
 tests/tcg/plugins/meson.build                 |   2 +-
 tests/tcg/riscv64/Makefile.softmmu-target     |  12 +
 tests/tcg/riscv64/doubletrap.S                |  73 ++++++
 tests/tcg/riscv64/interruptedmemory.S         |  97 ++++++++
 47 files changed, 1031 insertions(+), 37 deletions(-)
 create mode 100644 contrib/plugins/traps.c
 create mode 100644 tests/tcg/plugins/discons.c
 rename scripts/ci/setup/{ubuntu => }/build-environment.yml (63%)
 create mode 100644 scripts/ci/setup/debian/debian-13-ppc64le.yaml
 create mode 100644 tests/tcg/riscv64/doubletrap.S
 create mode 100644 tests/tcg/riscv64/interruptedmemory.S

-- 
2.47.3


Re: [PATCH 00/35] maintainer updates for 10.2 softfeeeze (ci, plugins, semihosting) pre-PR
Posted by Alex Bennée 2 weeks, 4 days ago
Alex Bennée <alex.bennee@linaro.org> writes:

> Hi,
>
> This should be my final pull-request before softfreeze on the 4th of
> November. As I'll be travelling I intend to send it out by the end of
> the week.

This is of course the 10.2 softfreeze. I must be nostalgic ;-)

>
> The CI changes are mostly cleanups for the ansible scripts. I've
> dropped the final testing/next patch which enables the ppc64le custom
> runner as I don't think I'll have time to debug that before the
> freeze.
>
> The plugin updates are already well reviewed and should make more
> richer plugins giving semantic info on the type of discontinuities you
> can see.
>
> There are a few other minor fixes including come missing CFI tags for
> some plugin callbacks and fixing the minimal -no-tcg build.
>
> The following still need review:
>
>   scripts/ci: modify gitlab runner deb setup
>   tests/lcitool: generate a yaml file for the ppc64le runner
>   scripts/ci: allow both Ubuntu or Debian to run upgrade
>   scripts/ci: move build-environment.yaml up a level
>   scripts/ci/setup: regenerate yaml
>   ci: clean-up remaining bits of armhf builds.
>
> Alex.
>
> Alex Bennée (8):
>   ci: clean-up remaining bits of armhf builds.
>   scripts/ci/setup: regenerate yaml
>   scripts/ci: move build-environment.yaml up a level
>   scripts/ci: allow both Ubuntu or Debian to run upgrade
>   tests/lcitool: generate a yaml file for the ppc64le runner
>   scripts/ci: modify gitlab runner deb setup
>   plugins/core: add missing QEMU_DISABLE_CFI annotations
>   configs: drop SBSA_REF from minimal specification
>
> Julian Ganz (25):
>   plugins: add types for callbacks related to certain discontinuities
>   plugins: add API for registering discontinuity callbacks
>   plugins: add hooks for new discontinuity related callbacks
>   contrib/plugins: add plugin showcasing new dicontinuity related API
>   target/alpha: call plugin trap callbacks
>   target/arm: call plugin trap callbacks
>   target/avr: call plugin trap callbacks
>   target/hppa: call plugin trap callbacks
>   target/i386: call plugin trap callbacks
>   target/loongarch: call plugin trap callbacks
>   target/m68k: call plugin trap callbacks
>   target/microblaze: call plugin trap callbacks
>   target/mips: call plugin trap callbacks
>   target/openrisc: call plugin trap callbacks
>   target/ppc: call plugin trap callbacks
>   target/riscv: call plugin trap callbacks
>   target/rx: call plugin trap callbacks
>   target/s390x: call plugin trap callbacks
>   target/sh4: call plugin trap callbacks
>   target/sparc: call plugin trap callbacks
>   target/tricore: call plugin trap callbacks
>   target/xtensa: call plugin trap callbacks
>   tests: add plugin asserting correctness of discon event's to_pc
>   tests: add test for double-traps on rv64
>   tests: add test with interrupted memory accesses on rv64
>
> Sean Anderson (2):
>   gdbstub: Fix %s formatting
>   semihosting: Fix GDB File-I/O FLEN
>
>  docs/about/emulation.rst                      |   8 +
>  docs/devel/testing/ci-jobs.rst.inc            |   7 -
>  configs/devices/aarch64-softmmu/minimal.mak   |   1 -
>  include/qemu/plugin-event.h                   |   3 +
>  include/qemu/plugin.h                         |  13 ++
>  include/qemu/qemu-plugin.h                    |  60 +++++
>  target/arm/internals.h                        |   1 +
>  contrib/plugins/traps.c                       |  83 +++++++
>  gdbstub/syscalls.c                            |   2 +-
>  plugins/core.c                                |  58 +++++
>  plugins/loader.c                              |   1 +
>  semihosting/arm-compat-semi.c                 |   5 +-
>  target/alpha/helper.c                         |  13 ++
>  target/arm/helper.c                           |  24 ++
>  target/arm/tcg/m_helper.c                     |   5 +
>  target/avr/helper.c                           |   3 +
>  target/hppa/int_helper.c                      |  17 ++
>  target/i386/tcg/excp_helper.c                 |   3 +
>  target/i386/tcg/seg_helper.c                  |   4 +
>  target/loongarch/tcg/tcg_cpu.c                |   4 +
>  target/m68k/op_helper.c                       |  22 ++
>  target/microblaze/helper.c                    |  10 +
>  target/mips/tcg/system/tlb_helper.c           |  11 +
>  target/openrisc/interrupt.c                   |  15 ++
>  target/ppc/excp_helper.c                      |  41 ++++
>  target/riscv/cpu_helper.c                     |   9 +
>  target/rx/helper.c                            |  12 +
>  target/s390x/tcg/excp_helper.c                |   8 +
>  target/sh4/helper.c                           |   4 +
>  target/sparc/int32_helper.c                   |   7 +
>  target/sparc/int64_helper.c                   |  10 +
>  target/tricore/op_helper.c                    |   5 +
>  target/xtensa/exc_helper.c                    |   6 +
>  target/xtensa/xtensa-semi.c                   |   3 +
>  tests/tcg/plugins/discons.c                   | 221 ++++++++++++++++++
>  .../custom-runners/ubuntu-24.04-aarch64.yml   |   2 -
>  contrib/plugins/meson.build                   |   2 +-
>  .../setup/{ubuntu => }/build-environment.yml  |  32 +--
>  .../ci/setup/debian/debian-13-ppc64le.yaml    | 134 +++++++++++
>  scripts/ci/setup/gitlab-runner.yml            |   6 +-
>  .../ci/setup/ubuntu/ubuntu-2404-aarch64.yaml  |   4 +-
>  .../ci/setup/ubuntu/ubuntu-2404-s390x.yaml    |   4 +-
>  tests/lcitool/refresh                         |   1 +
>  tests/tcg/plugins/meson.build                 |   2 +-
>  tests/tcg/riscv64/Makefile.softmmu-target     |  12 +
>  tests/tcg/riscv64/doubletrap.S                |  73 ++++++
>  tests/tcg/riscv64/interruptedmemory.S         |  97 ++++++++
>  47 files changed, 1031 insertions(+), 37 deletions(-)
>  create mode 100644 contrib/plugins/traps.c
>  create mode 100644 tests/tcg/plugins/discons.c
>  rename scripts/ci/setup/{ubuntu => }/build-environment.yml (63%)
>  create mode 100644 scripts/ci/setup/debian/debian-13-ppc64le.yaml
>  create mode 100644 tests/tcg/riscv64/doubletrap.S
>  create mode 100644 tests/tcg/riscv64/interruptedmemory.S

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro