mbox series

[00/21] exec/next for 9.1

Message ID 20240417182806.69446-1-philmd@linaro.org
Headers show
Series exec/next for 9.1 | expand

Message

Philippe Mathieu-Daudé April 17, 2024, 6:27 p.m. UTC
Hi,

This series contains the patches I'm going to send in
a pull request once the final 9.0 tag is out. Sending
now since I'll post another series based on it.

Also available here for convenience:
https://gitlab.com/philmd/qemu/-/commits/exec-next

Regards,

Phil.

Philippe Mathieu-Daudé (21):
  gdbstub: Simplify #ifdef'ry in helpers.h
  hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h
  exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET
  exec: Include 'cpu.h' before validating CPUArchState placement
  exec: Expose 'target_page.h' API to user emulation
  target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'
  accel: Include missing 'exec/cpu_ldst.h' header
  gdbstub: Include missing 'hw/core/cpu.h' header
  semihosting/uaccess: Avoid including 'cpu.h'
  semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header
  exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion
  target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation
  accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h'
  target/i386: Include missing 'exec/exec-all.h' header
  accel/tcg: Include missing 'hw/core/cpu.h' header
  exec/cpu-all: Remove unused 'qemu/thread.h' header
  exec/cpu-all: Remove unused tswapls() definitions
  exec: Declare target_words_bigendian() in 'exec/tswap.h'
  exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'
  exec/user: Do not include 'cpu.h' in 'abitypes.h'
  exec: Declare abi_ptr type in its own 'abi_ptr.h' header

 MAINTAINERS                        |  1 +
 meson.build                        |  6 ++--
 accel/tcg/user-retaddr.h           | 28 +++++++++++++++++++
 bsd-user/freebsd/target_os_elf.h   |  1 +
 bsd-user/freebsd/target_os_stack.h |  1 +
 bsd-user/netbsd/target_os_elf.h    |  1 +
 bsd-user/openbsd/target_os_elf.h   |  1 +
 include/exec/abi_ptr.h             | 33 ++++++++++++++++++++++
 include/exec/cpu-all.h             | 13 +--------
 include/exec/cpu-defs.h            |  2 +-
 include/exec/cpu_ldst.h            | 45 ++++--------------------------
 include/exec/exec-all.h            |  1 +
 include/exec/helper-head.h         |  4 +--
 include/exec/memop.h               |  4 +--
 include/exec/memory.h              |  4 +--
 include/exec/ram_addr.h            |  1 +
 include/exec/translator.h          |  5 +++-
 include/exec/tswap.h               | 16 +++++++++--
 include/exec/user/abitypes.h       |  8 +++++-
 include/gdbstub/helpers.h          |  9 +++---
 include/hw/core/cpu.h              | 15 ++--------
 include/hw/core/tcg-cpu-ops.h      |  3 --
 include/qemu/osdep.h               |  2 +-
 include/semihosting/uaccess.h      |  2 +-
 include/sysemu/hvf.h               |  8 +++---
 include/sysemu/kvm.h               |  6 ++--
 include/sysemu/nvmm.h              |  4 +--
 include/sysemu/whpx.h              |  4 +--
 include/sysemu/xen.h               |  4 +--
 include/user/tswap-target.h        | 22 +++++++++++++++
 target/alpha/cpu-param.h           |  3 ++
 target/alpha/cpu.h                 |  3 --
 target/arm/cpu-param.h             |  8 ++++--
 target/arm/cpu.h                   |  3 --
 target/arm/kvm-consts.h            |  4 +--
 target/avr/cpu-param.h             |  2 ++
 target/avr/cpu.h                   |  2 --
 target/hppa/cpu-param.h            |  8 ++++++
 target/hppa/cpu.h                  |  6 ----
 target/i386/cpu-param.h            |  3 ++
 target/i386/cpu.h                  |  3 --
 target/loongarch/cpu-param.h       |  2 ++
 target/loongarch/cpu.h             |  2 --
 target/microblaze/cpu-param.h      |  3 ++
 target/microblaze/cpu.h            |  3 --
 target/mips/cpu-param.h            |  2 ++
 target/mips/cpu.h                  |  2 --
 target/openrisc/cpu-param.h        |  2 ++
 target/openrisc/cpu.h              |  2 --
 target/ppc/cpu-param.h             |  2 ++
 target/ppc/cpu.h                   |  2 --
 target/riscv/cpu-param.h           |  2 ++
 target/riscv/cpu.h                 |  2 --
 target/s390x/cpu-param.h           |  6 ++++
 target/s390x/cpu.h                 |  3 --
 target/sparc/cpu-param.h           | 23 +++++++++++++++
 target/sparc/cpu.h                 | 23 ---------------
 target/xtensa/cpu-param.h          |  3 ++
 target/xtensa/cpu.h                |  3 --
 accel/tcg/cpu-exec.c               |  3 ++
 accel/tcg/tcg-accel-ops.c          |  2 ++
 accel/tcg/translator.c             |  1 +
 accel/tcg/user-exec.c              |  1 +
 bsd-user/signal.c                  |  1 +
 bsd-user/strace.c                  |  1 +
 cpu-target.c                       |  1 +
 disas/disas.c                      |  1 +
 gdbstub/gdbstub.c                  |  1 +
 hw/audio/virtio-snd.c              |  2 +-
 hw/core/cpu-sysemu.c               |  2 +-
 hw/core/generic-loader.c           |  2 +-
 hw/display/vga.c                   |  2 +-
 hw/virtio/virtio.c                 |  1 +
 linux-user/elfload.c               |  1 +
 linux-user/i386/signal.c           |  1 +
 linux-user/ppc/signal.c            |  1 +
 page-target.c                      | 44 +++++++++++++++++++++++++++++
 semihosting/guestfd.c              |  5 +---
 system/physmem.c                   | 30 --------------------
 target/hexagon/translate.c         |  1 +
 target/i386/tcg/fpu_helper.c       |  1 +
 target/microblaze/cpu.c            |  1 +
 target/microblaze/translate.c      |  1 +
 target/nios2/translate.c           |  1 +
 target/ppc/excp_helper.c           |  2 +-
 target/target-common.c             | 10 -------
 scripts/analyze-inclusions         |  6 ++--
 target/meson.build                 |  2 --
 88 files changed, 293 insertions(+), 221 deletions(-)
 create mode 100644 accel/tcg/user-retaddr.h
 create mode 100644 include/exec/abi_ptr.h
 create mode 100644 include/user/tswap-target.h
 create mode 100644 page-target.c
 delete mode 100644 target/target-common.c