Skip to content

include: Remove "exec/exec-all.h"

Philippe Mathieu-Daudé qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 9 repliesIn review
  2. v213 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- Removed CONFIG_TCG #ifdef'ry (rth)
- Added R-b/A-b tags

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13accel/tcg: Use vaddr for walk_memory_regions callbackaccel/tcg/user-exec.c include/user/page-protection.h linux-user/elfload.c +1 more+20 -220 replies
2/13accel/tcg: Use vaddr in user/page-protection.haccel/tcg/user-exec.c include/user/page-protection.h+31 -371 reply
3/13accel/tcg: Correct list of included headers in tcg-stub.caccel/stubs/tcg-stub.c+1 -20 replies
4/13include/exec: Include missing headers in exec-all.hinclude/exec/exec-all.h+3 -00 replies
5/13include/exec: Move tb_invalidate_phys_range to translation-block.hinclude/exec/exec-all.h include/exec/translation-block.h+4 -51 reply
6/13accel/tcg: Compile tb-maint.c twiceaccel/tcg/meson.build accel/tcg/tb-hash.h accel/tcg/tb-maint.c+2 -51 reply
7/13target/riscv: Include missing 'accel/tcg/getpc.h' in csr.ctarget/riscv/csr.c+1 -00 replies
8/13target/hexagon: Include missing 'accel/tcg/getpc.h'target/hexagon/macros.h target/hexagon/mmvec/macros.h+2 -00 replies
9/13accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'accel/tcg/translate-all.c include/exec/exec-all.h include/exec/helper-proto-common.h +1 more+3 -22 replies
10/13physmem: Move TCG IOTLB methods aroundsystem/physmem.c+25 -250 replies
11/13physmem: Restrict TCG IOTLB code to TCG accelMAINTAINERS accel/tcg/cputlb.c include/accel/tcg/iommu.h +2 more+48 -273 replies
12/13accel/tcg: Extract probe API out of 'exec/exec-all.h'accel/tcg/cputlb.c accel/tcg/user-exec.c include/accel/tcg/probe.h +21 more+128 -1000 replies
13/13include: Remove 'exec/exec-all.h'MAINTAINERS accel/hvf/hvf-accel-ops.c accel/tcg/cputlb.c +150 more+0 -1750 replies

Reviews trailers per patch

12 of 13 patches have a Reviewed-by or Acked-by.

PatchMark Cave-AylandBrian CainRichard HendersonPhilippe Mathieu-DaudéAlistair FrancisAnton Johansson
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b R-b
6/13R-b
7/13R-b A-b
8/13R-b R-b
9/13
10/13R-b R-b
11/13R-b
12/13R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/13] include: Remove "exec/exec-all.h"

Since v2:
- Removed CONFIG_TCG #ifdef'ry (rth)
- Added R-b/A-b tags

Trivial series moving declarations around, emptying "exec/exec-all.h" to eventually remove it.

- Fix accel/stubs/tcg-stub.c headers
- Include "accel/tcg/getpc.h" where appropriate
- Extract TCG IOMMU API to "accel/tcg/iommu.h"
- Extract TCG probe API to "accel/tcg/probe.h"
- Remove "exec/exec-all.h"

It is based on "accel/tcg: Compile tb-maint.c twice". I had to fix its patch #12, so I'm including patches 12-15 in this series.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (9):
accel/tcg: Correct list of included headers in tcg-stub.c include/exec: Include missing headers in exec-all.h target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c target/hexagon: Include missing 'accel/tcg/getpc.h' accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
physmem: Move TCG IOTLB methods around
physmem: Restrict TCG IOTLB code to TCG accel accel/tcg: Extract probe API out of 'exec/exec-all.h'
include: Remove 'exec/exec-all.h'

