History log of /openbmc/qemu/hw/intc/ (Results 951 – 975 of 1839)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8ce60a7515-Oct-2019 Philippe Mathieu-Daudé <philmd@redhat.com>

hw/i386: Remove obsolete LoadStateHandler::load_state_old handlers

These devices implemented their load_state_old() handler 10 years
ago, previous to QEMU v0.12.
Since commit cc425b5ddf removed the

hw/i386: Remove obsolete LoadStateHandler::load_state_old handlers

These devices implemented their load_state_old() handler 10 years
ago, previous to QEMU v0.12.
Since commit cc425b5ddf removed the pc-0.10 and pc-0.11 machines,
we can drop this code.

Note: the mips_r4k machine started to use the i8254 device just
after QEMU v0.5.0, but the MIPS machine types are not versioned,
so there is no migration compatibility issue removing this handler.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/Makefile.objs
/openbmc/qemu/accel/tcg/atomic_common.inc.c
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/plugin-helpers.h
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/arch_init.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/domain-map
/openbmc/qemu/contrib/gitdm/group-map-individuals
/openbmc/qemu/cpus-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/cipher-gcrypt.c
/openbmc/qemu/crypto/cipher-nettle.c
/openbmc/qemu/default-configs/m68k-softmmu.mak
/openbmc/qemu/disas.c
/openbmc/qemu/docs/arm-cpu-features.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/plugins.rst
/openbmc/qemu/docs/virtio-net-failover.rst
/openbmc/qemu/exec-vary.c
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdb-xml/riscv-32bit-virtual.xml
/openbmc/qemu/gdb-xml/riscv-64bit-virtual.xml
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/block/Kconfig
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/swim.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/core/irq.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/ide/qdev.c
apic_common.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/m68k/Kconfig
/openbmc/qemu/hw/m68k/Makefile.objs
/openbmc/qemu/hw/m68k/bootinfo.h
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/tulip.h
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nubus/Kconfig
/openbmc/qemu/hw/nubus/Makefile.objs
/openbmc/qemu/hw/nubus/mac-nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bus.c
/openbmc/qemu/hw/nubus/nubus-device.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/disas/disas.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/cpu_ldst_template.h
/openbmc/qemu/include/exec/cpu_ldst_useronly_template.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/helper-gen.h
/openbmc/qemu/include/exec/helper-proto.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/exec/plugin-gen.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/block/swim.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/macfb.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/irq.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/misc/mac_via.h
/openbmc/qemu/include/hw/nubus/mac-nubus-bridge.h
/openbmc/qemu/include/hw/nubus/nubus.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/riscv/spike.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/scsi/esp.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/southbridge/piix.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/co-shared-resource.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qemu/plugin-memory.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/user/syscall-trace.h
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/plugins/.gitignore
/openbmc/qemu/plugins/Makefile.objs
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/plugins/plugin.h
/openbmc/qemu/plugins/qemu-plugins.symbols
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/qtest.py
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/parser.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/arm_ldst.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/monitor.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/cris/translate_v10.inc.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/arm-cpu-features.c
/openbmc/qemu/tests/benchmark-crypto-cipher.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/fw_cfg-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/libqos/pci.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqos/virtio-9p.c
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-mmio.h
/openbmc/qemu/tests/libqos/virtio-net.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.c
/openbmc/qemu/tests/libqos/virtio-pci-modern.h
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio-pci.h
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/plugin/Makefile
/openbmc/qemu/tests/plugin/bb.c
/openbmc/qemu/tests/plugin/empty.c
/openbmc/qemu/tests/plugin/hotblocks.c
/openbmc/qemu/tests/plugin/hotpages.c
/openbmc/qemu/tests/plugin/howvec.c
/openbmc/qemu/tests/plugin/insn.c
/openbmc/qemu/tests/plugin/mem.c
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-enum-member.out
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-event-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.err
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.json
/openbmc/qemu/tests/qapi-schema/doc-bad-feature.out
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.err
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.json
/openbmc/qemu/tests/qapi-schema/doc-undoc-feature.out
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/083
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/136
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/192
/openbmc/qemu/tests/qemu-iotests/192.out
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/201
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/208
/openbmc/qemu/tests/qemu-iotests/209
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/240
/openbmc/qemu/tests/qemu-iotests/241
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/261
/openbmc/qemu/tests/qemu-iotests/261.out
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/267.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.nbd
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/arm/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/cris/Makefile.target
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/trace-events
/openbmc/qemu/trace/mem-internal.h
/openbmc/qemu/trace/mem.h
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/log.c
/openbmc/qemu/util/qemu-co-shared-resource.c
/openbmc/qemu/vl.c
038adc2f12-Oct-2019 Wei Yang <richardw.yang@linux.intel.com>

