History log of /openbmc/qemu/hw/intc/ (Results 826 – 850 of 1840)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
dd8014e424-Aug-2020 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.2-20200818' into staging

ppc patch queue 2020-08-18

Here's my first pull request for qemu-5.2, which has quite a few
accumulated things.

Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.2-20200818' into staging

ppc patch queue 2020-08-18

Here's my first pull request for qemu-5.2, which has quite a few
accumulated things. Highlights are:

* Preliminary support for POWER10 (Power ISA 3.1) instruction emulation
* Add documentation on the (very confusing) pseries NUMA configuration
* Fix some bugs handling edge cases with XICS, XIVE and kernel_irqchip
* Fix icount for a number of POWER registers
* Many cleanups to error handling in XIVE code
* Validate size of -prom-env data

# gpg: Signature made Tue 18 Aug 2020 05:18:36 BST
# gpg: using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
# gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
# gpg: aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
# gpg: aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>" [full]
# gpg: aka "David Gibson (kernel.org) <dwg@kernel.org>" [unknown]
# Primary key fingerprint: 75F4 6586 AE61 A66C C44E 87DC 6C38 CACA 20D9 B392

* remotes/dgibson/tags/ppc-for-5.2-20200818: (40 commits)
spapr/xive: Use xive_source_esb_len()
nvram: Exit QEMU if NVRAM cannot contain all -prom-env data
spapr/xive: Simplify error handling of kvmppc_xive_cpu_synchronize_state()
ppc/xive: Simplify error handling in xive_tctx_realize()
spapr/xive: Simplify error handling in kvmppc_xive_connect()
ppc/xive: Fix error handling in vmstate_xive_tctx_*() callbacks
spapr/xive: Fix error handling in kvmppc_xive_post_load()
spapr/kvm: Fix error handling in kvmppc_xive_pre_save()
spapr/xive: Rework error handling of kvmppc_xive_set_source_config()
spapr/xive: Rework error handling in kvmppc_xive_get_queues()
spapr/xive: Rework error handling of kvmppc_xive_[gs]et_queue_config()
spapr/xive: Rework error handling of kvmppc_xive_cpu_[gs]et_state()
spapr/xive: Rework error handling of kvmppc_xive_mmap()
spapr/xive: Rework error handling of kvmppc_xive_source_reset()
spapr/xive: Rework error handling of kvmppc_xive_cpu_connect()
spapr: Simplify error handling in spapr_phb_realize()
spapr/xive: Convert KVM device fd checks to assert()
ppc/xive: Introduce dedicated kvm_irqchip_in_kernel() wrappers
ppc/xive: Rework setup of XiveSource::esb_mmio
target/ppc: Integrate icount to purr, vtb, and tbu40
...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/configure
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/docs/specs/ppc-spapr-numa.rst
/openbmc/qemu/docs/specs/ppc-spapr-xive.rst
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
spapr_xive.c
spapr_xive_kvm.c
xive.c
/openbmc/qemu/hw/lm32/milkymist-hw.h
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/nvram/chrp_nvram.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/milkymist-memcard.c
/openbmc/qemu/hw/sd/omap_mmc.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/hw/arm/pxa.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/nvram/chrp_nvram.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/sd/sd.h
/openbmc/qemu/include/hw/sd/sdcard_legacy.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/keymaps/.gitignore
/openbmc/qemu/pc-bios/keymaps/ar
/openbmc/qemu/pc-bios/keymaps/bepo
/openbmc/qemu/pc-bios/keymaps/cz
/openbmc/qemu/pc-bios/keymaps/da
/openbmc/qemu/pc-bios/keymaps/de
/openbmc/qemu/pc-bios/keymaps/de-ch
/openbmc/qemu/pc-bios/keymaps/en-gb
/openbmc/qemu/pc-bios/keymaps/en-us
/openbmc/qemu/pc-bios/keymaps/es
/openbmc/qemu/pc-bios/keymaps/et
/openbmc/qemu/pc-bios/keymaps/fi
/openbmc/qemu/pc-bios/keymaps/fo
/openbmc/qemu/pc-bios/keymaps/fr
/openbmc/qemu/pc-bios/keymaps/fr-be
/openbmc/qemu/pc-bios/keymaps/fr-ca
/openbmc/qemu/pc-bios/keymaps/fr-ch
/openbmc/qemu/pc-bios/keymaps/hr
/openbmc/qemu/pc-bios/keymaps/hu
/openbmc/qemu/pc-bios/keymaps/is
/openbmc/qemu/pc-bios/keymaps/it
/openbmc/qemu/pc-bios/keymaps/ja
/openbmc/qemu/pc-bios/keymaps/lt
/openbmc/qemu/pc-bios/keymaps/lv
/openbmc/qemu/pc-bios/keymaps/meson.build
/openbmc/qemu/pc-bios/keymaps/mk
/openbmc/qemu/pc-bios/keymaps/nl
/openbmc/qemu/pc-bios/keymaps/no
/openbmc/qemu/pc-bios/keymaps/pl
/openbmc/qemu/pc-bios/keymaps/pt
/openbmc/qemu/pc-bios/keymaps/pt-br
/openbmc/qemu/pc-bios/keymaps/ru
/openbmc/qemu/pc-bios/keymaps/th
/openbmc/qemu/pc-bios/keymaps/tr
/openbmc/qemu/pc-bios/meson.build
/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/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/roms/seabios
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/spe-impl.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_init.c.inc
/openbmc/qemu/target/s390x/meson.build
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tests/qemu-iotests/300
/openbmc/qemu/tests/qemu-iotests/300.out
/openbmc/qemu/tests/qemu-iotests/303
/openbmc/qemu/tests/qemu-iotests/303.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/qcow2.py
/openbmc/qemu/tests/qemu-iotests/qcow2_format.py
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/meson.build
01c41d1525-Jul-2020 Alistair Francis <alistair.francis@wdc.com>

hw/intc: ibex_plic: Honour source priorities