Richard Henderson (4):
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

 MAINTAINERS                                   |  3 +-
 accel/tcg/tb-hash.h                           |  3 +-
 bsd-user/qemu.h                               |  1 -
 include/accel/tcg/iommu.h                     | 41 ++++++++++++
 .../{exec/exec-all.h => accel/tcg/probe.h}    | 58 ++---------------
 include/exec/helper-proto-common.h            |  2 +
 include/exec/translation-block.h              |  4 ++
 include/system/ram_addr.h                     |  1 -
 include/user/page-protection.h                | 22 +++----
 linux-user/user-internals.h                   |  1 -
 target/arm/tcg/translate.h                    |  1 -
 target/hexagon/macros.h                       |  1 +
 target/hexagon/mmvec/macros.h                 |  2 +
 target/i386/tcg/helper-tcg.h                  |  1 -
 accel/hvf/hvf-accel-ops.c                     |  1 -
 accel/stubs/tcg-stub.c                        |  3 +-
 accel/tcg/cputlb.c                            |  3 +-
 accel/tcg/tb-maint.c                          |  2 -
 accel/tcg/translate-all.c                     |  2 +-
 accel/tcg/user-exec.c                         | 63 +++++++++----------
 bsd-user/main.c                               |  1 -
 hw/ppc/spapr_nested.c                         |  1 -
 hw/riscv/riscv-iommu-sys.c                    |  1 -
 hw/sh4/sh7750.c                               |  1 -
 linux-user/elfload.c                          | 19 +++---
 linux-user/main.c                             |  1 -
 linux-user/syscall.c                          |  8 +--
 semihosting/uaccess.c                         |  2 +-
 system/physmem.c                              | 56 +++++++++--------
 target/alpha/cpu.c                            |  1 -
 target/alpha/fpu_helper.c                     |  1 -
 target/alpha/int_helper.c                     |  1 -
 target/alpha/mem_helper.c                     |  1 -
 target/alpha/translate.c                      |  1 -
 target/alpha/vax_helper.c                     |  1 -
 target/arm/cpu.c                              |  1 -
 target/arm/debug_helper.c                     |  1 -
 target/arm/helper.c                           |  2 +-
 target/arm/ptw.c                              |  2 +-
 target/arm/tcg/helper-a64.c                   |  2 +-
 target/arm/tcg/m_helper.c                     |  1 -
 target/arm/tcg/mte_helper.c                   |  2 +-
 target/arm/tcg/mve_helper.c                   |  1 -
 target/arm/tcg/op_helper.c                    |  2 +-
 target/arm/tcg/pauth_helper.c                 |  1 -
 target/arm/tcg/sme_helper.c                   |  1 -
 target/arm/tcg/sve_helper.c                   |  2 +-
 target/arm/tcg/tlb_helper.c                   |  1 -
 target/arm/tcg/translate-a64.c                |  1 -
 target/avr/cpu.c                              |  1 -
 target/avr/helper.c                           |  1 -
 target/avr/translate.c                        |  1 -
 target/hexagon/cpu.c                          |  1 -
 target/hexagon/op_helper.c                    |  2 +-
 target/hppa/cpu.c                             |  1 -
 target/hppa/fpu_helper.c                      |  1 -
 target/hppa/helper.c                          |  1 -
 target/hppa/mem_helper.c                      |  2 +-
 target/hppa/op_helper.c                       |  2 +-
 target/hppa/sys_helper.c                      |  1 -
 target/hppa/translate.c                       |  1 -
 target/i386/tcg/access.c                      |  2 +-
 target/i386/tcg/excp_helper.c                 |  1 -
 target/i386/tcg/int_helper.c                  |  1 -
 target/i386/tcg/mem_helper.c                  |  1 -
 target/i386/tcg/mpx_helper.c                  |  1 -
 target/i386/tcg/seg_helper.c                  |  2 +-
 target/i386/tcg/system/bpt_helper.c           |  1 -
 target/i386/tcg/system/excp_helper.c          |  1 +
 target/i386/tcg/translate.c                   |  1 -
 target/i386/tcg/user/excp_helper.c            |  1 -
 target/i386/tcg/user/seg_helper.c             |  1 -
 target/loongarch/cpu.c                        |  1 -
 target/loongarch/tcg/fpu_helper.c             |  1 -
 target/loongarch/tcg/iocsr_helper.c           |  1 -
 target/loongarch/tcg/op_helper.c              |  1 -
 target/loongarch/tcg/tlb_helper.c             |  1 -
 target/loongarch/tcg/vec_helper.c             |  1 -
 target/m68k/fpu_helper.c                      |  1 -
 target/m68k/helper.c                          |  1 -
 target/m68k/op_helper.c                       |  1 -
 target/m68k/translate.c                       |  1 -
 target/microblaze/cpu.c                       |  1 -
 target/microblaze/op_helper.c                 |  1 -
 target/microblaze/translate.c                 |  1 -
 target/mips/cpu.c                             |  1 -
 target/mips/system/physaddr.c                 |  1 -
 target/mips/tcg/exception.c                   |  1 -
 target/mips/tcg/fpu_helper.c                  |  1 -
 target/mips/tcg/ldst_helper.c                 |  1 -
 target/mips/tcg/msa_helper.c                  |  2 +-
 target/mips/tcg/op_helper.c                   |  1 -
 target/mips/tcg/system/special_helper.c       |  1 -
 target/mips/tcg/system/tlb_helper.c           |  1 -
 target/openrisc/cpu.c                         |  1 -
 target/openrisc/exception.c                   |  1 -
 target/openrisc/exception_helper.c            |  1 -
 target/openrisc/fpu_helper.c                  |  1 -
 target/openrisc/interrupt.c                   |  1 -
 target/openrisc/interrupt_helper.c            |  1 -
 target/openrisc/sys_helper.c                  |  1 -
 target/openrisc/translate.c                   |  1 -
 target/ppc/excp_helper.c                      |  1 -
 target/ppc/fpu_helper.c                       |  1 -
 target/ppc/machine.c                          |  1 -
 target/ppc/mem_helper.c                       |  2 +-
 target/ppc/misc_helper.c                      |  1 -
 target/ppc/mmu-hash32.c                       |  1 -
 target/ppc/mmu-hash64.c                       |  1 -
 target/ppc/mmu-radix64.c                      |  1 -
 target/ppc/mmu_common.c                       |  1 -
 target/ppc/mmu_helper.c                       |  1 -
 target/ppc/power8-pmu.c                       |  1 -
 target/ppc/tcg-excp_helper.c                  |  1 -
 target/ppc/timebase_helper.c                  |  1 -
 target/ppc/translate.c                        |  1 -
 target/ppc/user_only_helper.c                 |  1 -
 target/riscv/cpu.c                            |  1 -
 target/riscv/cpu_helper.c                     |  1 -
 target/riscv/crypto_helper.c                  |  1 -
 target/riscv/csr.c                            |  2 +-
 target/riscv/debug.c                          |  1 -
 target/riscv/fpu_helper.c                     |  1 -
 target/riscv/m128_helper.c                    |  1 -
 target/riscv/op_helper.c                      |  2 +-
 target/riscv/tcg/tcg-cpu.c                    |  1 -
 target/riscv/translate.c                      |  1 -
 target/riscv/vcrypto_helper.c                 |  1 -
 target/riscv/vector_helper.c                  |  2 +-
 target/riscv/zce_helper.c                     |  1 -
 target/rx/op_helper.c                         |  1 -
 target/rx/translate.c                         |  1 -
 target/s390x/interrupt.c                      |  1 -
 target/s390x/mmu_helper.c                     |  1 -
 target/s390x/sigp.c                           |  1 -
 target/s390x/tcg/cc_helper.c                  |  1 -
 target/s390x/tcg/crypto_helper.c              |  1 -
 target/s390x/tcg/excp_helper.c                |  1 -
 target/s390x/tcg/fpu_helper.c                 |  1 -
 target/s390x/tcg/int_helper.c                 |  1 -
 target/s390x/tcg/mem_helper.c                 |  2 +-
 target/s390x/tcg/misc_helper.c                |  1 -
 target/s390x/tcg/translate.c                  |  1 -
 target/s390x/tcg/vec_fpu_helper.c             |  1 -
 target/s390x/tcg/vec_helper.c                 |  1 -
 target/sh4/cpu.c                              |  1 -
 target/sh4/helper.c                           |  1 -
 target/sh4/op_helper.c                        |  1 -
 target/sh4/translate.c                        |  1 -
 target/sparc/cpu.c                            |  1 -
 target/sparc/fop_helper.c                     |  1 -
 target/sparc/helper.c                         |  1 -
 target/sparc/ldst_helper.c                    |  1 -
 target/sparc/machine.c                        |  1 -
 target/sparc/translate.c                      |  1 -
 target/sparc/win_helper.c                     |  1 -
 target/tricore/cpu.c                          |  1 -
 target/tricore/op_helper.c                    |  1 -
 target/tricore/translate.c                    |  1 -
 target/xtensa/dbg_helper.c                    |  1 -
 target/xtensa/exc_helper.c                    |  1 -
 target/xtensa/fpu_helper.c                    |  1 -
 target/xtensa/mmu_helper.c                    |  2 +-
 target/xtensa/op_helper.c                     |  1 -
 target/xtensa/translate.c                     |  1 -
 target/xtensa/win_helper.c                    |  1 -
 accel/tcg/meson.build                         |  2 +-
 167 files changed, 165 insertions(+), 297 deletions(-)
 create mode 100644 include/accel/tcg/iommu.h
 rename include/{exec/exec-all.h => accel/tcg/probe.h} (65%)
Signature · 1 line
2.47.1