core: replace getpagesize() with qemu_real_host_page_size

There are three page size in qemu:

real host page size
host page size
target page size

All of them have dedicate variable to represe

core: replace getpagesize() with qemu_real_host_page_size

There are three page size in qemu:

real host page size
host page size
target page size

All of them have dedicate variable to represent. For the last two, we
use the same form in the whole qemu project, while for the first one we
use two forms: qemu_real_host_page_size and getpagesize().

qemu_real_host_page_size is defined to be a replacement of
getpagesize(), so let it serve the role.

[Note] Not fully tested for some arch or device.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20191013021145.16011-3-richardw.yang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

673652a726-Oct-2019 Paolo Bonzini <pbonzini@redhat.com>

Merge commit 'df84f17' into HEAD

This merge fixes a semantic conflict with the trivial tree.

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


/openbmc/qemu/.gitmodules
/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/microvm.rst
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/musca.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/Makefile.objs
/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/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
apic.c
ioapic.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/mem/Makefile.objs
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/bcm2835_thermal.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.h
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/ds1338.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/rtc/m41t80.c
/openbmc/qemu/hw/rtc/m48t59-internal.h
/openbmc/qemu/hw/rtc/m48t59-isa.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/rtc/sun4v-rtc.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/rtc/xlnx-zynqmp-rtc.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/bcm2835_systmr.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/bcm2836.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/misc/bcm2835_thermal.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/rtc/aspeed_rtc.h
/openbmc/qemu/include/hw/rtc/m48t59.h
/openbmc/qemu/include/hw/rtc/mc146818rtc.h
/openbmc/qemu/include/hw/rtc/mc146818rtc_regs.h
/openbmc/qemu/include/hw/rtc/pl031.h
/openbmc/qemu/include/hw/rtc/sun4v-rtc.h
/openbmc/qemu/include/hw/rtc/xlnx-zynqmp-rtc.h
/openbmc/qemu/include/hw/timer/bcm2835_systmr.h
/openbmc/qemu/include/hw/virtio/virtio-mmio.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/po/bg.po
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/qboot
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/tests/acceptance/linux_ssh_mips_malta.py
/openbmc/qemu/tests/qemu-iotests/118
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qemu-coroutine-io.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/vl.c
080f273023-Oct-2019 Richard Henderson <richard.henderson@linaro.org>

target/arm: Rebuild hflags for M-profile NVIC

Continue setting, but not relying upon, env->hflags.

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

target/arm: Rebuild hflags for M-profile NVIC

Continue setting, but not relying upon, env->hflags.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191023150057.25731-22-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

97c00c5422-Oct-2019 Cédric Le Goater <clg@kaod.org>

spapr/xive: Set the OS CAM line at reset

When a Virtual Processor is scheduled to run on a HW thread, the
hypervisor pushes its identifier in the OS CAM line. When running with
kernel_irqchip=off, Q

spapr/xive: Set the OS CAM line at reset

