History log of /qemu/accel/ (Results 226 – 250 of 1193)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
de6cd75913-Jun-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

meson: Replace softmmu_ss -> system_ss

We use the user_ss[] array to hold the user emulation sources,
and the softmmu_ss[] array to hold the system emulation ones.
Hold the latter in the 'system_ss[

meson: Replace softmmu_ss -> system_ss

We use the user_ss[] array to hold the user emulation sources,
and the softmmu_ss[] array to hold the system emulation ones.
Hold the latter in the 'system_ss[]' array for parity with user
emulation.

Mechanical change doing:

$ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230613133347.82210-10-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


meson.build
/qemu/audio/meson.build
/qemu/backends/meson.build
/qemu/backends/tpm/meson.build
/qemu/block/meson.build
/qemu/block/monitor/meson.build
/qemu/chardev/meson.build
/qemu/disas/meson.build
/qemu/docs/devel/build-system.rst
/qemu/dump/meson.build
/qemu/ebpf/meson.build
/qemu/fsdev/meson.build
/qemu/gdbstub/meson.build
/qemu/hw/9pfs/meson.build
/qemu/hw/acpi/meson.build
/qemu/hw/adc/meson.build
/qemu/hw/arm/meson.build
/qemu/hw/audio/meson.build
/qemu/hw/block/meson.build
/qemu/hw/char/meson.build
/qemu/hw/core/meson.build
/qemu/hw/cpu/meson.build
/qemu/hw/cxl/meson.build
/qemu/hw/display/meson.build
/qemu/hw/dma/meson.build
/qemu/hw/gpio/meson.build
/qemu/hw/i2c/meson.build
/qemu/hw/ide/meson.build
/qemu/hw/input/meson.build
/qemu/hw/intc/meson.build
/qemu/hw/ipack/meson.build
/qemu/hw/ipmi/meson.build
/qemu/hw/isa/meson.build
/qemu/hw/mem/meson.build
/qemu/hw/misc/macio/meson.build
/qemu/hw/misc/meson.build
/qemu/hw/net/can/meson.build
/qemu/hw/net/meson.build
/qemu/hw/nubus/meson.build
/qemu/hw/nvme/meson.build
/qemu/hw/nvram/meson.build
/qemu/hw/pci-bridge/meson.build
/qemu/hw/pci-host/meson.build
/qemu/hw/pci/meson.build
/qemu/hw/pcmcia/meson.build
/qemu/hw/rdma/meson.build
/qemu/hw/remote/meson.build
/qemu/hw/rtc/meson.build
/qemu/hw/scsi/meson.build
/qemu/hw/sd/meson.build
/qemu/hw/sensor/meson.build
/qemu/hw/smbios/meson.build
/qemu/hw/ssi/meson.build
/qemu/hw/timer/meson.build
/qemu/hw/tpm/meson.build
/qemu/hw/usb/meson.build
/qemu/hw/virtio/meson.build
/qemu/hw/watchdog/meson.build
/qemu/hw/xen/meson.build
/qemu/meson.build
/qemu/migration/meson.build
/qemu/monitor/meson.build
/qemu/net/can/meson.build
/qemu/net/meson.build
/qemu/qom/meson.build
/qemu/replay/meson.build
/qemu/softmmu/meson.build
/qemu/stats/meson.build
/qemu/target/alpha/meson.build
/qemu/target/arm/hvf/meson.build
/qemu/target/arm/meson.build
/qemu/target/arm/tcg/meson.build
/qemu/target/avr/meson.build
/qemu/target/cris/meson.build
/qemu/target/hppa/meson.build
/qemu/target/i386/hax/meson.build
/qemu/target/i386/hvf/meson.build
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/meson.build
/qemu/target/i386/nvmm/meson.build
/qemu/target/i386/tcg/sysemu/meson.build
/qemu/target/i386/whpx/meson.build
/qemu/target/loongarch/meson.build
/qemu/target/m68k/meson.build
/qemu/target/microblaze/meson.build
/qemu/target/mips/meson.build
/qemu/target/mips/sysemu/meson.build
/qemu/target/mips/tcg/sysemu/meson.build
/qemu/target/nios2/meson.build
/qemu/target/openrisc/meson.build
/qemu/target/ppc/meson.build
/qemu/target/riscv/meson.build
/qemu/target/s390x/kvm/meson.build
/qemu/target/s390x/meson.build
/qemu/target/sh4/meson.build
/qemu/target/sparc/meson.build
/qemu/target/tricore/meson.build
/qemu/target/xtensa/meson.build
/qemu/tcg/meson.build
/qemu/trace/meson.build
/qemu/ui/meson.build
c7b6494813-Jun-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY

Since we *might* have user emulation with softmmu,
use the clearer 'CONFIG_SYSTEM_ONLY' key to check
for system emulation.

Signed-off-by: Philipp

meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY

Since we *might* have user emulation with softmmu,
use the clearer 'CONFIG_SYSTEM_ONLY' key to check
for system emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230613133347.82210-9-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

905db98a13-Jun-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one

Since we *might* have user emulation with softmmu,
replace the system emulation check by !user emulation one.

Invert some if() ladde

accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one

Since we *might* have user emulation with softmmu,
replace the system emulation check by !user emulation one.

Invert some if() ladders for clarity.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230613133347.82210-7-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

2be6a48619-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN

Otherwise we hit the default assert not reached.
Handle it as MO_ATOM_NONE, because of size and misalignment.
We already handle this correctly in do

accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN

Otherwise we hit the default assert not reached.
Handle it as MO_ATOM_NONE, because of size and misalignment.
We already handle this correctly in do_ld16_beN.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

ed39589108-Jun-2023 Antonio Caggiano <quic_acaggian@quicinc.com>

accel/hvf: Report HV_DENIED error

On MacOS 11 and subsequent versions, in case the resulting binary is not
signed with the proper entitlement, handle and report the HV_DENIED
error.

Signed-off-by:

accel/hvf: Report HV_DENIED error

On MacOS 11 and subsequent versions, in case the resulting binary is not
signed with the proper entitlement, handle and report the HV_DENIED
error.

Signed-off-by: Antonio Caggiano <quic_acaggian@quicinc.com>
Message-Id: <20230608123014.28715-1-quic_acaggian@quicinc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/MAINTAINERS
hvf/hvf-all.c
/qemu/block.c
/qemu/bsd-user/main.c
/qemu/configure
/qemu/docs/system/devices/vhost-user.rst
/qemu/docs/system/multi-process.rst
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hw/9pfs/9p-util.h
/qemu/hw/core/cpu-common.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_evtchn.h
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/intc/pnv_xive2.c
/qemu/hw/intc/pnv_xive2_regs.h
/qemu/hw/intc/xive.c
/qemu/hw/isa/piix3.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/ppc.c
/qemu/hw/remote/trace-events
/qemu/hw/remote/vfio-user-obj.c
/qemu/hw/usb/hcd-ehci-pci.c
/qemu/hw/virtio/virtio-qmp.c
/qemu/hw/xen/xen-bus.c
/qemu/hw/xen/xen-operations.c
/qemu/include/hw/ppc/openpic.h
/qemu/include/hw/ppc/xive_regs.h
/qemu/include/hw/southbridge/piix.h
/qemu/include/hw/xen/xen.h
/qemu/include/hw/xen/xen_native.h
/qemu/include/ui/clipboard.h
/qemu/linux-user/elfload.c
/qemu/linux-user/main.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/net/vmnet-bridged.m
/qemu/pc-bios/keymaps/meson.build
/qemu/qapi/cryptodev.json
/qemu/qga/qapi-schema.json
/qemu/scripts/xen-detect.c
/qemu/stubs/xen-hw-stub.c
/qemu/target/arm/ptw.c
/qemu/target/m68k/fpu_helper.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/helper_regs.h
/qemu/target/ppc/machine.c
/qemu/target/ppc/mmu_common.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/power8-pmu.c
/qemu/target/ppc/power8-pmu.h
/qemu/target/ppc/translate.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/helper.c
/qemu/target/tricore/op_helper.c
/qemu/target/tricore/translate.c
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/qemu-iotests/194
/qemu/tests/qemu-iotests/194.out
/qemu/tests/tcg/tricore/Makefile.softmmu-target
/qemu/tests/tcg/tricore/asm/macros.h
/qemu/tests/tcg/tricore/asm/test_abs.S
/qemu/tests/tcg/tricore/asm/test_bmerge.S
/qemu/tests/tcg/tricore/asm/test_clz.S
/qemu/tests/tcg/tricore/asm/test_dextr.S
/qemu/tests/tcg/tricore/asm/test_dvstep.S
/qemu/tests/tcg/tricore/asm/test_fadd.S
/qemu/tests/tcg/tricore/asm/test_fmul.S
/qemu/tests/tcg/tricore/asm/test_ftoi.S
/qemu/tests/tcg/tricore/asm/test_imask.S
/qemu/tests/tcg/tricore/asm/test_insert.S
/qemu/tests/tcg/tricore/asm/test_ld_bu.S
/qemu/tests/tcg/tricore/asm/test_ld_h.S
/qemu/tests/tcg/tricore/asm/test_madd.S
/qemu/tests/tcg/tricore/asm/test_msub.S
/qemu/tests/tcg/tricore/asm/test_muls.S
/qemu/tests/tcg/tricore/c/crt0-tc2x.S
/qemu/tests/tcg/tricore/c/test_boot_to_main.c
/qemu/tests/tcg/tricore/c/test_context_save_areas.c
/qemu/tests/tcg/tricore/c/testdev_assert.h
/qemu/tests/tcg/tricore/link.ld
/qemu/ui/cocoa.m
/qemu/ui/vnc-jobs.c
/qemu/util/cacheflush.c
b84694de10-Apr-2023 Ivan Klokov <ivan.klokov@syntacore.com>

