History log of /openbmc/qemu/hw/intc/ (Results 651 – 675 of 1839)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
34cdea1d17-Dec-2021 Philippe Mathieu-Daudé <philmd@redhat.com>

dma: Let ld*_dma() take MemTxAttrs argument

Let devices specify transaction attributes when calling ld*_dma().

Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.

Reviewed-by: Richard Hend

dma: Let ld*_dma() take MemTxAttrs argument

Let devices specify transaction attributes when calling ld*_dma().

Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-17-philmd@redhat.com>

show more ...

ba06fe8a03-Sep-2020 Philippe Mathieu-Daudé <philmd@redhat.com>

dma: Let dma_memory_read/write() take MemTxAttrs argument

Let devices specify transaction attributes when calling
dma_memory_read() or dma_memory_write().

Patch created mechanically using spatch wi

dma: Let dma_memory_read/write() take MemTxAttrs argument

Let devices specify transaction attributes when calling
dma_memory_read() or dma_memory_write().

Patch created mechanically using spatch with this script:

@@
expression E1, E2, E3, E4;
@@
(
- dma_memory_read(E1, E2, E3, E4)
+ dma_memory_read(E1, E2, E3, E4, MEMTXATTRS_UNSPECIFIED)
|
- dma_memory_write(E1, E2, E3, E4)
+ dma_memory_write(E1, E2, E3, E4, MEMTXATTRS_UNSPECIFIED)
)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20211223115554.3155328-6-philmd@redhat.com>

show more ...

23faf56903-Sep-2020 Philippe Mathieu-Daudé <philmd@redhat.com>

dma: Let dma_memory_rw() take MemTxAttrs argument

Let devices specify transaction attributes when calling
dma_memory_rw().

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by:

dma: Let dma_memory_rw() take MemTxAttrs argument

