Hi; this is a big series but most of it is the refactoring from Pierrick for preparations for single-binary work.
thanks -- PMM The following changes since commit 864813878951b44e964eb4c012d832fd21f8cc0c: Merge tag 'pull-loongarch-20250514' of https://github.com/gaosong715/qemu into staging (2025-05-14 07:16:57 -0400) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20250515 for you to fetch changes up to 9eb5427ac0d56ca050e34776b6de428892609bd5: target/arm/tcg/vfp_helper: compile file twice (system, user) (2025-05-14 15:12:41 +0100) ---------------------------------------------------------------- target-arm queue: * target/arm: refactoring for compile-twice changes * MAINTAINERS: Add an entry for the Bananapi machine * arm/omap: remove hard coded tabs * rust: pl011: Cut down amount of text quoted from PL011 TRM * target/arm: refactor Arm CPU class hierarchy ---------------------------------------------------------------- Peter Maydell (8): target/microblaze: Use 'obj' in DEVICE() casts in mb_cpu_initfn() target/microblaze: Delay gdb_register_coprocessor() to realize hw/core/cpu-common: Don't init gdbstub until cpu_exec_realizefn() target/arm: Present AArch64 gdbstub based on ARM_FEATURE_AARCH64 target/arm: Move aarch64 CPU property code to TYPE_ARM_CPU target/arm/kvm: don't check TYPE_AARCH64_CPU target/arm: Remove TYPE_AARCH64_CPU rust: pl011: Cut down amount of text quoted from PL011 TRM Philippe Mathieu-Daudé (1): target/arm: Replace target_ulong -> vaddr for HWBreakpoint Pierrick Bouvier (47): include/system/hvf: missing vaddr include meson: add common libs for target and target_system target/arm: move kvm stubs and remove CONFIG_KVM from kvm_arm.h target/arm/kvm-stub: add kvm_arm_reset_vcpu stub target/arm/cpu: move arm_cpu_kvm_set_irq to kvm.c target/arm/cpu: remove TARGET_BIG_ENDIAN dependency target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common target/arm/cpu: remove TARGET_AARCH64 in arm_cpu_finalize_features target/arm/cpu: compile file twice (user, system) only target/arm/cpu32-stubs.c: compile file twice (user, system) tcg: add vaddr type for helpers target/arm/helper: use vaddr instead of target_ulong for exception_pc_alignment target/arm/helper: use vaddr instead of target_ulong for probe_access target/arm/helper: extract common helpers target/arm/debug_helper: only include common helpers target/arm/debug_helper: remove target_ulong target/arm/debug_helper: compile file twice (user, system) target/arm/helper: restrict include to common helpers target/arm/helper: replace target_ulong by vaddr target/arm/helper: expose aarch64 cpu registration target/arm/helper: remove remaining TARGET_AARCH64 target/arm/helper: compile file twice (user, system) target/arm/vfp_fpscr: compile file twice (user, system) target/arm/arch_dump: remove TARGET_AARCH64 conditionals target/arm/arch_dump: compile file once (system) target/arm/arm-powerctl: compile file once (system) target/arm/cortex-regs: compile file once (system) target/arm/ptw: replace target_ulong with int64_t target/arm/ptw: replace TARGET_AARCH64 by CONFIG_ATOMIC64 from arm_casq_ptw target/arm/ptw: compile file once (system) target/arm/meson: accelerator files are not needed in user mode target/arm/kvm-stub: compile file once (system) target/arm/machine: reduce migration include to avoid target specific definitions target/arm/machine: remove TARGET_AARCH64 from migration state target/arm/machine: move cpu_post_load kvm bits to kvm_arm_cpu_post_load function target/arm/kvm-stub: add missing stubs target/arm/machine: compile file once (system) target/arm/tcg/vec_internal: use forward declaration for CPUARMState target/arm/tcg/crypto_helper: compile file once target/arm/tcg/hflags: compile file twice (system, user) target/arm/tcg/iwmmxt_helper: compile file twice (system, user) target/arm/tcg/neon_helper: compile file twice (system, user) target/arm/tcg/tlb_helper: compile file twice (system, user) target/arm/helper: restrict define_tlb_insn_regs to system target target/arm/tcg/tlb-insns: compile file once (system) target/arm/tcg/arith_helper: compile file once target/arm/tcg/vfp_helper: compile file twice (system, user) Santiago Monserrat Campanello (1): hw/arm: Replace TABs for spaces in OMAP board and device code Thomas Huth (1): MAINTAINERS: Add an entry for the Bananapi machine MAINTAINERS | 10 + meson.build | 78 ++- include/hw/arm/omap.h | 534 ++++++++-------- include/hw/arm/sharpsl.h | 2 +- include/hw/arm/soc_dma.h | 4 +- include/system/hvf.h | 1 + include/tcg/tcg-op-common.h | 1 + include/tcg/tcg.h | 14 + target/arm/cpu-qom.h | 5 - target/arm/cpu.h | 4 - target/arm/helper.h | 1152 +--------------------------------- target/arm/internals.h | 9 +- target/arm/kvm_arm.h | 87 +-- target/arm/tcg/helper.h | 1153 +++++++++++++++++++++++++++++++++++ target/arm/tcg/vec_internal.h | 2 + include/exec/helper-head.h.inc | 11 + hw/arm/omap1.c | 1016 +++++++++++++++--------------- hw/arm/omap_sx1.c | 2 +- hw/core/cpu-common.c | 3 +- hw/dma/omap_dma.c | 334 +++++----- hw/gpio/omap_gpio.c | 28 +- hw/i2c/omap_i2c.c | 178 +++--- hw/intc/omap_intc.c | 154 ++--- hw/misc/omap_clk.c | 470 +++++++------- hw/timer/pxa2xx_timer.c | 76 +-- target/arm/arch_dump.c | 6 - target/arm/cpu.c | 83 ++- target/arm/cpu32-stubs.c | 26 + target/arm/cpu64.c | 82 +-- target/arm/debug_helper.c | 6 +- target/arm/helper.c | 24 +- target/arm/hyp_gdbstub.c | 6 +- target/arm/kvm-stub.c | 97 +++ target/arm/kvm.c | 45 +- target/arm/machine.c | 15 +- target/arm/ptw.c | 6 +- target/arm/tcg/arith_helper.c | 5 +- target/arm/tcg/cpu64.c | 2 +- target/arm/tcg/crypto_helper.c | 6 +- target/arm/tcg/hflags.c | 4 +- target/arm/tcg/iwmmxt_helper.c | 4 +- target/arm/tcg/neon_helper.c | 4 +- target/arm/tcg/op_helper.c | 2 +- target/arm/tcg/tlb-insns.c | 7 - target/arm/tcg/tlb_helper.c | 5 +- target/arm/tcg/translate-a64.c | 2 +- target/arm/tcg/translate.c | 2 +- target/arm/tcg/vfp_helper.c | 4 +- target/microblaze/cpu.c | 22 +- tcg/tcg.c | 5 + rust/hw/char/pl011/src/registers.rs | 261 ++------ target/arm/meson.build | 45 +- target/arm/tcg/meson.build | 29 +- 53 files changed, 3033 insertions(+), 3100 deletions(-) create mode 100644 target/arm/tcg/helper.h create mode 100644 target/arm/cpu32-stubs.c