util/log: Add vector registers to log

Added QEMU option 'vpu' to log vector extension registers such as gpr\fpu.

Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis

util/log: Add vector registers to log

Added QEMU option 'vpu' to log vector extension registers such as gpr\fpu.

Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230410124451.15929-2-ivan.klokov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/MAINTAINERS
tcg/cpu-exec.c
/qemu/block.c
/qemu/configure
/qemu/disas/riscv.c
/qemu/docs/system/devices/vhost-user.rst
/qemu/docs/system/multi-process.rst
/qemu/docs/system/riscv/virt.rst
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hw/9pfs/9p-util.h
/qemu/hw/core/cpu-common.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_evtchn.h
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/intc/pnv_xive2.c
/qemu/hw/intc/pnv_xive2_regs.h
/qemu/hw/intc/xive.c
/qemu/hw/isa/piix3.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/ppc.c
/qemu/hw/remote/trace-events
/qemu/hw/remote/vfio-user-obj.c
/qemu/hw/riscv/numa.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/riscv/virt.c
/qemu/hw/usb/hcd-ehci-pci.c
/qemu/hw/virtio/virtio-qmp.c
/qemu/hw/xen/xen-bus.c
/qemu/hw/xen/xen-operations.c
/qemu/include/disas/dis-asm.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/ppc/openpic.h
/qemu/include/hw/ppc/xive_regs.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/southbridge/piix.h
/qemu/include/hw/xen/xen.h
/qemu/include/hw/xen/xen_native.h
/qemu/include/qemu/log.h
/qemu/include/ui/clipboard.h
/qemu/linux-user/elfload.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/pc-bios/keymaps/meson.build
/qemu/qapi/cryptodev.json
/qemu/qga/qapi-schema.json
/qemu/scripts/xen-detect.c
/qemu/stubs/xen-hw-stub.c
/qemu/target/arm/ptw.c
/qemu/target/m68k/fpu_helper.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/helper_regs.h
/qemu/target/ppc/machine.c
/qemu/target/ppc/mmu_common.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/power8-pmu.c
/qemu/target/ppc/power8-pmu.h
/qemu/target/ppc/translate.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/insn_trans/trans_privileged.c.inc
/qemu/target/riscv/insn_trans/trans_rvd.c.inc
/qemu/target/riscv/insn_trans/trans_rvf.c.inc
/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzawrs.c.inc
/qemu/target/riscv/insn_trans/trans_rvzce.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/helper.c
/qemu/target/tricore/op_helper.c
/qemu/target/tricore/translate.c
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/qemu-iotests/194
/qemu/tests/qemu-iotests/194.out
/qemu/tests/tcg/tricore/Makefile.softmmu-target
/qemu/tests/tcg/tricore/asm/macros.h
/qemu/tests/tcg/tricore/asm/test_abs.S
/qemu/tests/tcg/tricore/asm/test_bmerge.S
/qemu/tests/tcg/tricore/asm/test_clz.S
/qemu/tests/tcg/tricore/asm/test_dextr.S
/qemu/tests/tcg/tricore/asm/test_dvstep.S
/qemu/tests/tcg/tricore/asm/test_fadd.S
/qemu/tests/tcg/tricore/asm/test_fmul.S
/qemu/tests/tcg/tricore/asm/test_ftoi.S
/qemu/tests/tcg/tricore/asm/test_imask.S
/qemu/tests/tcg/tricore/asm/test_insert.S
/qemu/tests/tcg/tricore/asm/test_ld_bu.S
/qemu/tests/tcg/tricore/asm/test_ld_h.S
/qemu/tests/tcg/tricore/asm/test_madd.S
/qemu/tests/tcg/tricore/asm/test_msub.S
/qemu/tests/tcg/tricore/asm/test_muls.S
/qemu/tests/tcg/tricore/c/crt0-tc2x.S
/qemu/tests/tcg/tricore/c/test_boot_to_main.c
/qemu/tests/tcg/tricore/c/test_context_save_areas.c
/qemu/tests/tcg/tricore/c/testdev_assert.h
/qemu/tests/tcg/tricore/link.ld
/qemu/ui/vnc-jobs.c
/qemu/util/log.c
c0dde5fc06-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Fix undefined shift in store_whole_le16