When a Virtual Processor is scheduled to run on a HW thread, the
hypervisor pushes its identifier in the OS CAM line. When running with
kernel_irqchip=off, QEMU needs to emulate the same behavior.

Set the OS CAM line when the interrupt presenter of the sPAPR core is
reset. This will also cover the case of hot-plugged CPUs.

This change also has the benefit to remove the use of CPU_FOREACH()
which can be unsafe.

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

show more ...

d49e8a9b22-Oct-2019 Cédric Le Goater <clg@kaod.org>

ppc: Reset the interrupt presenter from the CPU reset handler

On the sPAPR machine and PowerNV machine, the interrupt presenters are
created by a machine handler at the core level and are reset
inde

ppc: Reset the interrupt presenter from the CPU reset handler

On the sPAPR machine and PowerNV machine, the interrupt presenters are
created by a machine handler at the core level and are reset
independently. This is not consistent and it raises issues when it
comes to handle hot-plugged CPUs. In that case, the presenters are not
reset. This is less of an issue in XICS, although a zero MFFR could
be a concern, but in XIVE, the OS CAM line is not set and this breaks
the presenting algorithm. The current code has workarounds which need
a global cleanup.

Extend the sPAPR IRQ backend and the PowerNV Chip class with a new
cpu_intc_reset() handler called by the CPU reset handler and remove
the XiveTCTX reset handler which is now redundant.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191022163812.330-6-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

605994e526-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move SpaprIrq::post_load hook to backends

The remaining logic in the post_load hook really belongs to the interrupt
controller backends, and just needs to be called on the active

spapr, xics, xive: Move SpaprIrq::post_load hook to backends

The remaining logic in the post_load hook really belongs to the interrupt
controller backends, and just needs to be called on the active controller
(after the active controller is set to the right thing based on the
incoming migration in the generic spapr_irq_post_load() logic).

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

show more ...

567192d426-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move SpaprIrq::reset hook logic into activate/deactivate

It turns out that all the logic in the SpaprIrq::reset hooks (and some in
the SpaprIrq::post_load hooks) isn't really rela

spapr, xics, xive: Move SpaprIrq::reset hook logic into activate/deactivate

It turns out that all the logic in the SpaprIrq::reset hooks (and some in
the SpaprIrq::post_load hooks) isn't really related to resetting the irq
backend (that's handled by the backends' own reset routines). Rather its
about getting the backend ready to be the active interrupt controller or
stopping being the active interrupt controller - reset (and post_load) is
just the only time that changes at present.

To make this flow clearer, move the logic into the explicit backend
activate and deactivate hooks.

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

show more ...

98a39a7926-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Match signatures for XICS and XIVE KVM connect routines

Both XICS and XIVE have routines to connect and disconnect KVM with
similar but not identical signatures. This adjusts the

spapr, xics, xive: Match signatures for XICS and XIVE KVM connect routines

Both XICS and XIVE have routines to connect and disconnect KVM with
similar but not identical signatures. This adjusts them to match
exactly, which will be useful for further cleanups later.

While we're there, we add an explicit return value to the connect path
to streamline error reporting in the callers. We remove error
reporting the disconnect path. In the XICS case this wasn't used at
all. In the XIVE case the only error case was if the KVM device was
set up, but KVM didn't have the capability to do so which is pretty
obviously impossible.

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

show more ...

0528927329-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move dt_populate from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can

spapr, xics, xive: Move dt_populate from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can dispatch directly
through that, rather than dispatching via SpaprIrq with the dual
version having to do a second conditional dispatch.

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

show more ...

328d8eb226-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move print_info from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can

spapr, xics, xive: Move print_info from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can dispatch directly
through that, rather than dispatching via SpaprIrq with the dual
version having to do a second conditional dispatch.

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

show more ...

7bcdbcca26-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move set_irq from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can dis

spapr, xics, xive: Move set_irq from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller. Now that we've
formalized the notion of active controller we can dispatch directly through
that, rather than dispatching via SpaprIrq with the dual version having
to do a second conditional dispatch.

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