This patch follows what commit aa4d30f6618dc "riscv: plic: Honour source
priorities" does and ensures that the highest priority interrupt will be
service

hw/intc: ibex_plic: Honour source priorities

This patch follows what commit aa4d30f6618dc "riscv: plic: Honour source
priorities" does and ensures that the highest priority interrupt will be
serviced first.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Cc: Jessica Clarke <jrtc27@jrtc27.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <a697ca8a31eff8eb18a88e09a28206063cf85d48.1595655188.git.alistair.francis@wdc.com>

show more ...

2249140625-Jul-2020 Alistair Francis <alistair.francis@wdc.com>

hw/intc: ibex_plic: Don't allow repeat interrupts on claimed lines

Once an interrupt has been claimed, but before it has been compelted we
shouldn't receive any more pending interrupts. This patche

hw/intc: ibex_plic: Don't allow repeat interrupts on claimed lines

Once an interrupt has been claimed, but before it has been compelted we
shouldn't receive any more pending interrupts. This patche keeps track
of this to ensure that we don't see any more interrupts until it is
completed.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <394c3f070615ff2b4fab61a1cf9cb48c122913b7.1595655188.git.alistair.francis@wdc.com>

show more ...

c43388bb25-Jul-2020 Alistair Francis <alistair.francis@wdc.com>

hw/intc: ibex_plic: Update the pending irqs

After a claim or a priority change we need to update the pending
interrupts. This is based on the same patch for the SiFive PLIC:
55765822804f5a58594e "ri

hw/intc: ibex_plic: Update the pending irqs

After a claim or a priority change we need to update the pending
interrupts. This is based on the same patch for the SiFive PLIC:
55765822804f5a58594e "riscv: plic: Add a couple of mising
sifive_plic_update calls"

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Cc: Jessica Clarke <jrtc27@jrtc27.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <0693aa700a4c67c49b3f1c973a82b257fdb7198d.1595655188.git.alistair.francis@wdc.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.gitlab-ci.d/opensbi.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/accel/kvm/meson.build
/openbmc/qemu/accel/meson.build
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/accel/xen/meson.build
/openbmc/qemu/block.c
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/blkverify.txt
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/index.html.in
/openbmc/qemu/docs/interop/live-block-operations.rst
/openbmc/qemu/docs/interop/qemu-ga-ref.texi
/openbmc/qemu/docs/interop/qemu-qmp-ref.texi
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/sphinx/depfile.py
/openbmc/qemu/hw/9pfs/Kconfig
/openbmc/qemu/hw/9pfs/meson.build
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/adc/meson.build
/openbmc/qemu/hw/alpha/meson.build
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/audio/meson.build
/openbmc/qemu/hw/avr/meson.build
/openbmc/qemu/hw/block/dataplane/meson.build
/openbmc/qemu/hw/block/meson.build
/openbmc/qemu/hw/char/meson.build
/openbmc/qemu/hw/cpu/meson.build
/openbmc/qemu/hw/cris/meson.build
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/dma/meson.build
/openbmc/qemu/hw/gpio/meson.build
/openbmc/qemu/hw/hppa/meson.build
/openbmc/qemu/hw/hyperv/meson.build
/openbmc/qemu/hw/i2c/meson.build
/openbmc/qemu/hw/i386/kvm/meson.build
/openbmc/qemu/hw/i386/meson.build
/openbmc/qemu/hw/i386/xen/meson.build
/openbmc/qemu/hw/ide/meson.build
/openbmc/qemu/hw/input/meson.build
ibex_plic.c
/openbmc/qemu/hw/lm32/meson.build
/openbmc/qemu/hw/m68k/meson.build
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/microblaze/meson.build
/openbmc/qemu/hw/mips/meson.build
/openbmc/qemu/hw/moxie/meson.build
/openbmc/qemu/hw/nios2/meson.build
/openbmc/qemu/hw/openrisc/meson.build
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/riscv/meson.build
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rx/meson.build
/openbmc/qemu/hw/s390x/meson.build
/openbmc/qemu/hw/sh4/meson.build
/openbmc/qemu/hw/sparc/meson.build
/openbmc/qemu/hw/sparc64/meson.build
/openbmc/qemu/hw/tricore/meson.build
/openbmc/qemu/hw/unicore32/meson.build
/openbmc/qemu/hw/xenpv/meson.build
/openbmc/qemu/hw/xtensa/meson.build
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/libdecnumber/meson.build
/openbmc/qemu/linux-user/alpha/meson.build
/openbmc/qemu/linux-user/arm/meson.build
/openbmc/qemu/linux-user/arm/nwfpe/meson.build
/openbmc/qemu/linux-user/hppa/meson.build
/openbmc/qemu/linux-user/i386/meson.build
/openbmc/qemu/linux-user/i386/syscall_nr.h
/openbmc/qemu/linux-user/m68k/meson.build
/openbmc/qemu/linux-user/meson.build
/openbmc/qemu/linux-user/microblaze/meson.build
/openbmc/qemu/linux-user/mips/meson.build
/openbmc/qemu/linux-user/mips/syscall_nr.h
/openbmc/qemu/linux-user/mips64/meson.build
/openbmc/qemu/linux-user/mips64/syscall_nr.h
/openbmc/qemu/linux-user/ppc/meson.build
/openbmc/qemu/linux-user/s390x/meson.build
/openbmc/qemu/linux-user/sh4/meson.build
/openbmc/qemu/linux-user/sparc/meson.build
/openbmc/qemu/linux-user/sparc64/meson.build
/openbmc/qemu/linux-user/x86_64/meson.build
/openbmc/qemu/linux-user/x86_64/syscall_nr.h
/openbmc/qemu/linux-user/xtensa/meson.build
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/os-posix.c
/openbmc/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/openbmc/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.elf
/openbmc/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.elf
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/po/LINGUAS
/openbmc/qemu/po/POTFILES
/openbmc/qemu/po/meson.build
/openbmc/qemu/qga/meson.build
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/opensbi
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/feature_to_c.sh
/openbmc/qemu/scripts/oss-fuzz/build.sh
/openbmc/qemu/softmmu/main.c
/openbmc/qemu/target/alpha/meson.build
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/avr/disas.c
/openbmc/qemu/target/avr/meson.build
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/cris/meson.build
/openbmc/qemu/target/hppa/meson.build
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/hvf/meson.build
/openbmc/qemu/target/i386/meson.build
/openbmc/qemu/target/lm32/meson.build
/openbmc/qemu/target/m68k/meson.build
/openbmc/qemu/target/meson.build
/openbmc/qemu/target/microblaze/meson.build
/openbmc/qemu/target/mips/meson.build
/openbmc/qemu/target/moxie/meson.build
/openbmc/qemu/target/nios2/meson.build
/openbmc/qemu/target/openrisc/disas.c
/openbmc/qemu/target/openrisc/meson.build
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/meson.build
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvd.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvf.c.inc
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/riscv/meson.build
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/pmp.h
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/rx/disas.c
/openbmc/qemu/target/rx/meson.build
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/meson.build
/openbmc/qemu/target/sh4/meson.build
/openbmc/qemu/target/sparc/meson.build
/openbmc/qemu/target/tilegx/meson.build
/openbmc/qemu/target/tricore/meson.build
/openbmc/qemu/target/unicore32/meson.build
/openbmc/qemu/target/xtensa/meson.build
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/multiboot/run_test.sh
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/meson.build
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/meson.build
/openbmc/qemu/tests/qtest/fuzz/qtest_wrappers.c
/openbmc/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_scsi_fuzz.c
/openbmc/qemu/tests/qtest/libqos/qgraph.h
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/rtas-test.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/trace/meson.build
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/module.c
/openbmc/qemu/version.texi.in
bff065ad16-Aug-2019 Marc-André Lureau <marcandre.lureau@redhat.com>