Let devices specify transaction attributes when calling
dma_memory_rw().

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20211223115554.3155328-5-philmd@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/kvm-build.yml
/openbmc/qemu/.gitlab-ci.d/qemu-project.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/dbusaudio.c
/openbmc/qemu/audio/meson.build
/openbmc/qemu/audio/trace-events
/openbmc/qemu/backends/dbus-vmstate1.xml
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/errno_defs.h
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/bsd-user/special-errno.h
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/common-user/host/aarch64/safe-syscall.inc.S
/openbmc/qemu/common-user/host/arm/safe-syscall.inc.S
/openbmc/qemu/common-user/host/i386/safe-syscall.inc.S
/openbmc/qemu/common-user/host/loongarch64/safe-syscall.inc.S
/openbmc/qemu/common-user/host/mips/safe-syscall.inc.S
/openbmc/qemu/common-user/host/ppc64/safe-syscall.inc.S
/openbmc/qemu/common-user/host/riscv/safe-syscall.inc.S
/openbmc/qemu/common-user/host/s390x/safe-syscall.inc.S
/openbmc/qemu/common-user/host/sparc64/safe-syscall.inc.S
/openbmc/qemu/common-user/host/x86_64/safe-syscall.inc.S
/openbmc/qemu/common-user/meson.build
/openbmc/qemu/common-user/safe-syscall-error.c
/openbmc/qemu/common-user/safe-syscall.S
/openbmc/qemu/configure
/openbmc/qemu/cpu.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/block-replication.txt
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/interop/dbus-display.rst
/openbmc/qemu/docs/interop/dbus-vmstate.rst
/openbmc/qemu/docs/interop/dbus.rst
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/specs/ppc-spapr-hcalls.rst
/openbmc/qemu/docs/sphinx/dbusdoc.py
/openbmc/qemu/docs/sphinx/dbusdomain.py
/openbmc/qemu/docs/sphinx/dbusparser.py
/openbmc/qemu/docs/sphinx/fakedbusdoc.py
/openbmc/qemu/docs/system/i386/sgx.rst
/openbmc/qemu/docs/system/ppc/powernv.rst
/openbmc/qemu/docs/system/ppc/pseries.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/fpu/softfloat-parts.c.inc
/openbmc/qemu/fpu/softfloat-specialize.c.inc
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mcimx6ul-evk.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32f405_soc.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/avr/atmega.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/vhost-user-gpu.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/display/virtio-gpu-virgl.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/sgx-epc.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/i386/vmmouse.c
spapr_xive.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/sifive_u_otp.c
/openbmc/qemu/hw/net/npcm7xx_emc.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-host/pnv_phb3.c
/openbmc/qemu/hw/pci-host/pnv_phb3_pbcq.c
/openbmc/qemu/hw/pci-host/pnv_phb4.c
/openbmc/qemu/hw/pci-host/pnv_phb4_pec.c
/openbmc/qemu/hw/ppc/mac.h
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc405.h
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-pci-vfio.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/chardev/char-socket.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/fpu/softfloat-types.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/sgx-epc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/pci-host/pnv_phb3.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/s390x/s390-pci-bus.h
/openbmc/qemu/include/hw/s390x/s390-pci-clp.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/virtio/virtio-gpu-bswap.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/dbus.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpu.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/standard-headers/linux/virtio_vsock.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/sysemu/dma.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/ui/clipboard.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/dbus-display.h
/openbmc/qemu/include/ui/dbus-module.h
/openbmc/qemu/include/ui/egl-context.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/include/user/safe-syscall.h
/openbmc/qemu/job.c
/openbmc/qemu/linux-headers/asm-arm64/unistd.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/aarch64/signal.c
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/alpha/signal.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/arm/signal.c
/openbmc/qemu/linux-user/cpu_loop-common.h
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/cris/signal.c
/openbmc/qemu/linux-user/generic/target_errno_defs.h
/openbmc/qemu/linux-user/hexagon/cpu_loop.c
/openbmc/qemu/linux-user/hexagon/signal.c
/openbmc/qemu/linux-user/host/loongarch64/host-signal.h
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/hppa/signal.c
/openbmc/qemu/linux-user/i386/cpu_loop.c
/openbmc/qemu/linux-user/i386/signal.c
/openbmc/qemu/linux-user/m68k/cpu_loop.c
/openbmc/qemu/linux-user/m68k/signal.c
/openbmc/qemu/linux-user/meson.build
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/signal.c
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/mips/signal.c
/openbmc/qemu/linux-user/openrisc/cpu_loop.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/riscv/signal.c
/openbmc/qemu/linux-user/riscv/target_syscall.h
/openbmc/qemu/linux-user/s390x/cpu_loop.c
/openbmc/qemu/linux-user/s390x/signal.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/sh4/signal.c
/openbmc/qemu/linux-user/signal-common.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/special-errno.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/thunk.c
/openbmc/qemu/linux-user/user-internals.h
/openbmc/qemu/linux-user/xtensa/cpu_loop.c
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd-zlib.c
/openbmc/qemu/migration/multifd-zstd.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/multifd.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/nbd/client-connection.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-keymap.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/SLOF
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/entitlement.sh
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/modinfo-collect.py
/openbmc/qemu/scripts/mtest2make.py
/openbmc/qemu/softmmu/dma-helpers.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/arm/tlb_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/insn32.decode
/openbmc/qemu/target/ppc/meson.build
/openbmc/qemu/target/ppc/mmu_common.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/power8-pmu-regs.c.inc
/openbmc/qemu/target/ppc/power8-pmu.c
/openbmc/qemu/target/ppc/power8-pmu.h
/openbmc/qemu/target/ppc/spr_tcg.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/branch-impl.c.inc
/openbmc/qemu/target/ppc/translate/fp-impl.c.inc
/openbmc/qemu/target/ppc/translate/vmx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vsx-ops.c.inc
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/helper.h
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzfh.c.inc
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/tcg/loongarch64/tcg-insn-defs.c.inc
/openbmc/qemu/tcg/loongarch64/tcg-target-con-set.h
/openbmc/qemu/tcg/loongarch64/tcg-target-con-str.h
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tcg/loongarch64/tcg-target.h
/openbmc/qemu/tests/data/acpi/q35/DSDT.viot
/openbmc/qemu/tests/data/acpi/q35/VIOT.viot
/openbmc/qemu/tests/data/acpi/virt/VIOT
/openbmc/qemu/tests/fp/meson.build
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/283
/openbmc/qemu/tests/qemu-iotests/283.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/testrunner.py
/openbmc/qemu/tests/qemu-iotests/tests/nbd-reconnect-on-open
/openbmc/qemu/tests/qemu-iotests/tests/nbd-reconnect-on-open.out
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/boot-serial-test.c
/openbmc/qemu/tests/qtest/cdrom-test.c
/openbmc/qemu/tests/qtest/dbus-display-test.c
/openbmc/qemu/tests/qtest/endianness-test.c
/openbmc/qemu/tests/qtest/fuzz-lsi53c895a-test.c
/openbmc/qemu/tests/qtest/fuzz-megasas-test.c
/openbmc/qemu/tests/qtest/ivshmem-test.c
/openbmc/qemu/tests/qtest/libqos/ahci.c
/openbmc/qemu/tests/qtest/libqos/libqtest.h
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/tests/qtest/libqos/pci.c
/openbmc/qemu/tests/qtest/libqos/pci.h
/openbmc/qemu/tests/qtest/libqos/qgraph.c
/openbmc/qemu/tests/qtest/libqos/virtio-iommu.c
/openbmc/qemu/tests/qtest/libqos/virtio-iommu.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/prom-env-test.c
/openbmc/qemu/tests/qtest/test-filter-mirror.c
/openbmc/qemu/tests/qtest/test-filter-redirector.c
/openbmc/qemu/tests/qtest/test-netfilter.c
/openbmc/qemu/tests/qtest/virtio-iommu-test.c
/openbmc/qemu/tests/qtest/virtio-net-failover.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/pcalign-a64.c
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/arm/pcalign-a32.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/ppc64le/Makefile.target
/openbmc/qemu/tests/tcg/ppc64le/mtfsf.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-blockjob-txn.c
/openbmc/qemu/ui/clipboard.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/dbus-chardev.c
/openbmc/qemu/ui/dbus-clipboard.c
/openbmc/qemu/ui/dbus-console.c
/openbmc/qemu/ui/dbus-display1.xml
/openbmc/qemu/ui/dbus-error.c
/openbmc/qemu/ui/dbus-listener.c
/openbmc/qemu/ui/dbus-module.c
/openbmc/qemu/ui/dbus.c
/openbmc/qemu/ui/dbus.h
/openbmc/qemu/ui/egl-context.c
/openbmc/qemu/ui/egl-headless.c
/openbmc/qemu/ui/gtk-clipboard.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/ui/sdl2-gl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/trace-events
/openbmc/qemu/ui/util.c
/openbmc/qemu/ui/vdagent.c
/openbmc/qemu/ui/vnc-clipboard.c
/openbmc/qemu/ui/vnc.c
a8a5546715-Nov-2021 Philippe Mathieu-Daudé <philmd@redhat.com>

hw/intc/arm_gicv3: Introduce CONFIG_ARM_GIC_TCG Kconfig selector