show more ...

0b0e52b125-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move irq claim and free from SpaprIrq to SpaprInterruptController

These methods, like cpu_intc_create, really belong to the interrupt
controller, but need to be called on all poss

spapr, xics, xive: Move irq claim and free from SpaprIrq to SpaprInterruptController

These methods, like cpu_intc_create, really belong to the interrupt
controller, but need to be called on all possible intcs.

Like cpu_intc_create, therefore, make them methods on the intc and
always call it for all existing intcs.

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

show more ...

ebd6be0825-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Move cpu_intc_create from SpaprIrq to SpaprInterruptController

This method essentially represents code which belongs to the interrupt
controller, but needs to be called on all pos

spapr, xics, xive: Move cpu_intc_create from SpaprIrq to SpaprInterruptController

This method essentially represents code which belongs to the interrupt
controller, but needs to be called on all possible intcs, rather than
just the currently active one. The "dual" version therefore calls
into the xics and xive versions confusingly.

Handle this more directly, by making it instead a method on the intc
backend, and always calling it on every backend that exists.

While we're there, streamline the error reporting a bit.

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

show more ...

150e25f824-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Introduce SpaprInterruptController QOM interface

The SpaprIrq structure is used to represent ths spapr machine's irq
backend. Except that it kind of conflates two concepts: one i

spapr, xics, xive: Introduce SpaprInterruptController QOM interface

The SpaprIrq structure is used to represent ths spapr machine's irq
backend. Except that it kind of conflates two concepts: one is the
backend proper - a specific interrupt controller that we might or
might not be using, the other is the irq configuration which covers
the layout of irq space and which interrupt controllers are allowed.

This leads to some pretty confusing code paths for the "dual"
configuration where its hooks redirect to other SpaprIrq structures
depending on the currently active irq controller.

To clean this up, we start by introducing a new
SpaprInterruptController QOM interface to represent strictly an
interrupt controller backend, not counting anything configuration
related. We implement this interface in the XICs and XIVE interrupt
controllers, and in future we'll move relevant methods from SpaprIrq
into it.

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

show more ...

106695ab07-Oct-2019 Cédric Le Goater <clg@kaod.org>

ppc/pnv: Improve trigger data definition

The trigger data is used for both triggers of a HW source interrupts,
PHB, PSI, and triggers for rerouting interrupts between interrupt
controllers.

When an

ppc/pnv: Improve trigger data definition

The trigger data is used for both triggers of a HW source interrupts,
PHB, PSI, and triggers for rerouting interrupts between interrupt
controllers.

When an interrupt is rerouted, the trigger data follows an "END
trigger" format. In that case, the remote IC needs EAS containing an
END index to perform a lookup of an END.

An END trigger, bit0 of word0 set to '1', is defined as :

|0123|4567|0123|4567|0123|4567|0123|4567|
W0 E=1 |1P--|BLOC| END IDX |
W1 E=1 |M | END DATA |

An EAS is defined as :

|0123|4567|0123|4567|0123|4567|0123|4567|
W0 |V---|BLOC| END IDX |
W1 |M | END DATA |

The END trigger adds an extra 'PQ' bit, bit1 of word0 set to '1',
signaling that the PQ bits have been checked. That bit is unused in
the initial EAS definition.

When a HW device performs the trigger, the trigger data follows an
"EAS trigger" format because the trigger data in that case contains an
EAS index which the IC needs to look for.

An EAS trigger, bit0 of word0 set to '0', is defined as :

|0123|4567|0123|4567|0123|4567|0123|4567|
W0 E=0 |0P--|---- ---- ---- ---- ---- ---- ----|
W1 E=0 |BLOC| EAS INDEX |

There is also a 'PQ' bit, bit1 of word0 to '1', signaling that the
PQ bits have been checked.