The computation is documented as unused in this case,
but triggers an ubsan error:

../accel/tcg/ldst_atomicity.c.inc:837:33: runtime error: shift

accel/tcg: Fix undefined shift in store_whole_le16

The computation is documented as unused in this case,
but triggers an ubsan error:

../accel/tcg/ldst_atomicity.c.inc:837:33: runtime error: shift exponent -32 is negative
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../accel/tcg/ldst_atomicity.c.inc:837:33 in

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230606171629.98157-1-richard.henderson@linaro.org>

show more ...


/qemu/.gitignore
/qemu/.gitlab-ci.d/buildtest-template.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/container-template.yml
/qemu/.gitmodules
/qemu/MAINTAINERS
/qemu/Makefile
tcg/ldst_atomicity.c.inc
/qemu/block/nbd.c
/qemu/chardev/char-pty.c
/qemu/configure
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/devel/testing.rst
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/xlnx-versal.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/m68k/q800.c
/qemu/hw/mips/malta.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/ppc/pnv_lpc.c
/qemu/hw/ppc/pnv_occ.c
/qemu/hw/ppc/pnv_sbe.c
/qemu/hw/riscv/virt.c
/qemu/hw/rx/rx62n.c
/qemu/hw/scsi/esp-pci.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/virtio/virtio-mem-pci.c
/qemu/hw/virtio/virtio-pmem-pci.c
/qemu/linux-user/elfload.c
/qemu/linux-user/loader.h
/qemu/linux-user/s390x/cpu_loop.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/migration/fd.c
/qemu/migration/multifd.c
/qemu/migration/yank_functions.c
/qemu/nbd/client-connection.c
/qemu/nbd/server.c
/qemu/pc-bios/s390-ccw/Makefile
/qemu/python/scripts/mkvenv.py
/qemu/scripts/archive-source.sh
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/ci/org.centos/stream/8/x86_64/test-avocado
/qemu/scripts/device-crash-test
/qemu/scripts/git-submodule.sh
/qemu/scripts/make-release
/qemu/scripts/qom-cast-macro-clean-cocci-gen.py
/qemu/scsi/qemu-pr-helper.c
/qemu/softmmu/qdev-monitor.c
/qemu/subprojects/.gitignore
/qemu/subprojects/berkeley-softfloat-3.wrap
/qemu/subprojects/berkeley-testfloat-3.wrap
/qemu/subprojects/dtc.wrap
/qemu/subprojects/keycodemapdb.wrap
/qemu/subprojects/libvfio-user.wrap
/qemu/subprojects/packagefiles/berkeley-softfloat-3/meson.build
/qemu/subprojects/packagefiles/berkeley-softfloat-3/meson_options.txt
/qemu/subprojects/packagefiles/berkeley-testfloat-3/meson.build
/qemu/subprojects/packagefiles/berkeley-testfloat-3/meson_options.txt
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/helper.h
/qemu/target/s390x/tcg/fpu_helper.c
/qemu/target/s390x/tcg/insn-data.h.inc
/qemu/target/s390x/tcg/translate.c
/qemu/tests/Makefile.include
/qemu/tests/fp/meson.build
/qemu/tests/qtest/meson.build
/qemu/tests/requirements.txt
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/gdbstub/test-svc.py
/qemu/tests/tcg/s390x/hello-s390x-asm.S
/qemu/tests/tcg/s390x/lcbb.c
/qemu/tests/tcg/s390x/locfhr.c
/qemu/tests/tcg/s390x/mxdb.c
/qemu/tests/vm/Makefile.include
/qemu/ui/vnc-ws.c
eb2edc4206-Jun-2023 Francesco Cagnin <fcagnin@quarkslab.com>