The TYPE_ARM_GICV3 device is an emulated one. When using
KVM, it is recommended to use the TYPE_KVM_ARM_GICV3 device
(which uses in-

hw/intc/arm_gicv3: Introduce CONFIG_ARM_GIC_TCG Kconfig selector

The TYPE_ARM_GICV3 device is an emulated one. When using
KVM, it is recommended to use the TYPE_KVM_ARM_GICV3 device
(which uses in-kernel support).

When using --with-devices-FOO, it is possible to build a
binary with a specific set of devices. When this binary is
restricted to KVM accelerator, the TYPE_ARM_GICV3 device is
irrelevant, and it is desirable to remove it from the binary.

Therefore introduce the CONFIG_ARM_GIC_TCG Kconfig selector
which select the files required to have the TYPE_ARM_GICV3
device, but also allowing to de-select this device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211115223619.2599282-3-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

a1d742d815-Nov-2021 Philippe Mathieu-Daudé <philmd@redhat.com>

hw/intc/arm_gicv3: Extract gicv3_set_gicv3state from arm_gicv3_cpuif.c

gicv3_set_gicv3state() is used by arm_gicv3_common.c in
arm_gicv3_common_realize(). Since we want to restrict
arm_gicv3_cpuif.c

hw/intc/arm_gicv3: Extract gicv3_set_gicv3state from arm_gicv3_cpuif.c

gicv3_set_gicv3state() is used by arm_gicv3_common.c in
arm_gicv3_common_realize(). Since we want to restrict
arm_gicv3_cpuif.c to TCG, extract gicv3_set_gicv3state()
to a new file. Add this file to the meson 'specific'
source set, since it needs access to "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211115223619.2599282-2-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

229c57b112-Nov-2021 Alex Bennée <alex.bennee@linaro.org>

hw/intc: clean-up error reporting for failed ITS cmd

While trying to debug a GIC ITS failure I saw some guest errors that
had poor formatting as well as leaving me confused as to what failed.
As mos

hw/intc: clean-up error reporting for failed ITS cmd

While trying to debug a GIC ITS failure I saw some guest errors that
had poor formatting as well as leaving me confused as to what failed.
As most of the checks aren't possible without a valid dte split that
check apart and then check the other conditions in steps. This avoids
us relying on undefined data.

I still get a failure with the current kvm-unit-tests but at least I
know (partially) why now:

Exception return from AArch64 EL1 to AArch64 EL1 PC 0x40080588
PASS: gicv3: its-trigger: inv/invall: dev2/eventid=20 now triggers an LPI
ITS: MAPD devid=2 size = 0x8 itt=0x40430000 valid=0
INT dev_id=2 event_id=20
process_its_cmd: invalid command attributes: invalid dte: 0 for 2 (MEM_TX: 0)
PASS: gicv3: its-trigger: mapd valid=false: no LPI after device unmap
SUMMARY: 6 tests, 1 unexpected failures

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211112170454.3158925-1-alex.bennee@linaro.org
Cc: Shashi Mallela <shashi.mallela@linaro.org>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

2958e51507-Dec-2021 Damien Hedde <damien.hedde@greensocs.com>

gicv3: fix ICH_MISR's LRENP computation

According to the "Arm Generic Interrupt Controller Architecture
Specification GIC architecture version 3 and 4" (version G: page 345
for aarch64 or 509 for aa

gicv3: fix ICH_MISR's LRENP computation

According to the "Arm Generic Interrupt Controller Architecture
Specification GIC architecture version 3 and 4" (version G: page 345
for aarch64 or 509 for aarch32):
LRENP bit of ICH_MISR is set when ICH_HCR.LRENPIE==1 and
ICH_HCR.EOIcount is non-zero.

When only LRENPIE was set (and EOI count was zero), the LRENP bit was
wrongly set and MISR value was wrong.

As an additional consequence, if an hypervisor set ICH_HCR.LRENPIE,
the maintenance interrupt was constantly fired. It happens since patch
9cee1efe92 ("hw/intc: Set GIC maintenance interrupt level to only 0 or 1")
which fixed another bug about maintenance interrupt (most significant
bits of misr, including this one, were ignored in the interrupt trigger).

Fixes: 83f036fe3d ("hw/intc/arm_gicv3: Add accessors for ICH_ system registers")
Signed-off-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211207094427.3473-1-damien.hedde@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/display/vga-isa.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
arm_gicv3_cpuif.c
/openbmc/qemu/hw/mips/bootloader.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_softmmu.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/linux_loop.h
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/linux-user/syscall_types.h
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/roms/seabios
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/tests/avocado/tcg_plugins.py
/openbmc/qemu/tests/plugin/syscall.c
/openbmc/qemu/tests/qtest/fdc-test.c
90feffad26-Nov-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: fix handling of LPIs in list registers

It is valid for an OS to put virtual interrupt ID values into the
list registers ICH_LR<n> which are greater than 1023. This
corresponds to

hw/intc/arm_gicv3: fix handling of LPIs in list registers

It is valid for an OS to put virtual interrupt ID values into the
list registers ICH_LR<n> which are greater than 1023. This
corresponds to (for example) KVM using the in-kernel emulated ITS to
give a (nested) guest an ITS. LPIs are delivered by the L1 kernel to
the L2 guest via the list registers in the same way as non-LPI
interrupts.

QEMU's code for handling writes to ICV_IARn (which happen when the L2
guest acknowledges an interrupt) and to ICV_EOIRn (which happen at
the end of the interrupt) did not consider LPIs, so it would
incorrectly treat interrupt IDs above 1023 as invalid. Fix this by
using the correct condition, which is gicv3_intid_is_special().

Note that the condition in icv_dir_write() is correct -- LPIs
are not valid there and so we want to ignore both "special" ID
values and LPIs.

(In the pseudocode this logic is in:
- VirtualReadIAR0(), VirtualReadIAR1(), which call IsSpecial()
- VirtualWriteEOIR0(), VirtualWriteEOIR1(), which call
VirtualIdentifierValid(data, TRUE) meaning "LPIs OK"
- VirtualWriteDIR(), which calls VirtualIdentifierValid(data, FALSE)
meaning "LPIs not OK")

This bug doesn't seem to have any visible effect on Linux L2 guests
most of the time, because the two bugs cancel each other out: we
neither mark the interrupt active nor deactivate it. However it does
mean that the L2 vCPU priority while the LPI handler is running will
not be correct, so the interrupt handler could be unexpectedly
interrupted by a different interrupt.

