The following changes since commit c7cf7c810153d6f5f31aa2d5c0dee9087f6b4dff:
Merge tag 'firmware-20260617-pull-request' of https://gitlab.com/kraxel/qemu into staging (2026-06-17 10:17:29 -0400) are available in the Git repository at: https://github.com/philmd/qemu.git tags/accel-20260618 for you to fetch changes up to 1eaae985d4dec2aa0b187e362db50be46968d117: accel/tcg: Restrict headers being TCG specific (2026-06-18 14:27:21 +0200) ---------------------------------------------------------------- Accelerators patches queue - Avoid double hv_vcpu_destroy() call during teardown on HVF ARM - Constify various AddressSpace/MemoryRegionCache arguments - Clarify physical_memory_*() API in "system/physmem.h" - Extract "accel/tcg/cpu-loop.h" out of "exec/cpu-common.h" - Restrict few TCG-specific code - Remove pre-C11 check - Various header cleanups ---------------------------------------------------------------- Akihiko Odaki (1): ui/cocoa: Use qemu_input_map_osx_to_linux Bin Guo (1): util/cutils: drop qemu_strnlen() in favor of strnlen() Emmanuel Blot (1): meson: build macOS signed binary as part of the default target Matheus Tavares Bernardino (1): accel/hvf: fix double hv_vcpu_destroy() causing teardown error on ARM Matt Jacobson (1): configure: honor --extra-ldflags when forced to use objc_LINKER Osama Abdelkader (1): accel/tcg: remove duplicate include Philippe Mathieu-Daudé (42): system/cpu: Reset vCPU %exception_index before resuming it system/memory: Constify various AddressSpace arguments (checks) system/memory: Constify various AddressSpace arguments (flat-range) system/memory: Constify various AddressSpace arguments (notify) system/memory: Constify various AddressSpace arguments (cache) system/memory: Constify various AddressSpace arguments (access) system/memory: Constify various MemoryRegionCache arguments system: Document cpu_physical_memory_*() declarations accel/kvm: Replace legacy cpu_physical_memory_write() call gdbstub/system: Replace legacy cpu_physical_memory_read/write() calls target/s390x: Factor common s390_ipl_read/write() helpers target/s390x: Replace legacy cpu_physical_memory_read/write() calls system: Move cpu_physical_memory_*() declarations to 'system/physmem.h' hw/xen/interface: Remove pre-C99 checks qom/object: Remove pre-C11 check tcg: Include missing 'qemu/bitops.h' header in tcg-gvec-desc.h target/i386: Report TPR accesses to HVF target/arm: Only set CPU_INTERRUPT_EXITTB for TCG target/arm: Remove vcpu_dirty=true assigments in hvf_handle_exception() target/arm: Better describe PMU depends on TCG or HVF target/arm/ptw: Restrict PMSAv8 code to TCG target/arm: Restrict TCG specific headers target/ppc: Restrict TCGTBCPUState to TCG target/loongarch: Remove unused 'accel/accel-cpu-target.h' header target/sparc: Include missing 'accel/tcg/cpu-ops.h' header in cpu.c accel/hvf: Reduce hvf_kernel_irqchip_override scope accel/tcg: Restrict IOMMU declarations exec/cpu-common.h: Include missing 'qemu/thread.h' header exec/cpu-common.h: Avoid including unused 'exec/vaddr.h' header exec/cpu-common.h: Avoid including unused 'tcg/debug-assert.h' header exec/cpu-common.h: Avoid including unused exec/page-protection.h header system/memory: Remove unnecessary CONFIG_USER_ONLY guards system/memory: Rename cpu_exec_init_all() -> machine_memory_init() hw/s390x/ipl: Remove TCG dependency in handle_diag_308() accel/tcg: Remove cpu_loop_exit() stub accel/tcg: Move cpu_exec() out of 'exec/cpu-common.h' accel/tcg: Move cpu_exec_step_atomic() out of 'exec/cpu-common.h' accel/tcg: Move cpu_unwind_state_data() out of 'exec/cpu-common.h' accel/tcg: Move cpu_restore_state() out of 'exec/cpu-common.h' accel/tcg: Have cpu_loop_exit_requested() take const @cpu argument accel/tcg: Move cpu_loop_exit_*() out of 'exec/cpu-common.h' accel/tcg: Restrict headers being TCG specific docs/devel/loads-stores.rst | 18 ++-- docs/devel/style.rst | 1 - configure | 1 + meson.build | 1 + scripts/coccinelle/exec_rw_const.cocci | 16 +-- bsd-user/freebsd/os-proc.h | 1 + hw/xtensa/bootparam.h | 6 +- include/accel/tcg/cpu-loop.h | 76 ++++++++++++++ include/accel/tcg/cpu-mmu-index.h | 4 + include/accel/tcg/cpu-ops.h | 4 + include/accel/tcg/getpc.h | 4 + include/accel/tcg/helper-retaddr.h | 4 + include/accel/tcg/iommu.h | 7 ++ include/accel/tcg/probe.h | 4 + include/accel/tcg/tb-cpu-state.h | 4 + include/exec/cpu-common.h | 54 +--------- include/hw/xen/interface/physdev.h | 2 +- include/hw/xen/interface/version.h | 5 +- include/hw/xen/interface/xen-compat.h | 2 - include/hw/xen/interface/xen.h | 14 --- include/qemu/cutils.h | 17 +-- include/system/hvf_int.h | 1 - include/system/memory.h | 18 ++-- include/system/memory_cached.h | 20 ++-- include/system/physmem.h | 50 +++++++++ include/tcg/tcg-gvec-desc.h | 2 + include/user/cpu_loop.h | 2 +- linux-user/qemu.h | 1 + system/memory-internal.h | 4 +- target/arm/internals.h | 4 +- target/ppc/internal.h | 5 +- target/ppc/mmu-hash32.h | 1 + target/s390x/s390x-internal.h | 3 +- include/system/memory_ldst_cached.h.inc | 15 +-- accel/hvf/hvf-all.c | 2 +- accel/kvm/kvm-all.c | 12 +-- accel/stubs/tcg-stub.c | 19 ---- accel/tcg/cpu-exec-common.c | 1 + accel/tcg/cpu-exec.c | 5 +- accel/tcg/cputlb.c | 2 +- accel/tcg/tb-maint.c | 2 +- accel/tcg/tcg-accel-ops-mttcg.c | 1 + accel/tcg/tcg-accel-ops-rr.c | 1 + accel/tcg/tcg-accel-ops.c | 1 + accel/tcg/tcg-runtime.c | 1 + accel/tcg/translate-all.c | 2 +- accel/tcg/user-exec.c | 1 + accel/tcg/watchpoint.c | 1 + bsd-user/main.c | 1 + bsd-user/uaccess.c | 4 +- dump/dump.c | 3 +- dump/win_dump-x86.c | 5 +- gdbstub/system.c | 11 +- hw/acpi/ghes.c | 24 ++--- hw/acpi/nvdimm.c | 13 +-- hw/acpi/vmgenid.c | 3 +- hw/audio/marvell_88w8618.c | 3 +- hw/char/riscv_htif.c | 5 +- hw/display/exynos4210_fimd.c | 7 +- hw/display/omap_lcdc.c | 5 +- hw/display/ramfb.c | 7 +- hw/dma/i8257.c | 9 +- hw/dma/omap_dma.c | 6 +- hw/dma/rc4030.c | 3 +- hw/dma/sifive_pdma.c | 9 +- hw/hyperv/hyperv.c | 25 ++--- hw/hyperv/syndbg.c | 13 +-- hw/hyperv/vmbus.c | 9 +- hw/i386/kvm/clock.c | 3 +- hw/i386/vapic.c | 21 ++-- hw/intc/apic.c | 3 +- hw/intc/xive2.c | 3 +- hw/m68k/next-cube.c | 3 +- hw/microblaze/boot.c | 3 +- hw/misc/mips_itu.c | 1 + hw/misc/pc-testdev.c | 5 +- hw/net/fsl_etsec/rings.c | 13 +-- hw/net/mcf_fec.c | 11 +- hw/net/opencores_eth.c | 9 +- hw/nvram/spapr_nvram.c | 9 +- hw/ppc/amigaone.c | 5 +- hw/ppc/e500.c | 3 +- hw/ppc/pegasos.c | 11 +- hw/ppc/pnv.c | 5 +- hw/ppc/ppc440_uc.c | 9 +- hw/ppc/ppc_booke.c | 1 + hw/ppc/spapr.c | 3 +- hw/ppc/spapr_drc.c | 3 +- hw/ppc/spapr_events.c | 9 +- hw/ppc/spapr_hcall.c | 17 +-- hw/ppc/spapr_rtas.c | 5 +- hw/ppc/spapr_tpm_proxy.c | 5 +- hw/ppc/virtex_ml507.c | 3 +- hw/s390x/css.c | 5 +- hw/s390x/ipl.c | 14 +-- hw/s390x/s390-pci-bus.c | 5 +- hw/s390x/virtio-ccw.c | 5 +- hw/scsi/vmw_pvscsi.c | 12 +-- hw/xen/xen_pt_graphics.c | 4 +- hw/xtensa/xtfpga.c | 5 +- linux-user/arm/elfload.c | 1 + linux-user/hppa/elfload.c | 1 + linux-user/uaccess.c | 2 +- linux-user/x86_64/elfload.c | 1 + plugins/api.c | 1 + qom/object.c | 14 +-- semihosting/console.c | 1 + system/cpus.c | 4 +- system/memory.c | 16 +-- system/physmem.c | 44 ++++---- system/vl.c | 3 +- target/alpha/helper.c | 1 + target/alpha/mem_helper.c | 1 + target/arm/cpu-irq.c | 3 +- target/arm/cpu.c | 2 +- target/arm/helper.c | 2 +- target/arm/hvf/hvf.c | 11 +- target/arm/machine.c | 10 +- target/arm/ptw.c | 20 +++- target/arm/tcg/cpregs-at.c | 1 + target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/op_helper.c | 1 + target/arm/tcg/tlb_helper.c | 1 + target/avr/helper.c | 1 + target/hexagon/op_helper.c | 1 + target/hppa/cpu.c | 1 + target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/i386/helper.c | 3 +- target/i386/tcg/excp_helper.c | 1 + target/i386/tcg/misc_helper.c | 1 + target/i386/tcg/system/bpt_helper.c | 1 + target/i386/tcg/system/misc_helper.c | 1 + target/i386/tcg/system/svm_helper.c | 1 + target/i386/tcg/user/excp_helper.c | 1 + target/i386/tcg/user/seg_helper.c | 1 + target/loongarch/cpu_helper.c | 1 + target/loongarch/tcg/tcg_cpu.c | 3 +- target/loongarch/tcg/tlb_helper.c | 1 + target/m68k/helper.c | 1 + target/m68k/op_helper.c | 1 + target/microblaze/helper.c | 1 + target/microblaze/op_helper.c | 1 + target/mips/tcg/exception.c | 1 + target/mips/tcg/system/tlb_helper.c | 1 + target/or1k/exception.c | 1 + target/or1k/exception_helper.c | 1 + target/or1k/fpu_helper.c | 1 + target/or1k/mmu.c | 1 + target/or1k/sys_helper.c | 1 + target/ppc/cpu_init.c | 1 + target/ppc/helper_regs.c | 3 +- target/ppc/tcg-excp_helper.c | 1 + target/ppc/user_only_helper.c | 1 + target/riscv/cpu_helper.c | 1 + target/riscv/csr.c | 1 + target/riscv/op_helper.c | 1 + target/rx/op_helper.c | 1 + target/s390x/diag.c | 75 ++++++++------ target/s390x/mmu_helper.c | 3 + target/s390x/tcg/cc_helper.c | 1 + target/s390x/tcg/debug.c | 1 + target/s390x/tcg/excp_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/s390x/tcg/misc_helper.c | 6 +- target/sh4/helper.c | 1 + target/sh4/op_helper.c | 1 + target/sparc/cpu.c | 1 + target/sparc/helper.c | 1 + target/sparc/mmu_helper.c | 1 + target/tricore/helper.c | 1 + target/tricore/op_helper.c | 1 + target/xtensa/exc_helper.c | 1 + target/xtensa/helper.c | 1 + util/cutils.c | 15 +-- accel/stubs/meson.build | 1 - ui/cocoa.m | 131 +----------------------- 177 files changed, 644 insertions(+), 583 deletions(-) create mode 100644 include/accel/tcg/cpu-loop.h delete mode 100644 accel/stubs/tcg-stub.c -- 2.53.0
