exec: Move translation declarations to 'translate-all.h'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | meson: Display libfdt as disabled when system emulation is disabledmeson.build | +3 | 1 reply | |
| 2/13 | exec/cpu_ldst: Include 'cpu.h' to get target_ulong definitioninclude/ | +1 | 1 reply | |
| 3/13 | accel: Elide kvm_update_guest_debug by checking kvm_supports_guest_debugaccel/ cpu.c | +1 | 1 reply | |
| 4/13 | target/i386/cpu: Ensure accelerators set CPU addressble physical bitstarget/ | +1 | 1 reply | |
| 5/13 | target/i386/tcg/sysemu: Include missing 'exec/exec-all.h' headertarget/ target/ | +2 | 1 reply | |
| 6/13 | cpu: Add missing 'exec/exec-all.h' and ''exec/exec-all.h'' headerscpu.c | +2 | 1 reply | |
| 7/13 | cpu: Move common code to cpu-commoncpu.c cpus-common.c | +112 | 1 reply | |
| 8/13 | target: Include missing 'cpu.h'target/ target/ target/ +1 more | +7 | 1 reply | |
| 9/13 | target: Use forward declared type instead of structure typetarget/ target/ | +8 | 1 reply | |
| 10/13 | target: Use CPUArchState as interface to target-specific CPU stateinclude/ include/ include/ +23 more | +36 | 2 replies | |
| 11/13 | exec/cpu_ldst: Restrict TCG-specific codeinclude/ | +28 | 1 reply | |
| 12/13 | exec/cpu-all: Restrict cpu_copy() to user emulationinclude/ | +2 | 1 reply | |
| 13/13 | exec: Move translation declarations to 'translate-all.h'accel/ accel/ accel/ +182 more | +553 | 2 replies |
Reviews trailers per patch
8 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | Richard Henderson |
|---|---|---|
| 1/13 | A-b | |
| 2/13 | R-b | |
| 3/13 | ||
| 4/13 | R-b | |
| 5/13 | R-b | |
| 6/13 | R-b | |
| 7/13 | ||
| 8/13 | R-b | |
| 9/13 | R-b | |
| 10/13 | R-b | |
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] exec: Move translation declarations to 'translate-all.h'
This series move translation declarations from the generic 'cpu-all.h' to the TCG specific 'translate-all.h'. It is part of a bigger exec/ refactor which I'm splitting in multiple parts.
Based-on: <[email protected]> "exec: Remove 'qemu/log.h' from 'exec-all.h'"
Philippe Mathieu-Daudé (13):
meson: Display libfdt as disabled when system emulation is disabled exec/cpu_ldst: Include 'cpu.h' to get target_ulong definition
accel: Elide kvm_update_guest_debug by checking
kvm_supports_guest_debug
target/i386/cpu: Ensure accelerators set CPU addressble physical bits target/i386/tcg/sysemu: Include missing 'exec/exec-all.h' header
cpu: Add missing 'exec/exec-all.h' and ''exec/exec-all.h'' headers
cpu: Move common code to cpu-common
target: Include missing 'cpu.h'
target: Use forward declared type instead of structure type
target: Use CPUArchState as interface to target-specific CPU state exec/cpu_ldst: Restrict TCG-specific code
exec/cpu-all: Restrict cpu_copy() to user emulation
exec: Move translation declarations to 'translate-all.h'
accel/stubs/kvm-stub.c | 5 - accel/stubs/tcg-stub.c | 1 + accel/tcg/cpu-exec-common.c | 1 + accel/tcg/cpu-exec.c | 1 + accel/tcg/cputlb.c | 1 + accel/tcg/hmp.c | 2 +- accel/tcg/internal.h | 2 +- accel/tcg/plugin-gen.c | 2 +- accel/tcg/tb-hash.h | 2 +- accel/tcg/tcg-accel-ops-icount.c | 2 +- accel/tcg/tcg-accel-ops-mttcg.c | 2 +- accel/tcg/tcg-accel-ops-rr.c | 2 +- accel/tcg/tcg-accel-ops.c | 2 +- accel/tcg/tcg-runtime.c | 1 + accel/tcg/translate-all.c | 1 + accel/tcg/translator.c | 2 +- accel/tcg/user-exec.c | 2 +- bsd-user/main.c | 2 +- bsd-user/qemu.h | 2 +- cpu.c | 113 +------ cpus-common.c | 112 +++++++ gdbstub.c | 1 + hw/ppc/spapr_hcall.c | 1 + include/exec/cpu-all.h | 8 +- include/exec/cpu_ldst.h | 55 ++-- include/exec/exec-all.h | 350 ---------------------- include/exec/poison.h | 2 - include/exec/ram_addr.h | 2 - include/exec/translate-all.h | 372 +++++++++++++++++++++++- include/hw/core/cpu.h | 2 +- include/qemu/typedefs.h | 1 + linux-user/main.c | 2 +- linux-user/user-internals.h | 2 +- meson.build | 4 +- plugins/api.c | 2 +- plugins/core.c | 2 +- plugins/loader.c | 2 +- semihosting/console.c | 1 + target/alpha/cpu.c | 2 +- target/alpha/cpu.h | 6 +- target/alpha/fpu_helper.c | 2 +- target/alpha/helper.c | 1 + target/alpha/int_helper.c | 2 +- target/alpha/mem_helper.c | 1 + target/alpha/sys_helper.c | 1 + target/alpha/translate.c | 2 +- target/alpha/vax_helper.c | 2 +- target/arm/cpu.c | 2 +- target/arm/cpu.h | 2 +- target/arm/debug_helper.c | 2 +- target/arm/helper-a64.c | 2 +- target/arm/helper.c | 2 +- target/arm/m_helper.c | 2 +- target/arm/mte_helper.c | 2 +- target/arm/mve_helper.c | 2 +- target/arm/op_helper.c | 1 + target/arm/pauth_helper.c | 2 +- target/arm/sve_helper.c | 2 +- target/arm/tlb_helper.c | 1 + target/arm/translate-a64.c | 2 +- target/arm/translate-mve.c | 2 +- target/arm/translate-neon.c | 2 +- target/arm/translate-sve.c | 2 +- target/arm/translate-vfp.c | 2 +- target/arm/translate.c | 2 +- target/avr/cpu.c | 2 +- target/avr/cpu.h | 6 +- target/avr/helper.c | 1 + target/avr/translate.c | 2 +- target/cris/cpu.h | 2 +- target/cris/helper.c | 1 + target/cris/mmu.c | 1 + target/cris/op_helper.c | 1 + target/cris/translate.c | 2 +- target/hexagon/cpu.c | 2 +- target/hexagon/cpu.h | 5 +- target/hexagon/op_helper.c | 1 + target/hppa/cpu.c | 1 + target/hppa/cpu.h | 6 +- target/hppa/helper.c | 1 + target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/hppa/translate.c | 2 +- target/i386/cpu.c | 1 + target/i386/cpu.h | 2 +- target/i386/helper.c | 1 + target/i386/machine.c | 1 + target/i386/tcg/excp_helper.c | 1 + target/i386/tcg/fpu_helper.c | 2 + target/i386/tcg/helper-tcg.h | 2 +- target/i386/tcg/int_helper.c | 2 +- target/i386/tcg/mem_helper.c | 1 + target/i386/tcg/misc_helper.c | 1 + target/i386/tcg/mpx_helper.c | 2 +- target/i386/tcg/seg_helper.c | 1 + target/i386/tcg/sysemu/bpt_helper.c | 1 + target/i386/tcg/sysemu/excp_helper.c | 1 + target/i386/tcg/sysemu/misc_helper.c | 1 + target/i386/tcg/sysemu/svm_helper.c | 1 + target/i386/tcg/translate.c | 2 +- target/i386/tcg/user/excp_helper.c | 1 + target/i386/tcg/user/seg_helper.c | 1 + target/m68k/cpu.h | 2 +- target/m68k/fpu_helper.c | 2 +- target/m68k/helper.c | 1 + target/m68k/op_helper.c | 1 + target/m68k/translate.c | 2 +- target/microblaze/cpu.c | 2 +- target/microblaze/cpu.h | 4 +- target/microblaze/helper.c | 1 + target/microblaze/mmu.c | 1 + target/microblaze/mmu.h | 2 + target/microblaze/op_helper.c | 1 + target/microblaze/translate.c | 2 +- target/mips/cpu.c | 2 +- target/mips/cpu.h | 5 +- target/mips/internal.h | 15 +- target/mips/sysemu/cp0.c | 1 + target/mips/sysemu/physaddr.c | 2 +- target/mips/tcg/exception.c | 1 + target/mips/tcg/fpu_helper.c | 2 +- target/mips/tcg/ldst_helper.c | 2 +- target/mips/tcg/msa_helper.c | 2 +- target/mips/tcg/op_helper.c | 2 +- target/mips/tcg/sysemu/cp0_helper.c | 1 + target/mips/tcg/sysemu/special_helper.c | 2 +- target/mips/tcg/sysemu/tlb_helper.c | 1 + target/nios2/cpu.h | 4 +- target/nios2/helper.c | 1 + target/nios2/mmu.c | 1 + target/nios2/mmu.h | 2 + target/nios2/op_helper.c | 1 + target/nios2/translate.c | 2 +- target/openrisc/cpu.h | 2 +- target/openrisc/exception.c | 1 + target/openrisc/exception_helper.c | 1 + target/openrisc/interrupt.c | 2 +- target/openrisc/interrupt_helper.c | 2 +- target/openrisc/mmu.c | 1 + target/openrisc/sys_helper.c | 1 + target/openrisc/translate.c | 2 +- target/ppc/cpu-qom.h | 2 +- target/ppc/cpu.h | 3 +- target/ppc/excp_helper.c | 1 + target/ppc/fpu_helper.c | 2 +- target/ppc/helper_regs.c | 1 + target/ppc/machine.c | 2 +- target/ppc/mem_helper.c | 2 +- target/ppc/misc_helper.c | 1 + target/ppc/mmu-hash32.c | 2 +- target/ppc/mmu-hash64.c | 2 +- target/ppc/mmu-radix64.c | 2 +- target/ppc/mmu_common.c | 2 +- target/ppc/mmu_helper.c | 1 + target/ppc/power8-pmu.c | 2 +- target/ppc/timebase_helper.c | 2 +- target/ppc/translate.c | 2 +- target/ppc/user_only_helper.c | 1 + target/riscv/bitmanip_helper.c | 2 +- target/riscv/cpu.c | 2 +- target/riscv/cpu.h | 4 +- target/riscv/cpu_helper.c | 1 + target/riscv/csr.c | 1 + target/riscv/fpu_helper.c | 2 +- target/riscv/m128_helper.c | 2 +- target/riscv/op_helper.c | 1 + target/riscv/pmp.c | 1 + target/riscv/pmp.h | 2 + target/riscv/translate.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/cpu-qom.h | 2 - target/rx/cpu.c | 1 + target/rx/cpu.h | 2 +- target/rx/op_helper.c | 1 + target/rx/translate.c | 2 +- target/s390x/cpu-qom.h | 2 +- target/s390x/cpu.h | 2 +- target/s390x/gdbstub.c | 1 + target/s390x/interrupt.c | 2 +- target/s390x/mmu_helper.c | 1 + target/s390x/sigp.c | 1 + target/s390x/tcg/cc_helper.c | 1 + target/s390x/tcg/crypto_helper.c | 2 +- target/s390x/tcg/excp_helper.c | 1 + target/s390x/tcg/fpu_helper.c | 2 +- target/s390x/tcg/int_helper.c | 2 +- target/s390x/tcg/mem_helper.c | 1 + target/s390x/tcg/misc_helper.c | 1 + target/s390x/tcg/translate.c | 2 +- target/s390x/tcg/vec_fpu_helper.c | 2 +- target/s390x/tcg/vec_helper.c | 2 +- target/sh4/cpu.c | 2 +- target/sh4/cpu.h | 2 +- target/sh4/helper.c | 1 + target/sh4/op_helper.c | 1 + target/sh4/translate.c | 2 +- target/sparc/cpu.c | 2 +- target/sparc/cpu.h | 4 +- target/sparc/fop_helper.c | 1 + target/sparc/helper.c | 1 + target/sparc/ldst_helper.c | 1 + target/sparc/machine.c | 2 +- target/sparc/mmu_helper.c | 1 + target/sparc/translate.c | 2 +- target/sparc/win_helper.c | 2 +- target/tricore/cpu.c | 2 +- target/tricore/cpu.h | 5 +- target/tricore/helper.c | 1 + target/tricore/op_helper.c | 1 + target/tricore/translate.c | 2 +- target/xtensa/cpu.h | 8 +- target/xtensa/dbg_helper.c | 2 +- target/xtensa/exc_helper.c | 1 + target/xtensa/fpu_helper.c | 2 +- target/xtensa/helper.c | 1 + target/xtensa/mmu_helper.c | 1 + target/xtensa/op_helper.c | 2 +- target/xtensa/translate.c | 2 +- target/xtensa/win_helper.c | 2 +- tcg/region.c | 2 +- tcg/tcg-op.c | 2 +- tcg/tcg.c | 2 +- 222 files changed, 756 insertions(+), 658 deletions(-)
Signature · 1 line
2.34.1