meson: convert hw/intc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


/openbmc/qemu/.editorconfig
/openbmc/qemu/.gitignore
/openbmc/qemu/.gitmodules
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/tcg/atomic_common.c.inc
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/audio/meson.build
/openbmc/qemu/authz/meson.build
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/tpm/meson.build
/openbmc/qemu/block.c
/openbmc/qemu/block/meson.build
/openbmc/qemu/block/monitor/meson.build
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/meson.build
/openbmc/qemu/contrib/gitdm/filetypes.txt
/openbmc/qemu/contrib/ivshmem-client/meson.build
/openbmc/qemu/contrib/ivshmem-server/meson.build
/openbmc/qemu/contrib/libvhost-user/meson.build
/openbmc/qemu/contrib/rdmacm-mux/meson.build
/openbmc/qemu/contrib/vhost-user-blk/meson.build
/openbmc/qemu/contrib/vhost-user-gpu/meson.build
/openbmc/qemu/contrib/vhost-user-input/meson.build
/openbmc/qemu/contrib/vhost-user-scsi/meson.build
/openbmc/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/openbmc/qemu/crypto/meson.build
/openbmc/qemu/disas/libvixl/meson.build
/openbmc/qemu/disas/meson.build
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/dump/meson.build
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-specialize.c.inc
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fsdev/meson.build
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/core/meson.build
/openbmc/qemu/hw/i386/fw_cfg.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/x86.c
meson.build
/openbmc/qemu/hw/ipack/meson.build
/openbmc/qemu/hw/ipmi/meson.build
/openbmc/qemu/hw/isa/meson.build
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/misc/macio/meson.build
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/net/can/meson.build
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/nubus/meson.build
/openbmc/qemu/hw/nvram/meson.build
/openbmc/qemu/hw/pci-bridge/meson.build
/openbmc/qemu/hw/pci-host/meson.build
/openbmc/qemu/hw/pci/meson.build
/openbmc/qemu/hw/pcmcia/meson.build
/openbmc/qemu/hw/rdma/meson.build
/openbmc/qemu/hw/rtc/meson.build
/openbmc/qemu/hw/scsi/meson.build
/openbmc/qemu/hw/sd/meson.build
/openbmc/qemu/hw/semihosting/meson.build
/openbmc/qemu/hw/smbios/meson.build
/openbmc/qemu/hw/ssi/meson.build
/openbmc/qemu/hw/timer/meson.build
/openbmc/qemu/hw/tpm/meson.build
/openbmc/qemu/hw/usb/meson.build
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/watchdog/meson.build
/openbmc/qemu/hw/xen/meson.build
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/memory_ldst.h.inc
/openbmc/qemu/include/exec/memory_ldst_cached.h.inc
/openbmc/qemu/include/exec/memory_ldst_phys.h.inc
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/io/meson.build
/openbmc/qemu/memory_ldst.c.inc
/openbmc/qemu/meson
/openbmc/qemu/meson.build
/openbmc/qemu/migration/meson.build
/openbmc/qemu/monitor/meson.build
/openbmc/qemu/nbd/meson.build
/openbmc/qemu/net/can/meson.build
/openbmc/qemu/net/meson.build
/openbmc/qemu/pc-bios/descriptors/meson.build
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/qapi/meson.build
/openbmc/qemu/qga/installer/qemu-ga.wxs
/openbmc/qemu/qga/meson.build
/openbmc/qemu/qga/vss-win32/meson.build
/openbmc/qemu/qobject/meson.build
/openbmc/qemu/qom/meson.build
/openbmc/qemu/replay/meson.build
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/archive-source.sh
/openbmc/qemu/scripts/check_sparse.py
/openbmc/qemu/scripts/clean-includes
/openbmc/qemu/scripts/create_config
/openbmc/qemu/scripts/grepy.sh
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/scripts/mtest2make.py
/openbmc/qemu/scripts/ninjatool.py
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qemu-version.sh
/openbmc/qemu/scripts/tracetool.py
/openbmc/qemu/scripts/tracetool/backend/dtrace.py
/openbmc/qemu/scripts/tracetool/backend/ust.py
/openbmc/qemu/scripts/undefsym.sh
/openbmc/qemu/scsi/meson.build
/openbmc/qemu/softmmu/Makefile.objs
/openbmc/qemu/softmmu/meson.build
/openbmc/qemu/softmmu/qtest.c
/openbmc/qemu/storage-daemon/meson.build
/openbmc/qemu/storage-daemon/qapi/meson.build
/openbmc/qemu/storage-daemon/qemu-storage-daemon.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/target/arm/Makefile.objs
/openbmc/qemu/target/arm/translate-neon.c.inc
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate-vfp.c.inc
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/avr/Makefile.objs
/openbmc/qemu/target/avr/disas.c
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/cris/translate_v10.c.inc
/openbmc/qemu/target/hppa/Makefile.objs
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/meson.build
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/mips/translate_init.c.inc
/openbmc/qemu/target/openrisc/Makefile.objs
/openbmc/qemu/target/openrisc/disas.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/mfrom_table.c.inc
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/dfp-impl.c.inc
/openbmc/qemu/target/ppc/translate/dfp-ops.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/spe-impl.c.inc
/openbmc/qemu/target/ppc/translate/spe-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/translate_init.c.inc
/openbmc/qemu/target/riscv/Makefile.objs
/openbmc/qemu/target/riscv/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rva.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvd.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvf.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvh.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvm.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/rx/Makefile.objs
/openbmc/qemu/target/rx/disas.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_features.h
/openbmc/qemu/target/s390x/cpu_features_def.h
/openbmc/qemu/target/s390x/cpu_features_def.h.inc
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/meson.build
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/s390x/translate_vx.c.inc
/openbmc/qemu/target/xtensa/core-dc232b.c
/openbmc/qemu/target/xtensa/core-dc232b/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-dc232b/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-dc233c.c
/openbmc/qemu/target/xtensa/core-dc233c/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-dc233c/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-de212.c
/openbmc/qemu/target/xtensa/core-de212/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-de212/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-fsf.c
/openbmc/qemu/target/xtensa/core-fsf/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-sample_controller.c
/openbmc/qemu/target/xtensa/core-sample_controller/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-sample_controller/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-test_kc705_be.c
/openbmc/qemu/target/xtensa/core-test_kc705_be/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-test_kc705_be/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.c.inc
/openbmc/qemu/tcg/arm/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/s390/tcg-target.c.inc
/openbmc/qemu/tcg/sparc/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-ldst.c.inc
/openbmc/qemu/tcg/tcg-pool.c.inc
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci/README
/openbmc/qemu/tcg/tci/tcg-target.c.inc
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/docker/test-static
/openbmc/qemu/tests/fp/fp-test.c
/openbmc/qemu/tests/fp/meson.build
/openbmc/qemu/tests/fp/wrap.c.inc
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qtest/ac97-test.c
/openbmc/qemu/tests/qtest/acpi-utils.h
/openbmc/qemu/tests/qtest/ahci-test.c
/openbmc/qemu/tests/qtest/arm-cpu-features.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/boot-sector.c
/openbmc/qemu/tests/qtest/boot-sector.h
/openbmc/qemu/tests/qtest/boot-serial-test.c
/openbmc/qemu/tests/qtest/cdrom-test.c
/openbmc/qemu/tests/qtest/dbus-vmstate-test.c
/openbmc/qemu/tests/qtest/device-introspect-test.c
/openbmc/qemu/tests/qtest/device-plug-test.c
/openbmc/qemu/tests/qtest/drive_del-test.c
/openbmc/qemu/tests/qtest/ds1338-test.c
/openbmc/qemu/tests/qtest/e1000-test.c
/openbmc/qemu/tests/qtest/eepro100-test.c
/openbmc/qemu/tests/qtest/endianness-test.c
/openbmc/qemu/tests/qtest/es1370-test.c
/openbmc/qemu/tests/qtest/fuzz/fuzz.c
/openbmc/qemu/tests/qtest/fuzz/fuzz.h
/openbmc/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/openbmc/qemu/tests/qtest/fw_cfg-test.c
/openbmc/qemu/tests/qtest/hd-geo-test.c
/openbmc/qemu/tests/qtest/hexloader-test.c
/openbmc/qemu/tests/qtest/ide-test.c
/openbmc/qemu/tests/qtest/ipoctal232-test.c
/openbmc/qemu/tests/qtest/ivshmem-test.c
/openbmc/qemu/tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c
/openbmc/qemu/tests/qtest/libqos/ahci.c
/openbmc/qemu/tests/qtest/libqos/ahci.h
/openbmc/qemu/tests/qtest/libqos/arm-imx25-pdk-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-n800-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-raspi2-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-sabrelite-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-smdkc210-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-virt-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c
/openbmc/qemu/tests/qtest/libqos/e1000e.c
/openbmc/qemu/tests/qtest/libqos/e1000e.h
/openbmc/qemu/tests/qtest/libqos/fw_cfg.c
/openbmc/qemu/tests/qtest/libqos/i2c-imx.c
/openbmc/qemu/tests/qtest/libqos/i2c-omap.c
/openbmc/qemu/tests/qtest/libqos/i2c.c
/openbmc/qemu/tests/qtest/libqos/i2c.h
/openbmc/qemu/tests/qtest/libqos/libqos-pc.c
/openbmc/qemu/tests/qtest/libqos/libqos-pc.h
/openbmc/qemu/tests/qtest/libqos/libqos-spapr.c
/openbmc/qemu/tests/qtest/libqos/libqos-spapr.h
/openbmc/qemu/tests/qtest/libqos/libqos.c
/openbmc/qemu/tests/qtest/libqos/libqos.h
/openbmc/qemu/tests/qtest/libqos/libqtest.h
/openbmc/qemu/tests/qtest/libqos/malloc-pc.c
/openbmc/qemu/tests/qtest/libqos/malloc-pc.h
/openbmc/qemu/tests/qtest/libqos/malloc-spapr.c
/openbmc/qemu/tests/qtest/libqos/malloc-spapr.h
/openbmc/qemu/tests/qtest/libqos/malloc.c
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/tests/qtest/libqos/pci-pc.c
/openbmc/qemu/tests/qtest/libqos/pci-pc.h
/openbmc/qemu/tests/qtest/libqos/pci-spapr.c
/openbmc/qemu/tests/qtest/libqos/pci-spapr.h
/openbmc/qemu/tests/qtest/libqos/pci.c
/openbmc/qemu/tests/qtest/libqos/pci.h
/openbmc/qemu/tests/qtest/libqos/ppc64_pseries-machine.c
/openbmc/qemu/tests/qtest/libqos/qgraph.c
/openbmc/qemu/tests/qtest/libqos/qgraph.h
/openbmc/qemu/tests/qtest/libqos/qgraph_internal.h
/openbmc/qemu/tests/qtest/libqos/qos_external.c
/openbmc/qemu/tests/qtest/libqos/qos_external.h
/openbmc/qemu/tests/qtest/libqos/rtas.c
/openbmc/qemu/tests/qtest/libqos/rtas.h
/openbmc/qemu/tests/qtest/libqos/sdhci.c
/openbmc/qemu/tests/qtest/libqos/sdhci.h
/openbmc/qemu/tests/qtest/libqos/tpci200.c
/openbmc/qemu/tests/qtest/libqos/usb.c
/openbmc/qemu/tests/qtest/libqos/usb.h
/openbmc/qemu/tests/qtest/libqos/virtio-9p.c
/openbmc/qemu/tests/qtest/libqos/virtio-9p.h
/openbmc/qemu/tests/qtest/libqos/virtio-balloon.c
/openbmc/qemu/tests/qtest/libqos/virtio-balloon.h
/openbmc/qemu/tests/qtest/libqos/virtio-blk.c
/openbmc/qemu/tests/qtest/libqos/virtio-blk.h
/openbmc/qemu/tests/qtest/libqos/virtio-mmio.c
/openbmc/qemu/tests/qtest/libqos/virtio-mmio.h
/openbmc/qemu/tests/qtest/libqos/virtio-net.c
/openbmc/qemu/tests/qtest/libqos/virtio-net.h
/openbmc/qemu/tests/qtest/libqos/virtio-pci.c
/openbmc/qemu/tests/qtest/libqos/virtio-pci.h
/openbmc/qemu/tests/qtest/libqos/virtio-rng.c
/openbmc/qemu/tests/qtest/libqos/virtio-rng.h
/openbmc/qemu/tests/qtest/libqos/virtio-scsi.c
/openbmc/qemu/tests/qtest/libqos/virtio-scsi.h
/openbmc/qemu/tests/qtest/libqos/virtio-serial.c
/openbmc/qemu/tests/qtest/libqos/virtio-serial.h
/openbmc/qemu/tests/qtest/libqos/virtio.c
/openbmc/qemu/tests/qtest/libqos/virtio.h
/openbmc/qemu/tests/qtest/libqos/x86_64_pc-machine.c
/openbmc/qemu/tests/qtest/libqtest-single.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/m48t59-test.c
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/megasas-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/microbit-test.c
/openbmc/qemu/tests/qtest/migration-helpers.h
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/modules-test.c
/openbmc/qemu/tests/qtest/ne2000-test.c
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/nvme-test.c
/openbmc/qemu/tests/qtest/pca9552-test.c
/openbmc/qemu/tests/qtest/pci-test.c
/openbmc/qemu/tests/qtest/pcnet-test.c
/openbmc/qemu/tests/qtest/pflash-cfi02-test.c
/openbmc/qemu/tests/qtest/pnv-xscom-test.c
/openbmc/qemu/tests/qtest/prom-env-test.c
/openbmc/qemu/tests/qtest/pvpanic-test.c
/openbmc/qemu/tests/qtest/pxe-test.c
/openbmc/qemu/tests/qtest/q35-test.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/qtest/qmp-test.c
/openbmc/qemu/tests/qtest/qom-test.c
/openbmc/qemu/tests/qtest/rtas-test.c
/openbmc/qemu/tests/qtest/sdhci-test.c
/openbmc/qemu/tests/qtest/spapr-phb-test.c
/openbmc/qemu/tests/qtest/tco-test.c
/openbmc/qemu/tests/qtest/test-filter-mirror.c
/openbmc/qemu/tests/qtest/test-filter-redirector.c
/openbmc/qemu/tests/qtest/test-hmp.c
/openbmc/qemu/tests/qtest/tpm-crb-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-tis-device-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-tis-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-util.c
/openbmc/qemu/tests/qtest/tulip-test.c
/openbmc/qemu/tests/qtest/virtio-rng-test.c
/openbmc/qemu/tests/qtest/virtio-test.c
/openbmc/qemu/tests/qtest/vmgenid-test.c
/openbmc/qemu/tests/qtest/vmxnet3-test.c
/openbmc/qemu/tests/qtest/wdt_ib700-test.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qgraph.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tools/meson.build
/openbmc/qemu/tools/virtiofsd/meson.build
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/tools/virtiofsd/passthrough_seccomp.c
/openbmc/qemu/tools/virtiofsd/passthrough_seccomp.h
/openbmc/qemu/trace/meson.build
/openbmc/qemu/ui/input-keymap.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/ui/shader.c
/openbmc/qemu/ui/shader/meson.build
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc-enc-zrle.c.inc
/openbmc/qemu/util/meson.build
243af02204-Feb-2020 Paolo Bonzini <pbonzini@redhat.com>