Introduce these new trigger bits and rename the XIVE_SRCNO macros in
XIVE_EAS to reflect better the nature of the data.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191007084102.29776-2-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

e6144bf904-Oct-2019 Greg Kurz <groug@kaod.org>

xics: Make some device types not user creatable

Some device types of the XICS model are exposed to the QEMU command
line:

$ ppc64-softmmu/qemu-system-ppc64 -device help | grep ic[sp]
name "icp"
nam

xics: Make some device types not user creatable

Some device types of the XICS model are exposed to the QEMU command
line:

$ ppc64-softmmu/qemu-system-ppc64 -device help | grep ic[sp]
name "icp"
name "ics"
name "ics-spapr"
name "pnv-icp", desc "PowerNV ICP"

These are internal devices that shouldn't be instantiable by the
user. By the way, they can't be because their respective realize
functions expect link properties that can't be set from the command
line:

qemu-system-ppc64: -device icp: required link 'xics' not found:
Property '.xics' not found
qemu-system-ppc64: -device ics: required link 'xics' not found:
Property '.xics' not found
qemu-system-ppc64: -device ics-spapr: required link 'xics' not found:
Property '.xics' not found
qemu-system-ppc64: -device pnv-icp: required link 'xics' not found:
Property '.xics' not found

Hide them by setting dc->user_creatable to false in the base class
"icp" and "ics" init functions.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157017826724.337875.14822177178282524024.stgit@bahia.lan>
Message-Id: <157045578962.865784.8551555523533955113.stgit@bahia.lan>
[dwg: Folded reason comment into base patch]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

878b2b4804-Oct-2019 Greg Kurz <groug@kaod.org>

xive: Make some device types not user creatable

Some device types of the XIVE model are exposed to the QEMU command
line:

$ ppc64-softmmu/qemu-system-ppc64 -device help | grep xive
name "xive-end-s

xive: Make some device types not user creatable

Some device types of the XIVE model are exposed to the QEMU command
line:

$ ppc64-softmmu/qemu-system-ppc64 -device help | grep xive
name "xive-end-source", desc "XIVE END Source"
name "xive-source", desc "XIVE Interrupt Source"
name "xive-tctx", desc "XIVE Interrupt Thread Context"

These are internal devices that shouldn't be instantiable by the
user. By the way, they can't be because their respective realize
functions expect link properties that can't be set from the command
line:

qemu-system-ppc64: -device xive-source: required link 'xive' not found:
Property '.xive' not found
qemu-system-ppc64: -device xive-end-source: required link 'xive' not found:
Property '.xive' not found
qemu-system-ppc64: -device xive-tctx: required link 'cpu' not found:
Property '.cpu' not found

