mbox

[PULL,00/47] tcg patch queue

Message ID 20221026021116.1988449-1-richard.henderson@linaro.org
State New
Headers show

Pull-request

https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20221026

Message

Richard Henderson Oct. 26, 2022, 2:10 a.m. UTC
The following changes since commit e750a7ace492f0b450653d4ad368a77d6f660fb8:

  Merge tag 'pull-9p-20221024' of https://github.com/cschoenebeck/qemu into staging (2022-10-24 14:27:12 -0400)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20221026

for you to fetch changes up to 04f105758b0089f73ee47260671580cde35f96cc:

  accel/tcg: Remove restore_state_to_opc function (2022-10-26 11:11:28 +1000)

----------------------------------------------------------------
Revert incorrect cflags initialization.
Add direct jumps for tcg/loongarch64.
Speed up breakpoint check.
Improve assertions for atomic.h.
Move restore_state_to_opc to TCGCPUOps.
Cleanups to TranslationBlock maintenance.

----------------------------------------------------------------
Leandro Lupori (1):
      accel/tcg: Add a quicker check for breakpoints

Peter Maydell (1):
      Revert "accel/tcg: Init TCG cflags in vCPU thread handler"

Qi Hu (2):
      tcg/loongarch64: Add direct jump support
      tcg/aarch64: Remove unused code in tcg_out_op