hvf: add guest debugging handlers for Apple Silicon hosts

Guests can now be debugged through the gdbstub. Support is added for
single-stepping, software breakpoints, hardware breakpoints and
watchpo

hvf: add guest debugging handlers for Apple Silicon hosts

Guests can now be debugged through the gdbstub. Support is added for
single-stepping, software breakpoints, hardware breakpoints and
watchpoints. The code has been structured like the KVM counterpart.

While guest debugging is enabled, the guest can still read and write the
DBG*_EL1 registers but they don't have any effect.

Signed-off-by: Francesco Cagnin <fcagnin@quarkslab.com>
Message-id: 20230601153107.81955-5-fcagnin@quarkslab.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

f415204006-Jun-2023 Francesco Cagnin <fcagnin@quarkslab.com>

hvf: add breakpoint handlers

Required for guest debugging. The code has been structured like the KVM
counterpart.

Signed-off-by: Francesco Cagnin <fcagnin@quarkslab.com>
Message-id: 20230601153107.

hvf: add breakpoint handlers

Required for guest debugging. The code has been structured like the KVM
counterpart.

Signed-off-by: Francesco Cagnin <fcagnin@quarkslab.com>
Message-id: 20230601153107.81955-4-fcagnin@quarkslab.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

0683100103-Mar-2023 Paolo Bonzini <pbonzini@redhat.com>

atomics: eliminate mb_read/mb_set

qatomic_mb_read and qatomic_mb_set were the very first atomic primitives
introduced for QEMU; their semantics are unclear and they provide a false
sense of safety.

atomics: eliminate mb_read/mb_set

qatomic_mb_read and qatomic_mb_set were the very first atomic primitives
introduced for QEMU; their semantics are unclear and they provide a false
sense of safety.

The last use of qatomic_mb_read() has been removed, so delete it.
qatomic_mb_set() instead can survive as an optimized
qatomic_set()+smp_mb(), similar to Linux's smp_store_mb(), but
rename it to qatomic_set_mb() to match the order of the two
operations.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

e7cd7a3905-Jun-2023 Ilya Leoshkevich <iii@linux.ibm.com>

accel/tcg: Unmap perf_marker

Coverity complains that perf_marker is never unmapped.
Fix by unmapping it in perf_exit().