Hide them by setting dc->user_creatable to false in their respective
class init functions.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157017473006.331610.2983143972519884544.stgit@bahia.lan>
Message-Id: <157045578401.865784.6058183726552779559.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[dwg: Folded comment update into base patch]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/specs/acpi_hw_reduced_hotplug.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/strongarm.h
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/lm832x.c
xive.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/memory_hotplug.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/sd/sdhci.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/error.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/gen.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/parser.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/qapi/source.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec_int_helper.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.opc.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/cpu-plug-test.c
/openbmc/qemu/tests/data/acpi/virt/APIC.memhp
/openbmc/qemu/tests/data/acpi/virt/APIC.numamem
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/virt/FACP.memhp
/openbmc/qemu/tests/data/acpi/virt/FACP.numamem
/openbmc/qemu/tests/data/acpi/virt/GTDT.memhp
/openbmc/qemu/tests/data/acpi/virt/GTDT.numamem
/openbmc/qemu/tests/data/acpi/virt/MCFG.memhp
/openbmc/qemu/tests/data/acpi/virt/MCFG.numamem
/openbmc/qemu/tests/data/acpi/virt/SLIT.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.numamem
/openbmc/qemu/tests/data/acpi/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/virt/SRAT.numamem
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/migration/stress.c
/openbmc/qemu/tests/qapi-schema/allow-preconfig-test.err
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-bool-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-bool.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-enum-int.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-num-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-int.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-arg.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-return.err
/openbmc/qemu/tests/qapi-schema/doc-duplicated-since.err
/openbmc/qemu/tests/qapi-schema/doc-empty-arg.err
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-empty-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/doc-interleaved-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-end2.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-return.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-start.err
/openbmc/qemu/tests/qapi-schema/doc-missing-colon.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing-space.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/duplicate-key.err
/openbmc/qemu/tests/qapi-schema/enum-bad-member.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member-unknown.err
/openbmc/qemu/tests/qapi-schema/enum-if-invalid.err
/openbmc/qemu/tests/qapi-schema/enum-int-member.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/escape-outside-string.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/event-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/features-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-duplicate-name.err
/openbmc/qemu/tests/qapi-schema/features-if-invalid.err
/openbmc/qemu/tests/qapi-schema/features-missing-name.err
/openbmc/qemu/tests/qapi-schema/features-name-bad-type.err
/openbmc/qemu/tests/qapi-schema/features-no-list.err
/openbmc/qemu/tests/qapi-schema/features-unknown-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/funny-char.err
/openbmc/qemu/tests/qapi-schema/funny-word.err
/openbmc/qemu/tests/qapi-schema/ident-with-escape.err
/openbmc/qemu/tests/qapi-schema/include-before-err.err
/openbmc/qemu/tests/qapi-schema/include-cycle.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-nested-err.err
/openbmc/qemu/tests/qapi-schema/include-no-file.err
/openbmc/qemu/tests/qapi-schema/include-non-file.err
/openbmc/qemu/tests/qapi-schema/include-self-cycle.err
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/leading-comma-list.err
/openbmc/qemu/tests/qapi-schema/leading-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-colon.err
/openbmc/qemu/tests/qapi-schema/missing-comma-list.err
/openbmc/qemu/tests/qapi-schema/missing-comma-object.err
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/non-objects.err
/openbmc/qemu/tests/qapi-schema/oob-test.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-unknown.err
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/quoted-structural-chars.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/string-code-point-127.err
/openbmc/qemu/tests/qapi-schema/string-code-point-31.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-if-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/trailing-comma-object.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/unclosed-list.err
/openbmc/qemu/tests/qapi-schema/unclosed-object.err
/openbmc/qemu/tests/qapi-schema/unclosed-string.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/165.out
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/260.out
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/264.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
78cafff826-Sep-2019 Sergio Lopez <slp@redhat.com>

hw/intc/apic: reject pic ints if isa_pic == NULL

In apic_accept_pic_intr(), reject PIC interruptions if a i8259 PIC has
not been instantiated (isa_pic == NULL).

Suggested-by: Paolo Bonzini <pbonzin

hw/intc/apic: reject pic ints if isa_pic == NULL

In apic_accept_pic_intr(), reject PIC interruptions if a i8259 PIC has
not been instantiated (isa_pic == NULL).

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f0bb276b22-Oct-2019 Paolo Bonzini <pbonzini@redhat.com>

hw/i386: split PCMachineState deriving X86MachineState from it

Split up PCMachineState and PCMachineClass and derive X86MachineState
and X86MachineClass from them. This allows sharing code with non-

hw/i386: split PCMachineState deriving X86MachineState from it