Richard Henderson (43):
      include/qemu/osdep: Add qemu_build_assert
      include/qemu/atomic: Use qemu_build_assert
      include/qemu/thread: Use qatomic_* functions
      accel/tcg: Make page_alloc_target_data allocation constant
      accel/tcg: Remove disabled debug in translate-all.c
      accel/tcg: Split out PageDesc to internal.h
      accel/tcg: Split out tb-maint.c
      accel/tcg: Move assert_no_pages_locked to internal.h
      accel/tcg: Drop cpu_get_tb_cpu_state from TARGET_HAS_PRECISE_SMC
      accel/tcg: Remove duplicate store to tb->page_addr[]
      accel/tcg: Introduce tb_{set_}page_addr{0,1}
      accel/tcg: Rename tb_invalidate_phys_page
      accel/tcg: Rename tb_invalidate_phys_page_range and drop end parameter
      accel/tcg: Unify declarations of tb_invalidate_phys_range
      accel/tcg: Use tb_invalidate_phys_page in page_set_flags
      accel/tcg: Call tb_invalidate_phys_page for PAGE_RESET
      accel/tcg: Use page_reset_target_data in page_set_flags
      accel/tcg: Use tb_invalidate_phys_range in page_set_flags
      accel/tcg: Move TARGET_PAGE_DATA_SIZE impl to user-exec.c
      accel/tcg: Simplify page_get/alloc_target_data
      accel/tcg: Add restore_state_to_opc to TCGCPUOps
      target/alpha: Convert to tcg_ops restore_state_to_opc
      target/arm: Convert to tcg_ops restore_state_to_opc
      target/avr: Convert to tcg_ops restore_state_to_opc
      target/cris: Convert to tcg_ops restore_state_to_opc
      target/hexagon: Convert to tcg_ops restore_state_to_opc
      target/hppa: Convert to tcg_ops restore_state_to_opc
      target/i386: Convert to tcg_ops restore_state_to_opc
      target/loongarch: Convert to tcg_ops restore_state_to_opc
      target/m68k: Convert to tcg_ops restore_state_to_opc
      target/microblaze: Convert to tcg_ops restore_state_to_opc
      target/mips: Convert to tcg_ops restore_state_to_opc
      target/nios2: Convert to tcg_ops restore_state_to_opc
      target/openrisc: Convert to tcg_ops restore_state_to_opc
      target/ppc: Convert to tcg_ops restore_state_to_opc
      target/riscv: Convert to tcg_ops restore_state_to_opc
      target/rx: Convert to tcg_ops restore_state_to_opc
      target/s390x: Convert to tcg_ops restore_state_to_opc
      target/sh4: Convert to tcg_ops restore_state_to_opc
      target/sparc: Convert to tcg_ops restore_state_to_opc
      target/tricore: Convert to tcg_ops restore_state_to_opc
      target/xtensa: Convert to tcg_ops restore_state_to_opc
      accel/tcg: Remove restore_state_to_opc function

 accel/tcg/internal.h             |   91 ++++
 include/exec/cpu-all.h           |   22 +-
 include/exec/exec-all.h          |   35 +-
 include/exec/ram_addr.h          |    2 -
 include/exec/translate-all.h     |    2 +-
 include/hw/core/tcg-cpu-ops.h    |   11 +
 include/qemu/atomic.h            |   16 +-
 include/qemu/osdep.h             |    8 +
 include/qemu/thread.h            |    8 +-
 target/arm/cpu.h                 |    8 +
 target/arm/internals.h           |    4 -
 target/mips/tcg/tcg-internal.h   |    3 +
 target/s390x/s390x-internal.h    |    4 +-
 target/sparc/cpu.h               |    3 +
 tcg/loongarch64/tcg-target.h     |    9 +-
 accel/tcg/cpu-exec.c             |   24 +-
 accel/tcg/tb-maint.c             |  704 ++++++++++++++++++++++++++
 accel/tcg/tcg-accel-ops-mttcg.c  |    5 +-
 accel/tcg/tcg-accel-ops-rr.c     |    7 +-
 accel/tcg/translate-all.c        | 1017 ++------------------------------------
 accel/tcg/translator.c           |    9 +-
 accel/tcg/user-exec.c            |   42 ++
 bsd-user/mmap.c                  |    2 -
 cpu.c                            |    4 +-
 linux-user/mmap.c                |    4 -
 target/alpha/cpu.c               |    9 +
 target/alpha/translate.c         |    6 -
 target/arm/cpu.c                 |   26 +
 target/arm/mte_helper.c          |    5 -
 target/arm/translate.c           |   22 -
 target/avr/cpu.c                 |   11 +
 target/avr/translate.c           |    6 -
 target/cris/cpu.c                |   11 +
 target/cris/translate.c          |    6 -
 target/hexagon/cpu.c             |    9 +-
 target/hppa/cpu.c                |   19 +
 target/hppa/translate.c          |   13 -
 target/i386/tcg/tcg-cpu.c        |   19 +
 target/i386/tcg/translate.c      |   15 -
 target/loongarch/cpu.c           |   11 +
 target/loongarch/translate.c     |    6 -
 target/m68k/cpu.c                |   14 +
 target/m68k/translate.c          |   10 -
 target/microblaze/cpu.c          |   11 +
 target/microblaze/translate.c    |    7 -
 target/mips/cpu.c                |    1 +
 target/mips/tcg/translate.c      |    8 +-
 target/nios2/cpu.c               |   11 +
 target/nios2/translate.c         |    6 -
 target/openrisc/cpu.c            |   13 +
 target/openrisc/translate.c      |   10 -
 target/ppc/cpu_init.c            |   10 +
 target/ppc/translate.c           |    6 -
 target/riscv/cpu.c               |    9 +-
 target/rx/cpu.c                  |   10 +
 target/rx/translate.c            |    6 -
 target/s390x/cpu.c               |    1 +
 target/s390x/tcg/translate.c     |    7 +-
 target/sh4/cpu.c                 |   16 +
 target/sh4/translate.c           |   10 -
 target/sparc/cpu.c               |    1 +
 target/sparc/translate.c         |    7 +-
 target/tricore/cpu.c             |   11 +
 target/tricore/translate.c       |    6 -
 target/xtensa/cpu.c              |   10 +
 target/xtensa/translate.c        |    6 -
 tcg/aarch64/tcg-target.c.inc     |   31 +-
 tcg/loongarch64/tcg-target.c.inc |   48 +-
 accel/tcg/meson.build            |    1 +
 69 files changed, 1304 insertions(+), 1221 deletions(-)
 create mode 100644 accel/tcg/tb-maint.c

Comments

Stefan Hajnoczi Oct. 26, 2022, 6:54 p.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/7.2 for any user-visible changes.