Fixes: Coverity CID 1507929
Fixes: 5584e2dbe8c9 ("tcg: add perfmap and jitdum

accel/tcg: Unmap perf_marker

Coverity complains that perf_marker is never unmapped.
Fix by unmapping it in perf_exit().

Fixes: Coverity CID 1507929
Fixes: 5584e2dbe8c9 ("tcg: add perfmap and jitdump")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230605114134.1169974-1-iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

bc54ef8c02-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

plugins: Move plugin_insn_append to translator.c

This function is only used in translator.c, and uses a
target-specific typedef: abi_ptr.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Sig

plugins: Move plugin_insn_append to translator.c

This function is only used in translator.c, and uses a
target-specific typedef: abi_ptr.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

cac9b0fd02-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Remove target-specific headers from tcg.[ch]

This finally paves the way for tcg/ to be built once per mode.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Hende

tcg: Remove target-specific headers from tcg.[ch]

This finally paves the way for tcg/ to be built once per mode.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

653c46da02-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Tidy includes for translator.[ch]

Reduce the header to only bswap.h and cpu_ldst.h.
Move exec/translate-all.h to translator.c.
Reduce tcg.h and tcg-op.h to tcg-op-common.h.
Remove otherwi

accel/tcg: Tidy includes for translator.[ch]

Reduce the header to only bswap.h and cpu_ldst.h.
Move exec/translate-all.h to translator.c.
Reduce tcg.h and tcg-op.h to tcg-op-common.h.
Remove otherwise unused headers.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

309e014d02-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Move translator_fake_ldb out of line

This is used by exactly one host in extraordinary circumstances.
This means that translator.h need not include plugin-gen.h;
translator.c already incl

accel/tcg: Move translator_fake_ldb out of line

This is used by exactly one host in extraordinary circumstances.
This means that translator.h need not include plugin-gen.h;
translator.c already includes plugin-gen.h.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

dfd1b81223-May-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Introduce translator_io_start

New wrapper around gen_io_start which takes care of the USE_ICOUNT
check, as well as marking the DisasContext to end the TB.
Remove exec/gen-icount.h.

Revie

accel/tcg: Introduce translator_io_start

New wrapper around gen_io_start which takes care of the USE_ICOUNT
check, as well as marking the DisasContext to end the TB.
Remove exec/gen-icount.h.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

5623423302-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Move most of gen-icount.h into translator.c

The only usage of gen_tb_start and gen_tb_end are here.
Move the static icount_start_insn variable into a local
within translator_loop. Simpli

accel/tcg: Move most of gen-icount.h into translator.c

The only usage of gen_tb_start and gen_tb_end are here.
Move the static icount_start_insn variable into a local
within translator_loop. Simplify the two subroutines
by passing in the existing local cflags variable.

Leave only the declaration of gen_io_start in gen-icount.h.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

85314e1301-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

exec-all: Widen TranslationBlock pc and cs_base to 64-bits

This makes TranslationBlock agnostic to the address size of the guest.
Use vaddr for pc, since that's always a virtual address.
Use uint64_

exec-all: Widen TranslationBlock pc and cs_base to 64-bits

This makes TranslationBlock agnostic to the address size of the guest.
Use vaddr for pc, since that's always a virtual address.
Use uint64_t for cs_base, since usage varies between guests.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

0a18945d01-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Remove NO_CPU_IO_DEFS

From this remove, it's no longer clear what this is attempting
to protect. The last time a use of this define was added to
the source tree, as opposed to merely moved aro

tcg: Remove NO_CPU_IO_DEFS

From this remove, it's no longer clear what this is attempting
to protect. The last time a use of this define was added to
the source tree, as opposed to merely moved around, was 2008.
There have been many cleanups since that time and this is
no longer required for the build to succeed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

28ea568a01-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Add guest_mo to TCGContext

This replaces of TCG_GUEST_DEFAULT_MO in tcg-op-ldst.c.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@l

tcg: Add guest_mo to TCGContext

This replaces of TCG_GUEST_DEFAULT_MO in tcg-op-ldst.c.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

747bd69d01-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Add insn_start_words to TCGContext

This will enable replacement of TARGET_INSN_START_WORDS in tcg.c.
Split out "tcg/insn-start-words.h" and use it in target/.

Reviewed-by: Anton Johansson <anj

tcg: Add insn_start_words to TCGContext

This will enable replacement of TARGET_INSN_START_WORDS in tcg.c.
Split out "tcg/insn-start-words.h" and use it in target/.

Reviewed-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

c213ee2d01-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Split helper-proto.h

Create helper-proto-common.h without the target specific portion.
Use that in tcg-op-common.h. Include helper-proto.h in target/arm
and target/hexagon before helper-info.c

tcg: Split helper-proto.h

Create helper-proto-common.h without the target specific portion.
Use that in tcg-op-common.h. Include helper-proto.h in target/arm
and target/hexagon before helper-info.c.inc; all other targets are
already correct in this regard.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

d53106c931-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Pass TCGHelperInfo to tcg_gen_callN

In preparation for compiling tcg/ only once, eliminate
the all_helpers array. Instantiate the info structs for
the generic helpers in accel/tcg/, and the st

tcg: Pass TCGHelperInfo to tcg_gen_callN

In preparation for compiling tcg/ only once, eliminate
the all_helpers array. Instantiate the info structs for
the generic helpers in accel/tcg/, and the structs for
the target-specific helpers in each translate.c.

Since we don't see all of the info structs at startup,
initialize at first use, using g_once_init_* to make
sure we don't race while doing so.

Reviewed-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

70f168f828-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

tcg: Split out tcg/oversized-guest.h

Move a use of TARGET_LONG_BITS out of tcg/tcg.h.
Include the new file only where required.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by

tcg: Split out tcg/oversized-guest.h

Move a use of TARGET_LONG_BITS out of tcg/tcg.h.
Include the new file only where required.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e5b4906328-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

*: Add missing includes of tcg/tcg.h

This had been pulled in from exec/cpu_ldst.h, via exec/exec-all.h,
but the include of tcg.h will be removed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.

*: Add missing includes of tcg/tcg.h

This had been pulled in from exec/cpu_ldst.h, via exec/exec-all.h,
but the include of tcg.h will be removed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

12345678910>>...48