[PULL 00/35] maintainer updates (ci, plugins, semihosting)

Alex Bennée posted 35 patches 2 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251029155045.257802-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 +-
.../ci/setup/{ubuntu => }/build-environment.yml    |  32 +--
scripts/ci/setup/debian/debian-13-ppc64le.yaml     | 134 +++++++++++++
scripts/ci/setup/gitlab-runner.yml                 |   6 +-
scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml   |   4 +-
scripts/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
[PULL 00/35] maintainer updates (ci, plugins, semihosting)
Posted by Alex Bennée 2 weeks, 2 days ago
The following changes since commit e090e0312dc9030d94e38e3d98a88718d3561e4e:

  Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2025-10-29 10:44:15 +0100)

are available in the Git repository at:

  https://gitlab.com/stsquad/qemu.git tags/pull-10.2-maintainer-291025-1

for you to fetch changes up to 4f45b2c352bb72c13a8801805061b31979e3f048:

  semihosting: Fix GDB File-I/O FLEN (2025-10-29 14:13:40 +0000)

----------------------------------------------------------------
maintainer updates for 10.2

  - clean-up remaining 32 bit armhf bits in ci
  - rationalise build-environment.yml for Debian and Ubuntu
  - generate a Debian ppc64 package list
  - rationalise gitlab-runner.yml for Debian and Ubuntu
  - new TCG plugin feature to track discontinuities
  - add missing CFI annotation to plugin callbacks
  - drop SBSA_REF from minimal Arm build
  - format string fix for gdbstub syscall response
  - simplify the gdbstub flen handling for semihosting

----------------------------------------------------------------
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 +-
 .../ci/setup/{ubuntu => }/build-environment.yml    |  32 +--
 scripts/ci/setup/debian/debian-13-ppc64le.yaml     | 134 +++++++++++++
 scripts/ci/setup/gitlab-runner.yml                 |   6 +-
 scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml   |   4 +-
 scripts/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: [PULL 00/35] maintainer updates (ci, plugins, semihosting)
Posted by Richard Henderson 2 weeks ago
On 10/29/25 16:50, Alex Bennée wrote:
> The following changes since commit e090e0312dc9030d94e38e3d98a88718d3561e4e:
> 
>    Merge tag 'pull-trivial-patches' ofhttps://gitlab.com/mjt0k/qemu into staging (2025-10-29 10:44:15 +0100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/stsquad/qemu.git tags/pull-10.2-maintainer-291025-1
> 
> for you to fetch changes up to 4f45b2c352bb72c13a8801805061b31979e3f048:
> 
>    semihosting: Fix GDB File-I/O FLEN (2025-10-29 14:13:40 +0000)
> 
> ----------------------------------------------------------------
> maintainer updates for 10.2
> 
>    - clean-up remaining 32 bit armhf bits in ci
>    - rationalise build-environment.yml for Debian and Ubuntu
>    - generate a Debian ppc64 package list
>    - rationalise gitlab-runner.yml for Debian and Ubuntu
>    - new TCG plugin feature to track discontinuities
>    - add missing CFI annotation to plugin callbacks
>    - drop SBSA_REF from minimal Arm build
>    - format string fix for gdbstub syscall response
>    - simplify the gdbstub flen handling for semihosting

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

r~