(NB: this has nothing to do with using QEMU's emulated ITS.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>

show more ...

b74d7c0e26-Nov-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: Add new gicv3_intid_is_special() function

The GICv3/v4 pseudocode has a function IsSpecial() which returns true
if passed a "special" interrupt ID number (anything between 1020 an

hw/intc/arm_gicv3: Add new gicv3_intid_is_special() function

The GICv3/v4 pseudocode has a function IsSpecial() which returns true
if passed a "special" interrupt ID number (anything between 1020 and
1023 inclusive). We open-code this condition in a couple of places,
so abstract it out into a new function gicv3_intid_is_special().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

show more ...

101f27f324-Nov-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: Update cached state after LPI state changes

The logic of gicv3_redist_update() is as follows:
* it must be called in any code path that changes the state of
(only) redistribut

hw/intc/arm_gicv3: Update cached state after LPI state changes

The logic of gicv3_redist_update() is as follows:
* it must be called in any code path that changes the state of
(only) redistributor interrupts
* if it finds a redistributor interrupt that is (now) higher
priority than the previous highest-priority pending interrupt,
then this must be the new highest-priority pending interrupt
* if it does *not* find a better redistributor interrupt, then:
- if the previous state was "no interrupts pending" then
the new state is still "no interrupts pending"
- if the previous best interrupt was not a redistributor
interrupt then that remains the best interrupt
- if the previous best interrupt *was* a redistributor interrupt,
then the new best interrupt must be some non-redistributor
interrupt, but we don't know which so must do a full scan

In commit 17fb5e36aabd4b2c125 we effectively added the LPI interrupts
as a kind of "redistributor interrupt" for this purpose, by adding
cs->hpplpi to the set of things that gicv3_redist_update() considers
before it gives up and decides to do a full scan of distributor
interrupts. However we didn't quite get this right:
* the condition check for "was the previous best interrupt a
redistributor interrupt" must be updated to include LPIs
in what it considers to be redistributor interrupts
* every code path which updates the LPI state which
gicv3_redist_update() checks must also call gicv3_redist_update():
this is cs->hpplpi and the GICR_CTLR ENABLE_LPIS bit

This commit fixes this by:
* correcting the test on cs->hppi.irq in gicv3_redist_update()
* making gicv3_redist_update_lpi() always call gicv3_redist_update()
* introducing a new gicv3_redist_update_lpi_only() for the one
callsite (the post-load hook) which must not call
gicv3_redist_update()
* making gicv3_redist_lpi_pending() always call gicv3_redist_update(),
either directly or via gicv3_redist_update_lpi()
* removing a couple of now-unnecessary calls to gicv3_redist_update()
from some callers of those two functions
* calling gicv3_redist_update() when the GICR_CTLR ENABLE_LPIS
bit is cleared

(This means that the not-file-local gicv3_redist_* LPI related
functions now all take care of the updates of internally cached
GICv3 information, in the same way the older functions
gicv3_redist_set_irq() and gicv3_redist_send_sgi() do.)

The visible effect of this bug was that when the guest acknowledged
an LPI by reading ICC_IAR1_EL1, we marked it as not pending in the
LPI data structure but still left it in cs->hppi so we would offer it
to the guest again. In particular for setups using an emulated GICv3
and ITS and using devices which use LPIs (ie PCI devices) a Linux
guest would complain "irq 54: nobody cared" and then hang. (The hang
was intermittent, presumably depending on the timing between
different interrupts arriving and being completed.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20211124202005.989935-1-peter.maydell@linaro.org

show more ...

2f459cd124-Nov-2021 Shashi Mallela <shashi.mallela@linaro.org>

hw/intc: cannot clear GICv3 ITS CTLR[Enabled] bit

When Enabled bit is cleared in GITS_CTLR,ITS feature continues
to be enabled.This patch fixes the issue.

Signed-off-by: Shashi Mallela <shashi.mall

hw/intc: cannot clear GICv3 ITS CTLR[Enabled] bit

When Enabled bit is cleared in GITS_CTLR,ITS feature continues
to be enabled.This patch fixes the issue.

Signed-off-by: Shashi Mallela <shashi.mallela@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211124182246.67691-1-shashi.mallela@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/block-replication.txt
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/multi-process.rst
/openbmc/qemu/docs/devel/qgraph.rst
/openbmc/qemu/docs/devel/stable-process.rst
/openbmc/qemu/docs/devel/style.rst
/openbmc/qemu/docs/devel/submitting-a-patch.rst
/openbmc/qemu/docs/devel/submitting-a-pull-request.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/devel/trivial-patches.rst
/openbmc/qemu/docs/devel/writing-monitor-commands.rst
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/image-fuzzer.txt
/openbmc/qemu/docs/system/arm/orangepi.rst
/openbmc/qemu/docs/system/authz.rst
/openbmc/qemu/docs/system/cpu-models-x86.rst.inc
/openbmc/qemu/docs/system/devices/nvme.rst
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/docs/system/images.rst
/openbmc/qemu/docs/system/ppc/ppce500.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst.inc
/openbmc/qemu/docs/system/riscv/shakti-c.rst
/openbmc/qemu/docs/system/tls.rst
/openbmc/qemu/docs/throttle.txt
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/docs/tools/qemu-storage-daemon.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/hw/arm/virt.c
arm_gicv3_its.c
/openbmc/qemu/linux-user/host/aarch64/host-signal.h
/openbmc/qemu/linux-user/host/aarch64/hostdep.h
/openbmc/qemu/linux-user/host/alpha/host-signal.h
/openbmc/qemu/linux-user/host/arm/host-signal.h
/openbmc/qemu/linux-user/host/arm/hostdep.h
/openbmc/qemu/linux-user/host/i386/host-signal.h
/openbmc/qemu/linux-user/host/i386/hostdep.h
/openbmc/qemu/linux-user/host/mips/host-signal.h
/openbmc/qemu/linux-user/host/ppc/host-signal.h
/openbmc/qemu/linux-user/host/ppc64/hostdep.h
/openbmc/qemu/linux-user/host/riscv/host-signal.h
/openbmc/qemu/linux-user/host/riscv/hostdep.h
/openbmc/qemu/linux-user/host/s390/host-signal.h
/openbmc/qemu/linux-user/host/s390x/hostdep.h
/openbmc/qemu/linux-user/host/sparc/host-signal.h
/openbmc/qemu/linux-user/host/x86_64/host-signal.h
/openbmc/qemu/linux-user/host/x86_64/hostdep.h
/openbmc/qemu/linux-user/safe-syscall.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/python/qemu/aqmp/qmp_client.py
/openbmc/qemu/python/qemu/machine/machine.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/206
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/210.out
33a0c40422-Nov-2021 Eric Auger <eric.auger@redhat.com>

hw/intc/arm_gicv3_its: Revert version increments in vmstate_its

Commit 18f6290a6a ("hw/intc: GICv3 ITS initial framework")
incremented version_id and minimum_version_id fields of
VMStateDescription

hw/intc/arm_gicv3_its: Revert version increments in vmstate_its

Commit 18f6290a6a ("hw/intc: GICv3 ITS initial framework")
incremented version_id and minimum_version_id fields of
VMStateDescription vmstate_its. This breaks the migration between
6.2 and 6.1 with the following message:

qemu-system-aarch64: savevm: unsupported version 1 for 'arm_gicv3_its' v0
qemu-system-aarch64: load of migration failed: Invalid argument

Revert that change.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20211122171020.1195483-1-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-18.04-s390x.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml
/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/block.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/chardev/wctablet.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/ci-jobs.rst.inc
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/modules.rst
/openbmc/qemu/docs/devel/multi-thread-tcg.rst
/openbmc/qemu/docs/devel/style.rst
/openbmc/qemu/docs/devel/submitting-a-patch.rst
/openbmc/qemu/docs/devel/submitting-a-pull-request.rst
/openbmc/qemu/docs/devel/trivial-patches.rst
/openbmc/qemu/docs/devel/ui.rst
/openbmc/qemu/docs/interop/nbd.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/system/device-url-syntax.rst.inc
/openbmc/qemu/docs/system/devices/nvme.rst
/openbmc/qemu/docs/system/i386/sgx.rst
/openbmc/qemu/docs/u2f.txt
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/microvm-dt.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_q35.c
arm_gicv3_its_common.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/sifive_u_otp.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/ns.c
/openbmc/qemu/hw/nvme/subsys.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/pcie_port.c
/openbmc/qemu/hw/rtc/meson.build
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/qemu/transactions.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/python/qemu/aqmp/protocol.py
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/ci/org.centos/stream/8/build-environment.yml
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/test-avocado
/openbmc/qemu/scripts/ci/org.centos/stream/README
/openbmc/qemu/scripts/ci/setup/build-environment.yml
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/arm/psci.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.ivrs
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.multi-bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.nohpet
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm12
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm2
/openbmc/qemu/tests/data/acpi/q35/DSDT.xapic
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/centos8.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/142.out
/openbmc/qemu/tests/qtest/am53c974-test.c
/openbmc/qemu/tests/tcg/ppc64le/Makefile.target
/openbmc/qemu/tests/unit/test-smp-parse.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/vnc-clipboard.c
/openbmc/qemu/util/transactions.c
e5cba10e30-Sep-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: Support multiple redistributor regions

Our GICv3 QOM interface includes an array property
redist-region-count which allows board models to specify that the
registributor registers

hw/intc/arm_gicv3: Support multiple redistributor regions

Our GICv3 QOM interface includes an array property
redist-region-count which allows board models to specify that the
registributor registers are not in a single contiguous range, but
split into multiple pieces. We implemented this for KVM, but
currently the TCG GICv3 model insists that there is only one region.
You can see the limit being hit with a setup like:
qemu-system-aarch64 -machine virt,gic-version=3 -smp 124

Add support for split regions to the TCG GICv3. To do this we switch
from allocating a simple array of MemoryRegions to an array of
GICv3RedistRegion structs so that we can use the GICv3RedistRegion as
the opaque pointer in the MemoryRegion read/write callbacks. Each
GICv3RedistRegion contains the MemoryRegion, a backpointer allowing
the read/write callback to get hold of the GICv3State, and an index
which allows us to calculate which CPU's redistributor is being
accessed.

Note that arm_gicv3_kvm always passes in NULL as the ops argument
to gicv3_init_irqs_and_mmio(), so the only MemoryRegion read/write
callbacks we need to update to handle this new scheme are the
gicv3_redist_read/write functions used by the emulated GICv3.

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

show more ...

0461641530-Sep-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: Set GICR_TYPER.Last correctly when nb_redist_regions > 1

The 'Last' bit in the GICR_TYPER GICv3 redistributor register is
supposed to be set to 1 if this is the last redistributor

hw/intc/arm_gicv3: Set GICR_TYPER.Last correctly when nb_redist_regions > 1

The 'Last' bit in the GICR_TYPER GICv3 redistributor register is
supposed to be set to 1 if this is the last redistributor in a series
of contiguous redistributor pages. Currently we set Last only for
the redistributor for CPU (num_cpu - 1). This only works if there is
a single redistributor region; if there are multiple redistributor
regions then we need to set the Last bit for the last redistributor
in each region.

This doesn't cause any problems currently because only the KVM GICv3
supports multiple redistributor regions, and it ignores the value in
GICv3State::gicr_typer. But we need to fix this before we can enable
support for multiple regions in the emulated GICv3.

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

show more ...

01b5ab8c30-Sep-2021 Peter Maydell <peter.maydell@linaro.org>

hw/intc/arm_gicv3: Move checking of redist-region-count to arm_gicv3_common_realize

The GICv3 devices have an array property redist-region-count.
Currently we check this for errors (bad values) in
g

hw/intc/arm_gicv3: Move checking of redist-region-count to arm_gicv3_common_realize

The GICv3 devices have an array property redist-region-count.
Currently we check this for errors (bad values) in
gicv3_init_irqs_and_mmio(), just before we use it. Move this error
checking to the arm_gicv3_common_realize() function, where we
sanity-check all of the other base-class properties. (This will
always be before gicv3_init_irqs_and_mmio() is called, because
that function is called in the subclass realize methods, after
they have called the parent-class realize.)

The motivation for this refactor is:
* we would like to use the redist_region_count[] values in
arm_gicv3_common_realize() in a subsequent patch, so we need
to have already done the sanity-checking first
* this removes the only use of the Error** argument to
gicv3_init_irqs_and_mmio(), so we can remove some error-handling
boilerplate

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

show more ...

65b4c8c703-Nov-2021 Philippe Mathieu-Daudé <f4bug@amsat.org>

hw/m68k: Fix typo in SPDX tag

Fix 'Identifer' -> 'Identifier' typo.

Cc: Laurent Vivier <laurent@vivier.eu>
Fixes: 8c6df16ff60 ("hw/char: add goldfish-tty")
Fixes: 87855593903 ("hw/intc: add goldfis

hw/m68k: Fix typo in SPDX tag

Fix 'Identifer' -> 'Identifier' typo.

Cc: Laurent Vivier <laurent@vivier.eu>
Fixes: 8c6df16ff60 ("hw/char: add goldfish-tty")
Fixes: 87855593903 ("hw/intc: add goldfish-pic")
Fixes: 2fde99ee312 ("m68k: add an interrupt controller")
Fixes: 0791bc02b8f ("m68k: add a system controller")
Fixes: e1cecdca559 ("m68k: add Virtual M68k Machine")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211103105311.3399293-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/hmp.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/export/fuse.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/bsd-user/signal.c
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/configs/targets/aarch64-softmmu.mak
/openbmc/qemu/configs/targets/arm-linux-user.mak
/openbmc/qemu/configs/targets/arm-softmmu.mak
/openbmc/qemu/configs/targets/armeb-linux-user.mak
/openbmc/qemu/configs/targets/i386-softmmu.mak
/openbmc/qemu/configs/targets/x86_64-softmmu.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/cache.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/ci-definitions.rst.inc
/openbmc/qemu/docs/devel/fuzzing.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/tcg-plugins.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/devel/writing-monitor-commands.rst
/openbmc/qemu/docs/interop/live-block-operations.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/sphinx-static/custom.js
/openbmc/qemu/docs/sphinx/depfile.py
/openbmc/qemu/docs/system/arm/orangepi.rst
/openbmc/qemu/docs/system/guest-loader.rst
/openbmc/qemu/docs/system/i386/sgx.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/gdb-xml/arm-m-profile-mve.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/acpi/viot.c
/openbmc/qemu/hw/acpi/viot.h
/openbmc/qemu/hw/arm/npcm7xx.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/char/goldfish_tty.c
/openbmc/qemu/hw/core/gpio.c
/openbmc/qemu/hw/core/hotplug-stubs.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine-hmp-cmds.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/core/machine-smp.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/meson.build
/openbmc/qemu/hw/core/qdev-hotplug.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/virtio-gpu-udmabuf-stubs.c
/openbmc/qemu/hw/display/virtio-gpu-udmabuf.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/meson.build
/openbmc/qemu/hw/i386/microvm-dt.c
/openbmc/qemu/hw/i386/microvm-dt.h
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/multiboot.c
/openbmc/qemu/hw/i386/multiboot.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/i386/x86-iommu-stub.c
/openbmc/qemu/hw/i386/x86-iommu.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/input/lasips2.c
goldfish_pic.c
m68k_irqc.c
/openbmc/qemu/hw/m68k/virt.c
/openbmc/qemu/hw/misc/sga.c
/openbmc/qemu/hw/misc/virt_ctrl.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/pnv_pnor.c
/openbmc/qemu/hw/ppc/spapr_numa.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_pci_nvlink2.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/rdma_rm.h
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/meson.build
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-uhci.h
/openbmc/qemu/hw/usb/vt82c686-uhci-pci.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/watchdog/sbsa_gwdt.c
/openbmc/qemu/hw/watchdog/watchdog.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/watchdog/wdt_diag288.c
/openbmc/qemu/hw/watchdog/wdt_i6300esb.c
/openbmc/qemu/hw/watchdog/wdt_ib700.c
/openbmc/qemu/hw/watchdog/wdt_imx2.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/include/block/raw-aio.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/plugin-gen.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/exec/ramlist.h
/openbmc/qemu/include/hw/arm/npcm7xx.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/goldfish_tty.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/core/tcg-cpu-ops.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86-iommu.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/intc/goldfish_pic.h
/openbmc/qemu/include/hw/intc/m68k_irqc.h
/openbmc/qemu/include/hw/misc/virt_ctrl.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/rdma/rdma.h
/openbmc/qemu/include/hw/sd/npcm7xx_sdhci.h
/openbmc/qemu/include/hw/usb/msd.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/virtio/virtio-mem.h
/openbmc/qemu/include/libdecnumber/decNumber.h
/openbmc/qemu/include/libdecnumber/decNumberLocal.h
/openbmc/qemu/include/migration/blocker.h
/openbmc/qemu/include/monitor/hmp-target.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qapi/type-helpers.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/qemu/iova-tree.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/watchdog.h
/openbmc/qemu/include/tcg/tcg-ldst.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/libdecnumber/decContext.c
/openbmc/qemu/libdecnumber/decNumber.c
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/hexagon/cpu_loop.c
/openbmc/qemu/linux-user/host/aarch64/host-signal.h
/openbmc/qemu/linux-user/host/alpha/host-signal.h
/openbmc/qemu/linux-user/host/arm/host-signal.h
/openbmc/qemu/linux-user/host/i386/host-signal.h
/openbmc/qemu/linux-user/host/mips/host-signal.h
/openbmc/qemu/linux-user/host/ppc/host-signal.h
/openbmc/qemu/linux-user/host/ppc64/host-signal.h
/openbmc/qemu/linux-user/host/riscv/host-signal.h
/openbmc/qemu/linux-user/host/riscv/hostdep.h
/openbmc/qemu/linux-user/host/riscv/safe-syscall.inc.S
/openbmc/qemu/linux-user/host/s390/host-signal.h
/openbmc/qemu/linux-user/host/s390x/host-signal.h
/openbmc/qemu/linux-user/host/sparc/host-signal.h
/openbmc/qemu/linux-user/host/sparc64/host-signal.h
/openbmc/qemu/linux-user/host/x32/host-signal.h
/openbmc/qemu/linux-user/host/x86_64/host-signal.h
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/m68k/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/openrisc/cpu_loop.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/s390x/cpu_loop.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/linux-user/xtensa/cpu_loop.c
/openbmc/qemu/meson
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/migration/dirtyrate.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/hmp.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/colo.c
/openbmc/qemu/net/colo.h
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/net/meson.build
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/pc-bios/multiboot_dma.bin
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/pc-bios/optionrom/Makefile
/openbmc/qemu/pc-bios/optionrom/multiboot.S
/openbmc/qemu/pc-bios/optionrom/multiboot_dma.S
/openbmc/qemu/pc-bios/optionrom/optionrom.h
/openbmc/qemu/python/qemu/aqmp/__init__.py
/openbmc/qemu/python/qemu/aqmp/legacy.py
/openbmc/qemu/python/qemu/machine/README.rst
/openbmc/qemu/python/qemu/machine/machine.py
/openbmc/qemu/python/qemu/qmp/README.rst
/openbmc/qemu/python/qemu/utils/README.rst
/openbmc/qemu/python/tests/iotests-mypy.sh
/openbmc/qemu/python/tests/iotests-pylint.sh
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/common.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/meson.build
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/qapi-type-helpers.c
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/simplebench/bench_block_job.py
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/softmmu/trace-events
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/stubs/qmp-quit.c
/openbmc/qemu/stubs/usb-dev-stub.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/alpha/mem_helper.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu_tcg.c
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/mte_helper.c
/openbmc/qemu/target/arm/sve_helper.c
/openbmc/qemu/target/arm/tlb_helper.c
/openbmc/qemu/target/arm/translate-a32.h
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/cris/meson.build
/openbmc/qemu/target/hexagon/README
/openbmc/qemu/target/hexagon/attribs_def.h.inc
/openbmc/qemu/target/hexagon/cpu.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hexagon/decode.c
/openbmc/qemu/target/hexagon/gen_dectree_import.c
/openbmc/qemu/target/hexagon/gen_helper_funcs.py
/openbmc/qemu/target/hexagon/gen_helper_protos.py
/openbmc/qemu/target/hexagon/gen_semantics.c
/openbmc/qemu/target/hexagon/gen_tcg_funcs.py
/openbmc/qemu/target/hexagon/gen_tcg_hvx.h
/openbmc/qemu/target/hexagon/genptr.c
/openbmc/qemu/target/hexagon/helper.h
/openbmc/qemu/target/hexagon/hex_arch_types.h
/openbmc/qemu/target/hexagon/hex_common.py
/openbmc/qemu/target/hexagon/hex_regs.h
/openbmc/qemu/target/hexagon/imported/allext.idef
/openbmc/qemu/target/hexagon/imported/allext_macros.def
/openbmc/qemu/target/hexagon/imported/allextenc.def
/openbmc/qemu/target/hexagon/imported/allidefs.def
/openbmc/qemu/target/hexagon/imported/encode.def
/openbmc/qemu/target/hexagon/imported/macros.def
/openbmc/qemu/target/hexagon/imported/mmvec/encode_ext.def
/openbmc/qemu/target/hexagon/imported/mmvec/ext.idef
/openbmc/qemu/target/hexagon/imported/mmvec/macros.def
/openbmc/qemu/target/hexagon/insn.h
/openbmc/qemu/target/hexagon/internal.h
/openbmc/qemu/target/hexagon/macros.h
/openbmc/qemu/target/hexagon/meson.build
/openbmc/qemu/target/hexagon/mmvec/decode_ext_mmvec.c
/openbmc/qemu/target/hexagon/mmvec/decode_ext_mmvec.h
/openbmc/qemu/target/hexagon/mmvec/macros.h
/openbmc/qemu/target/hexagon/mmvec/mmvec.h
/openbmc/qemu/target/hexagon/mmvec/system_ext_mmvec.c
/openbmc/qemu/target/hexagon/mmvec/system_ext_mmvec.h
/openbmc/qemu/target/hexagon/op_helper.c
/openbmc/qemu/target/hexagon/translate.c
/openbmc/qemu/target/hexagon/translate.h
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/meson.build
/openbmc/qemu/target/i386/cpu-dump.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/sysemu/excp_helper.c
/openbmc/qemu/target/i386/tcg/tcg-cpu.c
/openbmc/qemu/target/i386/tcg/user/excp_helper.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/cpu-defs.c.inc
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/tcg/meson.build
/openbmc/qemu/target/mips/tcg/msa.decode
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/mips/tcg/msa_translate.c
/openbmc/qemu/target/mips/tcg/tcg-internal.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/meson.build
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/dfp_helper.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/insn32.decode
/openbmc/qemu/target/ppc/insn64.decode
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/dfp-impl.c.inc
/openbmc/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/openbmc/qemu/target/ppc/translate/fp-impl.c.inc
/openbmc/qemu/target/ppc/translate/fp-ops.c.inc
/openbmc/qemu/target/ppc/translate/vmx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vmx-ops.c.inc
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vsx-ops.c.inc
/openbmc/qemu/target/ppc/user_only_helper.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/s390x-internal.h
/openbmc/qemu/target/s390x/tcg/excp_helper.c
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/meson.build
/openbmc/qemu/target/sparc/mmu_helper.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/avocado/README.rst
/openbmc/qemu/tests/avocado/avocado_qemu/__init__.py
/openbmc/qemu/tests/avocado/boot_linux.py
/openbmc/qemu/tests/avocado/boot_linux_console.py
/openbmc/qemu/tests/avocado/boot_xen.py
/openbmc/qemu/tests/avocado/cpu_queries.py
/openbmc/qemu/tests/avocado/empty_cpu_model.py
/openbmc/qemu/tests/avocado/hotplug_cpu.py
/openbmc/qemu/tests/avocado/info_usernet.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/linux_initrd.py
/openbmc/qemu/tests/avocado/linux_ssh_mips_malta.py
/openbmc/qemu/tests/avocado/load_bflt.py
/openbmc/qemu/tests/avocado/machine_arm_canona1100.py
/openbmc/qemu/tests/avocado/machine_arm_integratorcp.py
/openbmc/qemu/tests/avocado/machine_arm_n8x0.py
/openbmc/qemu/tests/avocado/machine_avr6.py
/openbmc/qemu/tests/avocado/machine_m68k_nextcube.py
/openbmc/qemu/tests/avocado/machine_microblaze.py
/openbmc/qemu/tests/avocado/machine_mips_fuloong2e.py
/openbmc/qemu/tests/avocado/machine_mips_loongson3v.py
/openbmc/qemu/tests/avocado/machine_mips_malta.py
/openbmc/qemu/tests/avocado/machine_rx_gdbsim.py
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/avocado/machine_sparc64_sun4u.py
/openbmc/qemu/tests/avocado/machine_sparc_leon3.py
/openbmc/qemu/tests/avocado/migration.py
/openbmc/qemu/tests/avocado/multiprocess.py
/openbmc/qemu/tests/avocado/pc_cpu_hotplug_props.py
/openbmc/qemu/tests/avocado/ppc_405.py
/openbmc/qemu/tests/avocado/ppc_bamboo.py
/openbmc/qemu/tests/avocado/ppc_mpc8544ds.py
/openbmc/qemu/tests/avocado/ppc_prep_40p.py
/openbmc/qemu/tests/avocado/ppc_pseries.py
/openbmc/qemu/tests/avocado/ppc_virtex_ml507.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/replay_linux.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/smmu.py
/openbmc/qemu/tests/avocado/tcg_plugins.py
/openbmc/qemu/tests/avocado/tesseract_utils.py
/openbmc/qemu/tests/avocado/version.py
/openbmc/qemu/tests/avocado/virtio-gpu.py
/openbmc/qemu/tests/avocado/virtio_check_params.py
/openbmc/qemu/tests/avocado/virtio_version.py
/openbmc/qemu/tests/avocado/virtiofs_submounts.py
/openbmc/qemu/tests/avocado/virtiofs_submounts.py.data/cleanup.sh
/openbmc/qemu/tests/avocado/virtiofs_submounts.py.data/guest-cleanup.sh
/openbmc/qemu/tests/avocado/virtiofs_submounts.py.data/guest.sh
/openbmc/qemu/tests/avocado/virtiofs_submounts.py.data/host.sh
/openbmc/qemu/tests/avocado/vnc.py
/openbmc/qemu/tests/avocado/x86_cpu_model_versions.py
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh
/openbmc/qemu/tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
/openbmc/qemu/tests/docker/dockerfiles/debian-toolchain.docker
/openbmc/qemu/tests/plugin/insn.c
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/129
/openbmc/qemu/tests/qemu-iotests/218
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/297
/openbmc/qemu/tests/qemu-iotests/300
/openbmc/qemu/tests/qemu-iotests/310
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/linters.py
/openbmc/qemu/tests/qemu-iotests/mypy.ini
/openbmc/qemu/tests/qemu-iotests/pylintrc
/openbmc/qemu/tests/qemu-iotests/tests/image-fleecing
/openbmc/qemu/tests/qemu-iotests/tests/mirror-top-perms
/openbmc/qemu/tests/qtest/am53c974-test.c
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/tests/qtest/libqos/sdhci-cmd.c
/openbmc/qemu/tests/qtest/libqos/sdhci-cmd.h
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/tcg/hexagon/hvx_histogram.c
/openbmc/qemu/tests/tcg/hexagon/hvx_histogram_input.h
/openbmc/qemu/tests/tcg/hexagon/hvx_histogram_row.S
/openbmc/qemu/tests/tcg/hexagon/hvx_histogram_row.h
/openbmc/qemu/tests/tcg/hexagon/hvx_misc.c
/openbmc/qemu/tests/tcg/hexagon/scatter_gather.c
/openbmc/qemu/tests/tcg/hexagon/vector_add_int.c
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
/openbmc/qemu/tests/tcg/nios2/Makefile.target
/openbmc/qemu/tests/tcg/sh4/Makefile.target
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-smp-parse.c
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/util/iova-tree.c
3233178729-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Remove unneeded local variable initialisers

The sh_intc_locate function will either init these or not return so no
need to initialise them.

Signed-off-by: BALATON Zoltan <balaton@e

hw/intc/sh_intc: Remove unneeded local variable initialisers

The sh_intc_locate function will either init these or not return so no
need to initialise them.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <15e04aa665c68ab5df47bbf505346d413be2fc1c.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

36cf5ee829-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Simplify allocating sources array

Use g_new0 instead of g_malloc0 and avoid some unneeded temporary
variable assignments.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewe

hw/intc/sh_intc: Simplify allocating sources array

Use g_new0 instead of g_malloc0 and avoid some unneeded temporary
variable assignments.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <72efc4f2c4ff8b96848d03dca08e4541ee4076f6.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

418a221c29-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Avoid using continue in loops

Instead of if !expr continue else do something it is more straight
forward to say if expr then do something, especially if the action is
just a few lin

hw/intc/sh_intc: Avoid using continue in loops

Instead of if !expr continue else do something it is more straight
forward to say if expr then do something, especially if the action is
just a few lines. Remove such uses of continue to make the code easier
to follow.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <0efaa5e7a1a3ee11f82b3bb1942c287576c67f8b.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

85208f7a29-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Replace abort() with g_assert_not_reached()

All the places that call abort should not happen which is better
marked by g_assert_not_reached.

Signed-off-by: BALATON Zoltan <balaton@

hw/intc/sh_intc: Replace abort() with g_assert_not_reached()

All the places that call abort should not happen which is better
marked by g_assert_not_reached.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <039e6a784532f2af27f8adeafdb8e0391722f567.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

9b12fb1029-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Inline and drop sh_intc_source() function

This function is very simple and provides no advantage. Call sites
become simpler without it so just write it in line and drop the
separate

hw/intc/sh_intc: Inline and drop sh_intc_source() function

This function is very simple and provides no advantage. Call sites
become simpler without it so just write it in line and drop the
separate function.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <a98d1f7f94e91a42796b7d91e9153a7eaa3d1c44.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

12201fe329-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Use array index instead of pointer arithmetics

Address of element i is one word thus clearer than array + i.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard

hw/intc/sh_intc: Use array index instead of pointer arithmetics

Address of element i is one word thus clearer than array + i.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <f49c9b1dee1fcaf374b092d862a6821907d5fcdc.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

46ea1f8229-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Remove excessive parenthesis

Drop unneded parenthesis and split up one complex expression to write
it with less brackets so it's easier to follow.

Signed-off-by: BALATON Zoltan <ba

hw/intc/sh_intc: Remove excessive parenthesis

Drop unneded parenthesis and split up one complex expression to write
it with less brackets so it's easier to follow.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <a48e849e5b803a952ed15a2502cfece2bde68934.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

51cb902b29-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Move sh_intc_register() closer to its only user

The sh_intc_register() function is only used at one place. Move them
together so it's easier to see what's going on.

Signed-off-by:

hw/intc/sh_intc: Move sh_intc_register() closer to its only user

The sh_intc_register() function is only used at one place. Move them
together so it's easier to see what's going on.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <49f2742bc67cba7164385fafad204ab1e1bd3a0b.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

92d1d3ad29-Oct-2021 BALATON Zoltan <balaton@eik.bme.hu>

hw/intc/sh_intc: Drop another useless macro

The INT_REG_PARAMS macro was only used a few times within one function
on adjacent lines and is actually more complex than writing out the
parameters so s

hw/intc/sh_intc: Drop another useless macro

The INT_REG_PARAMS macro was only used a few times within one function
on adjacent lines and is actually more complex than writing out the
parameters so simplify it by expanding the macro at call sites and
dropping the #define.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <d3bdfdc5ab5ae1c51a6c6c38bde3829a99f85ce5.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

1...<<21222324252627282930>>...74