Split up PCMachineState and PCMachineClass and derive X86MachineState
and X86MachineClass from them. This allows sharing code with non-PC
x86 machine types.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/specs/acpi_hw_reduced_hotplug.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/i386/Makefile.objs
/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/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/lm832x.c
ioapic.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mem/Makefile.objs
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/memory_hotplug.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/raspi_platform.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/virtio-mmio.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/po/bg.po
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.opc.h
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/cpu-plug-test.c
/openbmc/qemu/tests/data/acpi/virt/APIC.memhp
/openbmc/qemu/tests/data/acpi/virt/APIC.numamem
/openbmc/qemu/tests/data/acpi/virt/DSDT
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/virt/FACP.memhp
/openbmc/qemu/tests/data/acpi/virt/FACP.numamem
/openbmc/qemu/tests/data/acpi/virt/GTDT.memhp
/openbmc/qemu/tests/data/acpi/virt/GTDT.numamem
/openbmc/qemu/tests/data/acpi/virt/MCFG.memhp
/openbmc/qemu/tests/data/acpi/virt/MCFG.numamem
/openbmc/qemu/tests/data/acpi/virt/SLIT.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.memhp
/openbmc/qemu/tests/data/acpi/virt/SPCR.numamem
/openbmc/qemu/tests/data/acpi/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/virt/SRAT.numamem
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/165.out
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/260.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/systemd.c
e1ecf8c826-Sep-2019 Philippe Mathieu-Daudé <f4bug@amsat.org>

hw/arm/bcm2835_peripherals: Improve logging

Various logging improvements as once:
- Use 0x prefix for hex numbers
- Display value written during write accesses
- Move some logs from GUEST_ERROR to U

hw/arm/bcm2835_peripherals: Improve logging

Various logging improvements as once:
- Use 0x prefix for hex numbers
- Display value written during write accesses
- Move some logs from GUEST_ERROR to UNIMP

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20190926173428.10713-3-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
bcm2836_control.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/cmsdk-apb-dualtimer.c
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/digic-timer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/exynos4210_rtc.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/hw/misc/aspeed_sdmc.h
/openbmc/qemu/include/hw/net/ftgmac100.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/sd/aspeed_sdhci.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/hw/timer/mss-timer.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/target/arm/arm-semi.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/tests/ptimer-test.c
f653092603-Oct-2019 Eric Auger <eric.auger@redhat.com>

intc/arm_gic: Support IRQ injection for more than 256 vpus

Host kernels that expose the KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 capability
allow injection of interrupts along with vcpu ids larger than 255.
Le

intc/arm_gic: Support IRQ injection for more than 256 vpus

Host kernels that expose the KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 capability
allow injection of interrupts along with vcpu ids larger than 255.
Let's encode the vpcu id on 12 bits according to the upgraded KVM_IRQ_LINE
ABI when needed.

Given that we have two callsites that need to assemble
the value for kvm_set_irq(), a new helper routine, kvm_arm_set_irq
is introduced.

