The following changes since commit 5915139aba1646220630596de30c673528e047c9:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-07-04 09:16:07 -0700) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-july24-050724-1 for you to fetch changes up to 340ca46b681b1e9cac1643a7fd964947aeb68a56: tests/tcg/aarch64: Add MTE gdbstub tests (2024-07-05 12:35:36 +0100) ---------------------------------------------------------------- Updates for testing, plugins, gdbstub - restore some 32 bit host builds and testing - move some physmem tracepoint definitions - use --userns keep-id for podman builds - cleanup check-tcg compiler flag checking for Arm - fix some casting in fcvt test - tweak check-tcg inline asm for clang - suppress some invalid clang warnings - disable KVM for the TCI builds - improve the insn tracking plugin - cleanups to the lockstep plugin - free plugin data on cpu finalise - assert cpu->index assigned - move qemu_plugin_vcpu_init__async into plugin code - add support for dynamic gdb command tables - allow targets to extend gdb capabilities - enable user-mode MTE support ---------------------------------------------------------------- Akihiko Odaki (6): tests/docker: Specify --userns keep-id for Podman tests/tcg/aarch64: Explicitly specify register width tests/tcg/aarch64: Fix irg operand type tests/tcg/aarch64: Do not use x constraint tests/tcg/arm: Fix fcvt result messages tests/tcg/arm: Manually register allocate half-precision numbers Alex Bennée (11): tests/lcitool: fix debian-i686-cross toolchain prefix testing: restore some testing for i686 tracepoints: move physmem trace points hw/core: ensure kernel_end never gets used undefined gitlab: don't bother with KVM for TCI builds test/plugin: make insn plugin less noisy by default test/plugins: preserve the instruction record over translations plugins/lockstep: preserve sock_path plugins/lockstep: make mixed-mode safe plugins/lockstep: mention the one-insn-per-tb option plugins/lockstep: clean-up output Gustavo Romero (11): gdbstub: Clean up process_string_cmd gdbstub: Move GdbCmdParseEntry into a new header file gdbstub: Add support for target-specific stubs target/arm: Fix exception case in allocation_tag_mem_probe target/arm: Make some MTE helpers widely available target/arm: Factor out code for setting MTE TCF0 field gdbstub: Make hex conversion function non-internal gdbstub: Pass CPU context to command handler gdbstub: Use true to set cmd_startswith gdbstub: Add support for MTE in user mode tests/tcg/aarch64: Add MTE gdbstub tests Philippe Mathieu-Daudé (3): plugins: Ensure vCPU index is assigned in init/exit hooks plugins: Free CPUPluginState before destroying vCPU state accel/tcg: Move qemu_plugin_vcpu_init__async() to plugins/ Richard Henderson (9): tests/tcg/minilib: Constify digits in print_num tests/tcg: Adjust variable defintion from cc-option tests/tcg/aarch64: Drop -fno-tree-loop-distribute-patterns tests/tcg/aarch64: Add -fno-integrated-as for sme tests/tcg/arm: Drop -N from LDFLAGS tests/tcg/arm: Use -fno-integrated-as for test-arm-iwmmxt tests/tcg/arm: Use -march and -mfpu for fcvt tests/tcg/arm: Use vmrs/vmsr instead of mcr/mrc linux-user/main: Suppress out-of-range comparison warning for clang configure | 4 + configs/targets/aarch64-linux-user.mak | 2 +- gdbstub/internals.h | 23 - include/gdbstub/commands.h | 103 ++++ include/qemu/plugin.h | 3 + linux-user/aarch64/mte_user_helper.h | 32 ++ linux-user/aarch64/target_prctl.h | 22 +- target/arm/internals.h | 6 + target/arm/tcg/mte_helper.h | 66 +++ contrib/plugins/lockstep.c | 23 +- gdbstub/gdbstub.c | 341 +++++++----- gdbstub/syscalls.c | 7 +- gdbstub/system.c | 7 +- gdbstub/user-target.c | 25 +- gdbstub/user.c | 7 +- hw/core/cpu-common.c | 14 +- hw/core/loader-fit.c | 2 +- linux-user/aarch64/mte_user_helper.c | 35 ++ linux-user/main.c | 1 + linux-user/syscall.c | 9 - plugins/core.c | 10 +- system/physmem.c | 4 +- target/arm/cpu.c | 1 + target/arm/gdbstub.c | 46 ++ target/arm/gdbstub64.c | 223 ++++++++ target/arm/tcg/mte_helper.c | 48 +- tests/plugin/insn.c | 112 +++- tests/tcg/aarch64/bti-1.c | 6 +- tests/tcg/aarch64/bti-3.c | 6 +- tests/tcg/aarch64/mte-1.c | 2 +- tests/tcg/aarch64/mte-8.c | 99 ++++ tests/tcg/arm/fcvt.c | 28 +- tests/tcg/minilib/printf.c | 2 +- .gitlab-ci.d/buildtest.yml | 2 +- .gitlab-ci.d/crossbuilds.yml | 13 +- gdb-xml/aarch64-mte.xml | 11 + linux-user/aarch64/meson.build | 2 + system/trace-events | 6 + tests/docker/Makefile.include | 7 +- tests/docker/dockerfiles/debian-i686-cross.docker | 2 +- tests/lcitool/refresh | 2 +- tests/tcg/Makefile.target | 2 +- tests/tcg/aarch64/Makefile.softmmu-target | 4 +- tests/tcg/aarch64/Makefile.target | 32 +- tests/tcg/aarch64/fcvt.ref | 604 +++++++++++----------- tests/tcg/aarch64/gdbstub/test-mte.py | 86 +++ tests/tcg/arm/Makefile.softmmu-target | 4 +- tests/tcg/arm/Makefile.target | 12 +- tests/tcg/arm/fcvt.ref | 604 +++++++++++----------- trace-events | 5 - 50 files changed, 1771 insertions(+), 946 deletions(-) create mode 100644 include/gdbstub/commands.h create mode 100644 linux-user/aarch64/mte_user_helper.h create mode 100644 target/arm/tcg/mte_helper.h create mode 100644 linux-user/aarch64/mte_user_helper.c create mode 100644 tests/tcg/aarch64/mte-8.c create mode 100644 gdb-xml/aarch64-mte.xml create mode 100644 tests/tcg/aarch64/gdbstub/test-mte.py -- 2.39.2