mbox series

[00/15] accel/tcg: Compile tb-maint.c twice

Message ID 20250424011918.599958-1-richard.henderson@linaro.org
Headers show
Series accel/tcg: Compile tb-maint.c twice | expand

Message

Richard Henderson April 24, 2025, 1:19 a.m. UTC
More progress for single-binary: build tb-maint.c once
for user mode and once for system mode.


r~


Richard Henderson (15):
  accel/tcg: Add CPUState argument to page_unprotect
  accel/tcg: Add CPUState argument to tb_invalidate_phys_page_unwind
  accel/tcg: Add CPUState arg to tb_invalidate_phys_page_range__locked
  accel/tcg: Merge tb_invalidate_phys_range{__locked}
  accel/tcg: Add CPUState arg to tb_invalidate_phys_range
  accel/tcg: Add CPUState arg to tb_invalidate_phys_range_fast
  accel/tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps.precise_smc
  accel/tcg: Simplify CPU_TLB_DYN_MAX_BITS
  accel/tcg: Simplify L1_MAP_ADDR_SPACE_BITS
  accel/tcg: Merge internal-target.h into internal-common.h
  accel/tcg: Reduce scope of tb_phys_invalidate, tb_set_jmp_target
  accel/tcg: Use vaddr for walk_memory_regions callback
  accel/tcg: Use vaddr in user/page-protection.h
  include/exec: Move tb_invalidate_phys_range to translation-block.h
  accel/tcg: Compile tb-maint.c twice

 accel/tcg/internal-common.h      |  32 ++++++++++
 accel/tcg/internal-target.h      |  46 --------------
 accel/tcg/tb-hash.h              |   3 +-
 accel/tcg/tb-internal.h          |   8 +--
 accel/tcg/tlb-bounds.h           |  21 +------
 include/accel/tcg/cpu-ops.h      |   7 +++
 include/exec/exec-all.h          |   5 --
 include/exec/poison.h            |   1 -
 include/exec/translation-block.h |   4 ++
 include/user/page-protection.h   |  24 ++++----
 target/i386/cpu.h                |   4 --
 target/s390x/cpu.h               |   2 -
 accel/tcg/cpu-exec.c             |   1 -
 accel/tcg/cputlb.c               |   3 +-
 accel/tcg/tb-maint.c             | 100 ++++++++++++-------------------
 accel/tcg/translate-all.c        |   3 +-
 accel/tcg/user-exec.c            |  89 ++++++++++++++-------------
 linux-user/elfload.c             |  21 ++++---
 linux-user/syscall.c             |   8 +--
 system/physmem.c                 |   2 +-
 target/arm/helper.c              |   2 +-
 target/i386/tcg/tcg-cpu.c        |   1 +
 target/s390x/cpu.c               |   1 +
 accel/tcg/meson.build            |   2 +-
 24 files changed, 163 insertions(+), 227 deletions(-)
 delete mode 100644 accel/tcg/internal-target.h