Without that patch qemu exits with "kvm_set_irq: Invalid argument"
message.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reported-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Message-id: 20191003154640.22451-3-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/aio_task.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/backup-top.h
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/docs/devel/rcu.txt
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/docs/replay.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/9p-marshal.h
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/fsdev/qemu-fsdev-opts.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.c
/openbmc/qemu/fsdev/qemu-fsdev-throttle.h
/openbmc/qemu/fsdev/qemu-fsdev.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-proxy.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/core.c
arm_gic_kvm.c
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/isa/Makefile.objs
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/timer/lm32_timer.c
/openbmc/qemu/hw/timer/milkymist-sysctl.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/aio_task.h
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/standard-headers/asm-x86/bootparam.h
/openbmc/qemu/include/standard-headers/asm-x86/kvm_para.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_fs.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/standard-headers/linux/virtio_iommu.h
/openbmc/qemu/include/standard-headers/linux/virtio_pmem.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/linux-headers/asm-arm/kvm.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/mman.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/mman.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/mman.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/kvm.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.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-headers/linux/psp-sev.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/replay/replay-events.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/Makefile.edk2
/openbmc/qemu/roms/edk2-build.sh
/openbmc/qemu/roms/edk2-funcs.sh
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/make-release
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/replay-user.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/s390x/cc_helper.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/crypto_helper.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/int_helper.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/interrupt.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/tcg-stub.c
/openbmc/qemu/target/s390x/tcg_s390x.h
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tests/docker/test-clang
/openbmc/qemu/tests/docker/test-debug
/openbmc/qemu/tests/iothread.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/026.out.nocache
/openbmc/qemu/tests/qemu-iotests/028
/openbmc/qemu/tests/qemu-iotests/028.out
/openbmc/qemu/tests/qemu-iotests/044
/openbmc/qemu/tests/qemu-iotests/056
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/149.out
/openbmc/qemu/tests/qemu-iotests/162
/openbmc/qemu/tests/qemu-iotests/162.out
/openbmc/qemu/tests/qemu-iotests/163
/openbmc/qemu/tests/qemu-iotests/227.out
/openbmc/qemu/tests/qemu-iotests/257
/openbmc/qemu/tests/qemu-iotests/257.out
/openbmc/qemu/tests/qemu-iotests/262
/openbmc/qemu/tests/qemu-iotests/262.out
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/267.out
/openbmc/qemu/tests/qemu-iotests/268
/openbmc/qemu/tests/qemu-iotests/268.out
/openbmc/qemu/tests/qemu-iotests/270
/openbmc/qemu/tests/qemu-iotests/270.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/uefi-test-tools/Makefile
/openbmc/qemu/tests/uefi-test-tools/build.sh
/openbmc/qemu/util/async.c
/openbmc/qemu/util/iov.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/vl.c
e594c2ad24-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

xive: Improve irq claim/free path

spapr_xive_irq_claim() returns a bool to indicate if it succeeded.
But most of the callers and one callee use int return values and/or an
Error * with more informat

xive: Improve irq claim/free path

spapr_xive_irq_claim() returns a bool to indicate if it succeeded.
But most of the callers and one callee use int return values and/or an
Error * with more information instead. In any case, ints are a more
common idiom for success/failure states than bools (one never knows
what sense they'll be in).

So instead change to an int return value to indicate presence of error
+ an Error * to describe the details through that call chain.

It also didn't actually check if the irq was already claimed, which is
one of the primary purposes of the claim path, so do that.

spapr_xive_irq_free() also returned a bool... which no callers checked
and was always true, so just drop it.

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

show more ...

580dde5e24-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr, xics, xive: Better use of assert()s on irq claim/free paths

The irq claim and free paths for both XICS and XIVE check for some
validity conditions. Some of these represent genuine runtime fa

spapr, xics, xive: Better use of assert()s on irq claim/free paths

The irq claim and free paths for both XICS and XIVE check for some
validity conditions. Some of these represent genuine runtime failures,
however others - particularly checking that the basic irq number is in a
sane range - could only fail in the case of bugs in the callin code.
Therefore use assert()s instead of runtime failures for those.

In addition the non backend-specific part of the claim/free paths should
only be used for PAPR external irqs, that is in the range SPAPR_XIRQ_BASE
to the maximum irq number. Put assert()s for that into the top level
dispatchers as well.

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

show more ...

1478969423-Sep-2019 David Gibson <david@gibson.dropbear.id.au>

spapr: Eliminate SpaprIrq:get_nodename method

This method is used to determine the name of the irq backend's node in the
device tree, so that we can find its phandle (after SLOF may have modified
it

spapr: Eliminate SpaprIrq:get_nodename method

This method is used to determine the name of the irq backend's node in the
device tree, so that we can find its phandle (after SLOF may have modified
it from the phandle we initially gave it).

But, in the two cases the only difference between the node name is the
presence of a unit address. Searching for a node name without considering
unit address is standard practice for the device tree, and
fdt_subnode_offset() will do exactly that, making this method unecessary.

While we're there, remove the XICS_NODENAME define. The name
"interrupt-controller" is required by PAPR (and IEEE1275), and a bunch of
places assume it already.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>

show more ...

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