trace: switch position of headers to what Meson requires

Meson doesn't enjoy the same flexibility we have with Make in choosing
the include path. In particular the tracing headers are using
$(build

trace: switch position of headers to what Meson requires

Meson doesn't enjoy the same flexibility we have with Make in choosing
the include path. In particular the tracing headers are using
$(build_root)/$(<D).

In order to keep the include directives unchanged,
the simplest solution is to generate headers with patterns like
"trace/trace-audio.h" and place forwarding headers in the source tree
such that for example "audio/trace.h" includes "trace/trace-audio.h".

This patch is too ugly to be applied to the Makefiles now. It's only
a way to separate the changes to the tracing header files from the
Meson rewrite of the tracing logic.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
/openbmc/qemu/accel/kvm/trace.h
/openbmc/qemu/accel/stubs/xen-stub.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/trace.h
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/accel/xen/xen-all.c
/openbmc/qemu/audio/trace.h
/openbmc/qemu/authz/trace.h
/openbmc/qemu/backends/tpm/trace.h
/openbmc/qemu/backends/trace.h
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/trace.h
/openbmc/qemu/chardev/trace.h
/openbmc/qemu/crypto/trace.h
/openbmc/qemu/dma-helpers.c
/openbmc/qemu/docs/devel/decodetree.rst
/openbmc/qemu/exec.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/9pfs/trace.h
/openbmc/qemu/hw/acpi/trace.h
/openbmc/qemu/hw/alpha/trace.h
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/trace.h
/openbmc/qemu/hw/audio/trace.h
/openbmc/qemu/hw/block/dataplane/trace.h
/openbmc/qemu/hw/block/trace.h
/openbmc/qemu/hw/char/trace.h
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/core/trace.h
/openbmc/qemu/hw/display/trace.h
/openbmc/qemu/hw/dma/trace.h
/openbmc/qemu/hw/gpio/trace.h
/openbmc/qemu/hw/hppa/trace.h
/openbmc/qemu/hw/hyperv/trace.h
/openbmc/qemu/hw/i2c/trace.h
/openbmc/qemu/hw/i386/trace.h
/openbmc/qemu/hw/i386/xen/trace.h
/openbmc/qemu/hw/ide/trace.h
/openbmc/qemu/hw/input/trace.h
trace.h
/openbmc/qemu/hw/isa/trace.h
/openbmc/qemu/hw/mem/trace.h
/openbmc/qemu/hw/mips/trace.h
/openbmc/qemu/hw/misc/macio/trace.h
/openbmc/qemu/hw/misc/trace.h
/openbmc/qemu/hw/net/net_tx_pkt.c
/openbmc/qemu/hw/net/trace.h
/openbmc/qemu/hw/nvram/trace.h
/openbmc/qemu/hw/pci-host/trace.h
/openbmc/qemu/hw/pci/trace.h
/openbmc/qemu/hw/ppc/trace.h
/openbmc/qemu/hw/rdma/trace.h
/openbmc/qemu/hw/rdma/vmw/trace.h
/openbmc/qemu/hw/riscv/trace.h
/openbmc/qemu/hw/rtc/trace.h
/openbmc/qemu/hw/s390x/trace.h
/openbmc/qemu/hw/scsi/trace.h
/openbmc/qemu/hw/sd/trace.h
/openbmc/qemu/hw/sparc/trace.h
/openbmc/qemu/hw/sparc64/trace.h
/openbmc/qemu/hw/ssi/trace.h
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/trace.h
/openbmc/qemu/hw/tpm/trace.h
/openbmc/qemu/hw/usb/trace.h
/openbmc/qemu/hw/vfio/trace.h
/openbmc/qemu/hw/virtio/trace.h
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/watchdog/trace.h
/openbmc/qemu/hw/xen/trace.h
/openbmc/qemu/include/sysemu/xen.h
/openbmc/qemu/include/user/syscall-trace.h
/openbmc/qemu/io/trace.h
/openbmc/qemu/job-qmp.c
/openbmc/qemu/job.c
/openbmc/qemu/linux-user/trace.h
/openbmc/qemu/migration/trace.h
/openbmc/qemu/monitor/trace.h
/openbmc/qemu/nbd/trace.h
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/trace.h
/openbmc/qemu/pc-bios/optionrom/Makefile
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/qapi/trace.h
/openbmc/qemu/qom/trace.h
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
/openbmc/qemu/scripts/oss-fuzz/build.sh
/openbmc/qemu/scripts/tracetool/format/c.py
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/scsi/trace.h
/openbmc/qemu/softmmu/balloon.c
/openbmc/qemu/softmmu/ioport.c
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/pauth_helper.c
/openbmc/qemu/target/arm/trace.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/hppa/trace.h
/openbmc/qemu/target/i386/trace.h
/openbmc/qemu/target/mips/trace.h
/openbmc/qemu/target/ppc/trace.h
/openbmc/qemu/target/riscv/trace.h
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/s390x/trace.h
/openbmc/qemu/target/sparc/trace.h
/openbmc/qemu/tests/acceptance/machine_rx_gdbsim.py
/openbmc/qemu/tests/acceptance/replay_kernel.py
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/qemu-iotests/304
/openbmc/qemu/tests/qemu-iotests/304.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/pauth-5.c
/openbmc/qemu/tests/test-util-sockets.c
/openbmc/qemu/trace/control-target.c
/openbmc/qemu/trace/control.c
/openbmc/qemu/ui/trace.h
/openbmc/qemu/util/trace.h
3110f0ee13-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Use xive_source_esb_len()

static inline size_t xive_source_esb_len(XiveSource *xsrc)
{
return (1ull << xsrc->esb_shift) * xsrc->nr_irqs;
}

Signed-off-by: Greg Kurz <groug@kaod.org>

spapr/xive: Use xive_source_esb_len()

static inline size_t xive_source_esb_len(XiveSource *xsrc)
{
return (1ull << xsrc->esb_shift) * xsrc->nr_irqs;
}

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159733969034.320580.6571451425779179477.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

1118b6b710-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Simplify error handling of kvmppc_xive_cpu_synchronize_state()

Now that kvmppc_xive_cpu_get_state() returns negative on error, use that
and get rid of the temporary Error object and erro

spapr/xive: Simplify error handling of kvmppc_xive_cpu_synchronize_state()

Now that kvmppc_xive_cpu_get_state() returns negative on error, use that
and get rid of the temporary Error object and error_propagate().

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707852916.1489912.8376334685349668124.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

61203f2b10-Aug-2020 Greg Kurz <groug@kaod.org>

ppc/xive: Simplify error handling in xive_tctx_realize()

Now that kvmppc_xive_cpu_connect() returns a negative errno on failure,
use that and get rid of the local_err boilerplate.

Signed-off-by: Gr

ppc/xive: Simplify error handling in xive_tctx_realize()

Now that kvmppc_xive_cpu_connect() returns a negative errno on failure,
use that and get rid of the local_err boilerplate.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707852234.1489912.16410314514265848075.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

6cdc0e2010-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Simplify error handling in kvmppc_xive_connect()

Now that all these functions return a negative errno on failure, check
that and get rid of the local_err boilerplate.

Signed-off-by: Gre

spapr/xive: Simplify error handling in kvmppc_xive_connect()

Now that all these functions return a negative errno on failure, check
that and get rid of the local_err boilerplate.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707851537.1489912.1030839306195472651.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

2a8100cb10-Aug-2020 Greg Kurz <groug@kaod.org>

ppc/xive: Fix error handling in vmstate_xive_tctx_*() callbacks

Now that kvmppc_xive_cpu_get_state() and kvmppc_xive_cpu_set_state()
return negative errnos on failures, use that instead local_err be

ppc/xive: Fix error handling in vmstate_xive_tctx_*() callbacks

Now that kvmppc_xive_cpu_get_state() and kvmppc_xive_cpu_set_state()
return negative errnos on failures, use that instead local_err because
it is the recommended practice. Also return that instead of -1 since
vmstate expects negative errnos.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707850840.1489912.14912810818646455474.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

a845a54c10-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Fix error handling in kvmppc_xive_post_load()

Now that all these functions return a negative errno on failure, check
that because it is preferred to local_err. And most of all, propagate

spapr/xive: Fix error handling in kvmppc_xive_post_load()

Now that all these functions return a negative errno on failure, check
that because it is preferred to local_err. And most of all, propagate it
because vmstate expects negative errnos.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707850148.1489912.18355118622296682631.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

42a92d9210-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/kvm: Fix error handling in kvmppc_xive_pre_save()

Now that kvmppc_xive_get_queues() returns a negative errno on failure, check
with that because it is preferred to local_err. And most of all,

spapr/kvm: Fix error handling in kvmppc_xive_pre_save()

Now that kvmppc_xive_get_queues() returns a negative errno on failure, check
with that because it is preferred to local_err. And most of all, propagate
it because vmstate expects negative errnos.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707849455.1489912.6034461176847728064.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

d55daadc10-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_set_source_config()

Since kvm_device_access() returns a negative errno on failure, convert
kvmppc_xive_set_source_config() to use it for error checki

spapr/xive: Rework error handling of kvmppc_xive_set_source_config()

Since kvm_device_access() returns a negative errno on failure, convert
kvmppc_xive_set_source_config() to use it for error checking. This allows
to get rid of the local_err boilerplate.

Propagate the return value so that callers may use it as well to check
failures.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707848764.1489912.17078842252160674523.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

d53482a710-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling in kvmppc_xive_get_queues()

Since kvmppc_xive_get_queue_config() has a return value, convert
kvmppc_xive_get_queues() to use it for error checking. This allows
to g

spapr/xive: Rework error handling in kvmppc_xive_get_queues()

Since kvmppc_xive_get_queue_config() has a return value, convert
kvmppc_xive_get_queues() to use it for error checking. This allows
to get rid of the local_err boiler plate.

Propagate the return value so that callers may use it as well to check
failures.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707848069.1489912.14879208798696134531.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

f9a548ed10-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_[gs]et_queue_config()

Since kvm_device_access() returns a negative errno on failure, convert
kvmppc_xive_get_queue_config() and kvmppc_xive_set_queue

spapr/xive: Rework error handling of kvmppc_xive_[gs]et_queue_config()

Since kvm_device_access() returns a negative errno on failure, convert
kvmppc_xive_get_queue_config() and kvmppc_xive_set_queue_config() to
use it for error checking. This allows to get rid of the local_err
boilerplate.

Propagate the return value so that callers may use it as well to check
failures.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707847357.1489912.2032291280645236480.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

5fa36b7f10-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_cpu_[gs]et_state()

kvm_set_one_reg() returns a negative errno on failure, use that instead
of errno. Also propagate it to callers so they can use it

spapr/xive: Rework error handling of kvmppc_xive_cpu_[gs]et_state()

kvm_set_one_reg() returns a negative errno on failure, use that instead
of errno. Also propagate it to callers so they can use it to check
for failures and hopefully get rid of their local_err boilerplate.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707846665.1489912.14267225652103441921.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

b14adb4a10-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_mmap()

Callers currently check failures of kvmppc_xive_mmap() through the
@errp argument, which isn't a recommanded practice. It is preferred
to use

spapr/xive: Rework error handling of kvmppc_xive_mmap()

Callers currently check failures of kvmppc_xive_mmap() through the
@errp argument, which isn't a recommanded practice. It is preferred
to use a return value when possible.

Since NULL isn't an invalid address in theory, it seems better to
return MAP_FAILED and to teach callers to handle it.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707845972.1489912.719896767746375765.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

46407a2510-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_source_reset()

Since kvmppc_xive_source_reset_one() has a return value, convert
kvmppc_xive_source_reset() to use it for error checking. This
allows

spapr/xive: Rework error handling of kvmppc_xive_source_reset()

Since kvmppc_xive_source_reset_one() has a return value, convert
kvmppc_xive_source_reset() to use it for error checking. This
allows to get rid of the local_err boiler plate.

Propagate the return value so that callers may use it as well to check
failures.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707845245.1489912.9151822670764690034.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

3885ca6610-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Rework error handling of kvmppc_xive_cpu_connect()

Use error_setg_errno() instead of error_setg(strerror()). While here,
use -ret instead of errno since kvm_vcpu_enable_cap() returns a n

spapr/xive: Rework error handling of kvmppc_xive_cpu_connect()

Use error_setg_errno() instead of error_setg(strerror()). While here,
use -ret instead of errno since kvm_vcpu_enable_cap() returns a negative
errno on failure.

Use ERRP_GUARD() to ensure that errp can be passed to error_append_hint(),
and get rid of the local_err boilerplate.

Propagate the return value so that callers may use it as well to check
failures.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707844549.1489912.4862921680328017645.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

a490711907-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Convert KVM device fd checks to assert()

All callers guard these functions with an xive_in_kernel() helper. Make
it clear that they are only to be called when the KVM XIVE device exists.

spapr/xive: Convert KVM device fd checks to assert()

All callers guard these functions with an xive_in_kernel() helper. Make
it clear that they are only to be called when the KVM XIVE device exists.

Note that the check on xive is dropped in kvmppc_xive_disconnect(). It
really cannot be NULL since it comes from set_active_intc() which only
passes pointers to allocated objects.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <159679994169.876294.11026653581505077112.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

e519cdd907-Aug-2020 Greg Kurz <groug@kaod.org>

ppc/xive: Introduce dedicated kvm_irqchip_in_kernel() wrappers

Calls to the KVM XIVE device are guarded by kvm_irqchip_in_kernel(). This
ensures that QEMU won't try to use the device if KVM is disab

ppc/xive: Introduce dedicated kvm_irqchip_in_kernel() wrappers

Calls to the KVM XIVE device are guarded by kvm_irqchip_in_kernel(). This
ensures that QEMU won't try to use the device if KVM is disabled or if
an in-kernel irqchip isn't required.

When using ic-mode=dual with the pseries machine, we have two possible
interrupt controllers: XIVE and XICS. The kvm_irqchip_in_kernel() helper
will return true as soon as any of the KVM device is created. It might
lure QEMU to think that the other one is also around, while it is not.
This is exactly what happens with ic-mode=dual at machine init when
claiming IRQ numbers, which must be done on all possible IRQ backends,
eg. RTAS event sources or the PHB0 LSI table : only the KVM XICS device
is active but we end up calling kvmppc_xive_source_reset_one() anyway,
which fails. This doesn't cause any trouble because of another bug :
kvmppc_xive_source_reset_one() lacks an error_setg() and callers don't
see the failure.

Most of the other kvmppc_xive_* functions have similar xive->fd
checks to filter out the case when KVM XIVE isn't active. It
might look safer to have idempotent functions but it doesn't
really help to understand what's going on when debugging.

Since we already have all the kvm_irqchip_in_kernel() in place,
also have the callers to check xive->fd as well before calling
KVM XIVE specific code. This is straight-forward for the spapr
specific XIVE code. Some more care is needed for the platform
agnostic XIVE code since it cannot access xive->fd directly.
Introduce new in_kernel() methods in some base XIVE classes
for this purpose and implement them only in spapr.

In all cases, we still need to call kvm_irqchip_in_kernel() so that
compilers can optimize the kvmppc_xive_* calls away when CONFIG_KVM
isn't defined, thus avoiding the need for stubs.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159679993438.876294.7285654331498605426.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

cf36e5b307-Aug-2020 Greg Kurz <groug@kaod.org>

ppc/xive: Rework setup of XiveSource::esb_mmio

Depending on whether XIVE is emultated or backed with a KVM XIVE device,
the ESB MMIOs of a XIVE source point to an I/O memory region or a mapped
memor

ppc/xive: Rework setup of XiveSource::esb_mmio

Depending on whether XIVE is emultated or backed with a KVM XIVE device,
the ESB MMIOs of a XIVE source point to an I/O memory region or a mapped
memory region.

This is currently handled by checking kvm_irqchip_in_kernel() returns
false in xive_source_realize(). This is a bit awkward as we usually
need to do extra things when we're using the in-kernel backend, not
less. But most important, we can do better: turn the existing "xive.esb"
memory region into a plain container, introduce an "xive.esb-emulated"
I/O subregion and rename the existing "xive.esb" subregion in the KVM
code to "xive.esb-kvm". Since "xive.esb-kvm" is added with overlap
and a higher priority, it prevails over "xive.esb-emulated" (ie.
a guest using KVM XIVE will interact with "xive.esb-kvm" instead of
the default "xive.esb-emulated" region.

While here, consolidate the computation of the MMIO region size in
a common helper.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159679992680.876294.7520540158586170894.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

e781139506-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Simplify kvmppc_xive_disconnect()

Since this function begins with:

/* The KVM XIVE device is not in use */
if (!xive || xive->fd == -1) {
return;
}

we obviously don

spapr/xive: Simplify kvmppc_xive_disconnect()

Since this function begins with:

/* The KVM XIVE device is not in use */
if (!xive || xive->fd == -1) {
return;
}

we obviously don't need to check xive->fd again.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159673297296.766512.14780055521619233656.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

82f086b506-Aug-2020 Greg Kurz <groug@kaod.org>

spapr/xive: Fix xive->fd if kvm_create_device() fails

If the creation of the KVM XIVE device fails for some reasons, the
negative errno ends up in xive->fd, but the rest of the code assumes
that xiv

spapr/xive: Fix xive->fd if kvm_create_device() fails

If the creation of the KVM XIVE device fails for some reasons, the
negative errno ends up in xive->fd, but the rest of the code assumes
that xive->fd either contains an open fd, ie. positive value, or -1.

This doesn't cause any misbehavior except kvmppc_xive_disconnect()
that will try to close(xive->fd) during rollback and likely be
rewarded with an EBADF.

Only set xive->fd with a open fd.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159673296585.766512.15404407281299745442.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

1...<<31323334353637383940>>...74