History log of /openbmc/qemu/include/hw/ppc/ (Results 326 – 350 of 954)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2f35254a09-Jun-2020 Markus Armbruster <armbru@redhat.com>

pnv/psi: Correct the pnv-psi* devices not to be sysbus devices

pnv_chip_power8_instance_init() creates a "pnv-psi-POWER8" sysbus
device in a way that leaves it unplugged.
pnv_chip_power9_instance_in

pnv/psi: Correct the pnv-psi* devices not to be sysbus devices

pnv_chip_power8_instance_init() creates a "pnv-psi-POWER8" sysbus
device in a way that leaves it unplugged.
pnv_chip_power9_instance_init() and pnv_chip_power10_instance_init()
do the same for "pnv-psi-POWER9" and "pnv-psi-POWER10", respectively.

These devices aren't actually sysbus devices. Correct that.

Cc: "Cédric Le Goater" <clg@kaod.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200609122339.937862-18-armbru@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.d/edk2.yml
/openbmc/qemu/.gitlab-ci.d/opensbi.yml
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/accel/stubs/Makefile.objs
/openbmc/qemu/accel/stubs/xen-stub.c
/openbmc/qemu/accel/tcg/tcg-runtime-gvec.c
/openbmc/qemu/accel/tcg/tcg-runtime.h
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/accel/xen/Makefile.objs
/openbmc/qemu/accel/xen/xen-all.c
/openbmc/qemu/arch_init.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/io_uring.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/openbmc/qemu/cpus-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/riscv32-softmmu.mak
/openbmc/qemu/default-configs/riscv64-softmmu.mak
/openbmc/qemu/default-configs/unicore32-softmmu.mak
/openbmc/qemu/disas.c
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/deprecated.rst
/openbmc/qemu/docs/system/s390x/3270.rst
/openbmc/qemu/docs/system/s390x/css.rst
/openbmc/qemu/docs/system/s390x/vfio-ccw.rst
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/docs/system/target-mips.rst
/openbmc/qemu/docs/system/target-s390x.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/adc/stm32f2xx_adc.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/stm32f405_soc.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/serial-isa.c
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/dpcd.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/omap_dss.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/puv3_dma.c
/openbmc/qemu/hw/gpio/puv3_gpio.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hyperv/Kconfig
/openbmc/qemu/hw/hyperv/Makefile.objs
/openbmc/qemu/hw/hyperv/hyperv.c
/openbmc/qemu/hw/hyperv/trace-events
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-common.c
/openbmc/qemu/hw/i386/acpi-common.h
/openbmc/qemu/hw/i386/amd_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/vmmouse.c
/openbmc/qemu/hw/i386/vmport.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/input/pxa2xx_keypad.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/puv3_intc.c
/openbmc/qemu/hw/isa/apm.c
/openbmc/qemu/hw/isa/piix3.c
/openbmc/qemu/hw/isa/trace-events
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/mcf_intc.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/mips/Makefile.objs
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/fuloong2e.c
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/mips/mipssim.c
/openbmc/qemu/hw/mips/r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/auxbus.c
/openbmc/qemu/hw/misc/bcm2835_mphi.c
/openbmc/qemu/hw/misc/empty_slot.c
/openbmc/qemu/hw/misc/grlib_ahb_apb_pnp.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/puv3_pm.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-bridge/dec.c
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/pam.c
/openbmc/qemu/hw/pci-host/pnv_phb4_pec.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/Makefile.objs
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/opentitan.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/s390x/pv.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/semihosting/console.c
/openbmc/qemu/hw/sparc/Kconfig
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/ssi/imx_spi.c
/openbmc/qemu/hw/timer/puv3_ost.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/hcd-dwc2.c
/openbmc/qemu/hw/usb/hcd-dwc2.h
/openbmc/qemu/hw/usb/hcd-musb.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/usb/tusb6010.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-user-vsock-pci.c
/openbmc/qemu/hw/virtio/vhost-user-vsock.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock-common.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/xen/Makefile.objs
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/hw/xen/xen_pt.h
/openbmc/qemu/hw/xen/xen_pt_stub.c
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/edid.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/hyperv/hyperv.h
/openbmc/qemu/include/hw/hyperv/vmbus-bridge.h
/openbmc/qemu/include/hw/hyperv/vmbus-proto.h
/openbmc/qemu/include/hw/hyperv/vmbus.h
/openbmc/qemu/include/hw/i386/vmport.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/misc/bcm2835_mphi.h
/openbmc/qemu/include/hw/misc/empty_slot.h
pnv_psi.h
/openbmc/qemu/include/hw/registerfields.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/riscv/opentitan.h
/openbmc/qemu/include/hw/riscv/sifive_e.h
/openbmc/qemu/include/hw/riscv/spike.h
/openbmc/qemu/include/hw/s390x/pv.h
/openbmc/qemu/include/hw/usb.h
/openbmc/qemu/include/hw/usb/dwc2-regs.h
/openbmc/qemu/include/hw/usb/hcd-musb.h
/openbmc/qemu/include/hw/virtio/vhost-user-vsock.h
/openbmc/qemu/include/hw/virtio/vhost-user.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/hw/virtio/vhost-vsock.h
/openbmc/qemu/include/hw/virtio/virtio-balloon.h
/openbmc/qemu/include/hw/xen/xen.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/qom/qom-qobject.h
/openbmc/qemu/include/sysemu/accel.h
/openbmc/qemu/include/sysemu/hvf.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/sysemu/tcg.h
/openbmc/qemu/include/sysemu/tpm.h
/openbmc/qemu/include/sysemu/xen.h
/openbmc/qemu/include/tcg/tcg-op-gvec.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/io/task.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/generic/fcntl.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/net.c
/openbmc/qemu/python/qemu/.flake8
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/pylintrc
/openbmc/qemu/python/qemu/qmp.py
/openbmc/qemu/python/qemu/qtest.py
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qom/container.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/qom-hmp-cmds.c
/openbmc/qemu/replay/replay-internal.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/clean-includes
/openbmc/qemu/scripts/coverity-scan/coverity-scan.docker
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/modules/module_block.py
/openbmc/qemu/scripts/qemu-gdb.py
/openbmc/qemu/scripts/qemugdb/__init__.py
/openbmc/qemu/scripts/qemugdb/aio.py
/openbmc/qemu/scripts/qemugdb/coroutine.py
/openbmc/qemu/scripts/qemugdb/mtree.py
/openbmc/qemu/scripts/qemugdb/tcg.py
/openbmc/qemu/scripts/qemugdb/timers.py
/openbmc/qemu/scripts/qmp/qmp
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/qmp/qom-fuse
/openbmc/qemu/scripts/qmp/qom-get
/openbmc/qemu/scripts/qmp/qom-list
/openbmc/qemu/scripts/qmp/qom-set
/openbmc/qemu/scripts/qmp/qom-tree
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/qmp_memory_device.c
/openbmc/qemu/target/arm/crypto_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/neon-dp.decode
/openbmc/qemu/target/arm/t32.decode
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-a64.h
/openbmc/qemu/target/arm/translate-neon.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/arm/vec_internal.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/hax-i386.h
/openbmc/qemu/target/i386/hvf/hvf-i386.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86.c
/openbmc/qemu/target/i386/hvf/x86.h
/openbmc/qemu/target/i386/hvf/x86_decode.c
/openbmc/qemu/target/i386/hvf/x86_emu.c
/openbmc/qemu/target/i386/hvf/x86_flags.c
/openbmc/qemu/target/i386/hvf/x86_task.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/ops_sse.h
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/sev_i386.h
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/m68k/helper.h
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/mips/Makefile.objs
/openbmc/qemu/target/mips/cpu-param.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/fpu_helper.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/mips/lmmi_helper.c
/openbmc/qemu/target/mips/machine.c
/openbmc/qemu/target/mips/mips-defs.h
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/mips/translate_init.inc.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.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/insn_trans/trans_privileged.inc.c
/openbmc/qemu/target/riscv/monitor.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec_int_helper.c
/openbmc/qemu/target/sparc/int32_helper.c
/openbmc/qemu/target/tricore/Makefile.objs
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/gdbstub.c
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/unicore32/helper.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/aarch64/tcg-target.opc.h
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.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/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/migration.py
/openbmc/qemu/tests/data/acpi/pc/DSDT
/openbmc/qemu/tests/data/acpi/pc/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/pc/DSDT.bridge
/openbmc/qemu/tests/data/acpi/pc/DSDT.cphp
/openbmc/qemu/tests/data/acpi/pc/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/pc/DSDT.ipmikcs
/openbmc/qemu/tests/data/acpi/pc/DSDT.memhp
/openbmc/qemu/tests/data/acpi/pc/DSDT.numamem
/openbmc/qemu/tests/data/acpi/pc/SRAT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis
/openbmc/qemu/tests/data/acpi/q35/SRAT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/TPM2.tis
/openbmc/qemu/tests/data/acpi/virt/SRAT.memhp
/openbmc/qemu/tests/decode/err_pattern_group_nest1.decode
/openbmc/qemu/tests/decode/err_pattern_group_nest2.decode
/openbmc/qemu/tests/decode/err_pattern_group_nest3.decode
/openbmc/qemu/tests/decode/succ_pattern_group_nest2.decode
/openbmc/qemu/tests/decode/succ_pattern_group_nest3.decode
/openbmc/qemu/tests/decode/succ_pattern_group_nest4.decode
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/centos7.docker
/openbmc/qemu/tests/docker/dockerfiles/centos8.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-test-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-xtensa-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/docker/dockerfiles/debian11.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/migration/guestperf-batch.py
/openbmc/qemu/tests/migration/guestperf-plot.py
/openbmc/qemu/tests/migration/guestperf.py
/openbmc/qemu/tests/plugin/mem.c
/openbmc/qemu/tests/qemu-iotests/031.out
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/178.out.qcow2
/openbmc/qemu/tests/qemu-iotests/178.out.raw
/openbmc/qemu/tests/qemu-iotests/190
/openbmc/qemu/tests/qemu-iotests/190.out
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/194.out
/openbmc/qemu/tests/qemu-iotests/291
/openbmc/qemu/tests/qemu-iotests/291.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/nbd-fault-injector.py
/openbmc/qemu/tests/qemu-iotests/qcow2.py
/openbmc/qemu/tests/qemu-iotests/qcow2_format.py
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/endianness-test.c
/openbmc/qemu/tests/qtest/fuzz/fork_fuzz.ld
/openbmc/qemu/tests/qtest/fuzz/fuzz.c
/openbmc/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_scsi_fuzz.c
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/test-hmp.c
/openbmc/qemu/tests/qtest/tpm-emu.c
/openbmc/qemu/tests/qtest/tpm-emu.h
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/arm/commpage.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/i386/test-i386-fbstp.c
/openbmc/qemu/tests/tcg/i386/test-i386-fisttp.c
/openbmc/qemu/tests/tcg/i386/test-i386-fldcst.c
/openbmc/qemu/tests/tcg/i386/test-i386-fp-exceptions.c
/openbmc/qemu/tests/tcg/i386/test-i386-fscale.c
/openbmc/qemu/tests/tcg/i386/test-i386-fxam.c
/openbmc/qemu/tests/tcg/i386/test-i386-fxtract.c
/openbmc/qemu/tests/tcg/i386/test-i386-pcmpistri.c
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/gdbstub/sha1.py
/openbmc/qemu/tests/tcg/multiarch/threadcount.c
/openbmc/qemu/tests/test-io-task.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/oslib-posix.c
0911a60c11-May-2020 Leonardo Bras <leonardo@linux.ibm.com>

ppc/spapr: Add hotremovable flag on DIMM LMBs on drmem_v2

On reboot, all memory that was previously added using object_add and
device_add is placed in this DIMM area.

The new SPAPR_LMB_FLAGS_HOTREM

ppc/spapr: Add hotremovable flag on DIMM LMBs on drmem_v2

On reboot, all memory that was previously added using object_add and
device_add is placed in this DIMM area.

The new SPAPR_LMB_FLAGS_HOTREMOVABLE flag helps Linux to put this memory in
the correct memory zone, so no unmovable allocations are made there,
allowing the object to be easily hot-removed by device_del and
object_del.

This new flag was accepted in Power Architecture documentation.

Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Reviewed-by: Bharata B Rao <bharata@linux.ibm.com>
Message-Id: <20200511200201.58537-1-leobras.c@gmail.com>
[dwg: Fixed syntax error spotted by Cédric Le Goater]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/Makefile.objs
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/jackaudio.c
/openbmc/qemu/audio/mixeng.c
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/filter-compress.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/Makefile.objs
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/disas.c
/openbmc/qemu/docs/system/arm/integratorcp.rst
/openbmc/qemu/docs/system/arm/mps2.rst
/openbmc/qemu/docs/system/arm/musca.rst
/openbmc/qemu/docs/system/arm/vexpress.rst
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/fpu/softfloat-specialize.inc.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/fsl-imx6ul.c
/openbmc/qemu/hw/arm/fsl-imx7.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/pxa2xx_gpio.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/serial-pci-multi.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-console.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/char/xilinx_uartlite.c
/openbmc/qemu/hw/core/bus.c
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/next-fb.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/ramfb-standalone.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga-isa.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/dma/pxa2xx_dma.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i2c/mpc_i2c.c
/openbmc/qemu/hw/i386/kvm/apic.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/ide/ahci-allwinner.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/input/virtio-input-host.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/ipack/ipack.c
/openbmc/qemu/hw/ipmi/smbus_ipmi.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nubus/nubus-device.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_tpm_proxy.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/s390-ccw.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.h
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sdhci-internal.h
/openbmc/qemu/hw/sd/sdhci-pci.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sh4/sh_pci.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/ccid-card-emulated.c
/openbmc/qemu/hw/usb/ccid.h
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/dev-wacom.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-pmem.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/Kconfig
/openbmc/qemu/hw/watchdog/Makefile.objs
/openbmc/qemu/hw/watchdog/wdt_diag288.c
/openbmc/qemu/hw/watchdog/wdt_imx2.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/disas/disas.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/log.h
/openbmc/qemu/include/fpu/softfloat-helpers.h
/openbmc/qemu/include/fpu/softfloat-macros.h
/openbmc/qemu/include/fpu/softfloat-types.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/arm/fsl-imx25.h
/openbmc/qemu/include/hw/arm/fsl-imx31.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/arm/fsl-imx6ul.h
/openbmc/qemu/include/hw/arm/fsl-imx7.h
/openbmc/qemu/include/hw/display/ramfb.h
spapr.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/s390x/s390-ccw.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/usb.h
/openbmc/qemu/include/hw/watchdog/wdt_imx2.h
/openbmc/qemu/include/hw/xen/xen-block.h
/openbmc/qemu/include/hw/xen/xen-bus.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/ui/win32-kbd-hook.h
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/arm/signal.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/flatload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/plugins/api.c
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/ramfb.c
/openbmc/qemu/stubs/win32-kbd-hook.c
/openbmc/qemu/target/alpha/cpu-param.h
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/sve_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/target/i386/ops_sse.h
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/m68k/softfloat.c
/openbmc/qemu/target/mips/msa_helper.c
/openbmc/qemu/target/openrisc/fpu_helper.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/vec_fpu_helper.c
/openbmc/qemu/target/sparc/fop_helper.c
/openbmc/qemu/target/unicore32/ucf64_helper.c
/openbmc/qemu/target/xtensa/fpu_helper.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/acceptance/machine_arm_canona1100.py
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/fp/fp-test.c
/openbmc/qemu/tests/guest-debug/run-test.py
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/041.out
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/098.out
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/229
/openbmc/qemu/tests/qemu-iotests/229.out
/openbmc/qemu/tests/qemu-iotests/297
/openbmc/qemu/tests/qemu-iotests/297.out
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qtest/fuzz/Makefile.include
/openbmc/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/openbmc/qemu/tests/tcg/i386/test-i386-pseudo-denormal.c
/openbmc/qemu/tests/tcg/i386/test-i386-snan-convert.c
/openbmc/qemu/tests/test-bdrv-drain.c
/openbmc/qemu/tests/test-bdrv-graph-mod.c
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/test-util-sockets.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/trace-events
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/win32-kbd-hook.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/fdmon-io_uring.c
/openbmc/qemu/util/qemu-sockets.c
40c2281c05-May-2020 Markus Armbruster <armbru@redhat.com>

Drop more @errp parameters after previous commit

Several functions can't fail anymore: ich9_pm_add_properties(),
device_add_bootindex_property(), ppc_compat_add_property(),
spapr_caps_add_properties

Drop more @errp parameters after previous commit

Several functions can't fail anymore: ich9_pm_add_properties(),
device_add_bootindex_property(), ppc_compat_add_property(),
spapr_caps_add_properties(), PropertyInfo.create(). Drop their @errp
parameter.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200505152926.18877-16-armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/authz/list.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/authz/pamacct.c
/openbmc/qemu/authz/simple.c
/openbmc/qemu/backends/cryptodev-vhost-user.c
/openbmc/qemu/backends/cryptodev.c
/openbmc/qemu/backends/dbus-vmstate.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-memfd.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/backends/rng-random.c
/openbmc/qemu/backends/rng.c
/openbmc/qemu/backends/vhost-user.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.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/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow2-threads.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/throttle-groups.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/bootdevice.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/cipher-builtin.c
/openbmc/qemu/crypto/secret.c
/openbmc/qemu/crypto/tlscreds.c
/openbmc/qemu/crypto/tlscredsanon.c
/openbmc/qemu/crypto/tlscredspsk.c
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/docs/devel/loads-stores.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/specs/acpi_hest_ghes.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/exec.c
/openbmc/qemu/gdb-xml/arm-m-profile.xml
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/ghes.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/allwinner-h3.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/mcimx6ul-evk.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/bus.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-clock.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/stream.c
/openbmc/qemu/hw/cpu/core.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vhost-user-gpu-pci.c
/openbmc/qemu/hw/display/vhost-user-gpu.c
/openbmc/qemu/hw/display/vhost-user-vga.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hyperv/hyperv.c
/openbmc/qemu/hw/i2c/microbit_i2c.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/ide/macio.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/input/vhost-user-input.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipmi/ipmi.c
/openbmc/qemu/hw/isa/isa-superio.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/macio/gpio.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/pca9552.c
/openbmc/qemu/hw/misc/tmp105.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/can/can_kvaser_pci.c
/openbmc/qemu/hw/net/can/can_mioe3680_pci.c
/openbmc/qemu/hw/net/can/can_pcm3680_pci.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/net/lasi_i82596.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/pcnet-pci.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci-host/grackle.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/pnv_phb3_msi.c
/openbmc/qemu/hw/pci-host/pnv_phb3_pbcq.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/sabre.c
/openbmc/qemu/hw/pci-host/uninorth.c
/openbmc/qemu/hw/pcmcia/pxa2xx.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_nvdimm.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/s390x/ap-bridge.c
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-ccw.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/tod.c
/openbmc/qemu/hw/s390x/virtio-ccw-balloon.c
/openbmc/qemu/hw/s390x/virtio-ccw-blk.c
/openbmc/qemu/hw/s390x/virtio-ccw-net.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/timer/nrf51_timer.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/tpm/tpm_tis_common.c
/openbmc/qemu/hw/tpm/tpm_tis_sysbus.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/vhost-scsi-pci.c
/openbmc/qemu/hw/virtio/vhost-user-blk-pci.c
/openbmc/qemu/hw/virtio/vhost-user-input-pci.c
/openbmc/qemu/hw/virtio/vhost-user-scsi-pci.c
/openbmc/qemu/hw/virtio/virtio-balloon-pci.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-blk-pci.c
/openbmc/qemu/hw/virtio/virtio-net-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/ghes.h
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/arm/nrf51.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i2c/microbit_i2c.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
spapr.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/stream.h
/openbmc/qemu/include/hw/timer/nrf51_timer.h
/openbmc/qemu/include/qemu/uuid.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/kvm_int.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/tcg/tcg-op-gvec.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/iothread.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/net/can/can_host.c
/openbmc/qemu/net/can/can_socketcan.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-buffer.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/net/filter.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/container.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/scsi/pr-manager-helper.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/arm/Makefile.objs
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/cpu_tcg.c
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/helper-sve.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/neon-dp.decode
/openbmc/qemu/target/arm/neon_helper.c
/openbmc/qemu/target/arm/sve_helper.c
/openbmc/qemu/target/arm/tlb_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-neon.inc.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/gdbstub.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu_features_def.inc.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/check-qom-proplist.c
/openbmc/qemu/tests/qemu-iotests/031.out
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/055.out
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/065
/openbmc/qemu/tests/qemu-iotests/080
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/091
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/113
/openbmc/qemu/tests/qemu-iotests/144.out
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/185.out
/openbmc/qemu/tests/qemu-iotests/198.out
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/242.out
/openbmc/qemu/tests/qemu-iotests/255.out
/openbmc/qemu/tests/qemu-iotests/274.out
/openbmc/qemu/tests/qemu-iotests/280.out
/openbmc/qemu/tests/qemu-iotests/283
/openbmc/qemu/tests/qemu-iotests/283.out
/openbmc/qemu/tests/qemu-iotests/287
/openbmc/qemu/tests/qemu-iotests/287.out
/openbmc/qemu/tests/qemu-iotests/292
/openbmc/qemu/tests/qemu-iotests/292.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/test-qdev-global-props.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/ui/input-linux.c
087820e325-Mar-2020 Greg Kurz <groug@kaod.org>

spapr: Drop CAS reboot flag

The CAS reboot flag is false by default and all the locations that
could set it to true have been dropped. This means that all code
blocks depending on the flag being set

spapr: Drop CAS reboot flag

The CAS reboot flag is false by default and all the locations that
could set it to true have been dropped. This means that all code
blocks depending on the flag being set is dead code and the other
code blocks should be executed always.

Just do that and drop the now uneeded CAS reboot flag. Fix a
comment on the way to make checkpatch happy.

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

show more ...

91067db125-Mar-2020 Alexey Kardashevskiy <aik@ozlabs.ru>

spapr/cas: Separate CAS handling from rebuilding the FDT

At the moment "ibm,client-architecture-support" ("CAS") is implemented
in SLOF and QEMU assists via the custom H_CAS hypercall which copies
a

spapr/cas: Separate CAS handling from rebuilding the FDT

At the moment "ibm,client-architecture-support" ("CAS") is implemented
in SLOF and QEMU assists via the custom H_CAS hypercall which copies
an updated flatten device tree (FDT) blob to the SLOF memory which
it then uses to update its internal tree.

When we enable the OpenFirmware client interface in QEMU, we won't need
to copy the FDT to the guest as the client is expected to fetch
the device tree using the client interface.

This moves FDT rebuild out to a separate helper which is going to be
called from the "ibm,client-architecture-support" handler and leaves
writing FDT to the guest in the H_CAS handler.

This should not cause any behavioral change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20200310050733.29805-3-aik@ozlabs.ru>
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158514994229.478799.2178881312094922324.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.github/lockdown.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/backends/cryptodev-builtin.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/commit.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/nbd.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-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/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/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-gpu/vhost-user-gpu.c
/openbmc/qemu/contrib/vhost-user-gpu/virgl.c
/openbmc/qemu/cpus-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/atomics.rst
/openbmc/qemu/docs/devel/clocks.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/rcu.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/specs/acpi_hw_reduced_hotplug.rst
/openbmc/qemu/docs/sphinx/kerneldoc.py
/openbmc/qemu/docs/system/deprecated.rst
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/docs/system/s390x/protvirt.rst
/openbmc/qemu/docs/system/target-s390x.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdb-xml/m68k-core.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/acpi/Makefile.objs
/openbmc/qemu/hw/acpi/aml-build-stub.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/clock-vmstate.c
/openbmc/qemu/hw/core/clock.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine-hmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-clock.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/core/trace-events
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/blizzard.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hyperv/hyperv.c
/openbmc/qemu/hw/i2c/pm_smbus.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-build.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/i386/vmport.c
/openbmc/qemu/hw/i386/vmport.h
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/input/adb-kbd.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/isa/isa-bus.c
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/misc/zynq_slcr.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/msf2-emac.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/rdma_utils.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/pv.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/timer/stm32f2xx_timer.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/arm/msf2-soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/char/cadence_uart.h
/openbmc/qemu/include/hw/clock.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/gpio/nrf51_gpio.h
/openbmc/qemu/include/hw/i2c/smbus_eeprom.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/net/msf2-emac.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
spapr.h
/openbmc/qemu/include/hw/qdev-clock.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/register.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/rtc/mc146818rtc.h
/openbmc/qemu/include/hw/s390x/pv.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/qapi/qmp/qdict.h
/openbmc/qemu/include/qapi/qmp/qlist.h
/openbmc/qemu/include/qapi/visitor-impl.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/lockable.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/selfmap.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/vhost_types.h
/openbmc/qemu/include/standard-headers/linux/virtio_balloon.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/standard-headers/linux/virtio_net.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/job-qmp.c
/openbmc/qemu/job.c
/openbmc/qemu/linux-headers/COPYING
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/mman.h
/openbmc/qemu/linux-headers/linux/userfaultfd.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-headers/linux/vhost.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/flatload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/riscv/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv32-virt-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-virt-fw_jump.bin
/openbmc/qemu/qapi/qapi-dealloc-visitor.c
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-storage-daemon.c
/openbmc/qemu/qga/commands-common.h
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qobject/json-streamer.c
/openbmc/qemu/qobject/qdict.c
/openbmc/qemu/qobject/qjson.c
/openbmc/qemu/qobject/qlist.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/qom/qom-qmp-cmds.c
/openbmc/qemu/roms/opensbi
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/coverity-scan/coverity-scan.docker
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
/openbmc/qemu/scripts/kernel-doc
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/slirp
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/arm/Makefile.objs
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/neon-dp.decode
/openbmc/qemu/target/arm/neon-ls.decode
/openbmc/qemu/target/arm/neon-shared.decode
/openbmc/qemu/target/arm/neon_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-a64.h
/openbmc/qemu/target/arm/translate-neon.inc.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/gdbstub.c
/openbmc/qemu/target/i386/hax-windows.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_features_def.inc.h
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm-stub.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/kvm_s390x.h
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/sh4/gdbstub.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/gdbstub.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/machine_sparc_leon3.py
/openbmc/qemu/tests/acceptance/migration.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/check-qlist.c
/openbmc/qemu/tests/data/acpi/pc/DSDT
/openbmc/qemu/tests/data/acpi/pc/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/pc/DSDT.bridge
/openbmc/qemu/tests/data/acpi/pc/DSDT.cphp
/openbmc/qemu/tests/data/acpi/pc/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/pc/DSDT.ipmikcs
/openbmc/qemu/tests/data/acpi/pc/DSDT.memhp
/openbmc/qemu/tests/data/acpi/pc/DSDT.numamem
/openbmc/qemu/tests/data/acpi/pc/SSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/pc/WAET
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/data/acpi/q35/SSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/WAET
/openbmc/qemu/tests/data/acpi/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/virt/NFIT.memhp
/openbmc/qemu/tests/data/acpi/virt/SSDT.memhp
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/docker/test-misc
/openbmc/qemu/tests/guest-debug/run-test.py
/openbmc/qemu/tests/qemu-iotests/001
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/046
/openbmc/qemu/tests/qemu-iotests/046.out
/openbmc/qemu/tests/qemu-iotests/052
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/061
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/155
/openbmc/qemu/tests/qemu-iotests/177
/openbmc/qemu/tests/qemu-iotests/188
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qemu-iotests/206
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/208
/openbmc/qemu/tests/qemu-iotests/209
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/211
/openbmc/qemu/tests/qemu-iotests/212
/openbmc/qemu/tests/qemu-iotests/213
/openbmc/qemu/tests/qemu-iotests/216
/openbmc/qemu/tests/qemu-iotests/218
/openbmc/qemu/tests/qemu-iotests/219
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/224
/openbmc/qemu/tests/qemu-iotests/228
/openbmc/qemu/tests/qemu-iotests/234
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/236
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/238
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/244
/openbmc/qemu/tests/qemu-iotests/244.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/245.out
/openbmc/qemu/tests/qemu-iotests/246
/openbmc/qemu/tests/qemu-iotests/248
/openbmc/qemu/tests/qemu-iotests/254
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/256
/openbmc/qemu/tests/qemu-iotests/258
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/262
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/274
/openbmc/qemu/tests/qemu-iotests/274.out
/openbmc/qemu/tests/qemu-iotests/277
/openbmc/qemu/tests/qemu-iotests/280
/openbmc/qemu/tests/qemu-iotests/283
/openbmc/qemu/tests/qemu-iotests/290
/openbmc/qemu/tests/qemu-iotests/290.out
/openbmc/qemu/tests/qemu-iotests/common.pattern
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/pylintrc
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/device-introspect-test.c
/openbmc/qemu/tests/qtest/fuzz/fuzz.c
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.c
/openbmc/qemu/tests/qtest/libqos/qos_external.c
/openbmc/qemu/tests/qtest/libqos/qos_external.h
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/qom-test.c
/openbmc/qemu/tests/qtest/qos-test.c
/openbmc/qemu/tests/qtest/test-hmp.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/openbmc/qemu/tests/tcg/cris/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/gdbstub/sha1.py
/openbmc/qemu/tests/tcg/x86_64/system/boot.S
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/test-blockjob.c
/openbmc/qemu/tests/test-logging.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-string-output-visitor.c
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.h
/openbmc/qemu/tools/virtiofsd/helper.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/fdmon-io_uring.c
/openbmc/qemu/util/log.c
/openbmc/qemu/util/module.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/rcu.c
/openbmc/qemu/util/selfmap.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/util/vfio-helpers.c
25f3170b04-Apr-2020 Cédric Le Goater <clg@kaod.org>

ppc/pnv: Create BMC devices only when defaults are enabled

Commit e2392d4395dd ("ppc/pnv: Create BMC devices at machine init")
introduced default BMC devices which can be a problem when the same
dev

ppc/pnv: Create BMC devices only when defaults are enabled

Commit e2392d4395dd ("ppc/pnv: Create BMC devices at machine init")
introduced default BMC devices which can be a problem when the same
devices are defined on the command line with :

-device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10

QEMU fails with :

qemu-system-ppc64: error creating device tree: node: FDT_ERR_EXISTS

Use defaults_enabled() when creating the default BMC devices to let
the user provide its own BMC devices using '-nodefaults'. If no BMC
device are provided, output a warning but let QEMU run as this is a
supported configuration. However, when multiple BMC devices are
defined, stop QEMU with a clear error as the results are unexpected.

Fixes: e2392d4395dd ("ppc/pnv: Create BMC devices at machine init")
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200404153655.166834-1-clg@kaod.org>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...


/openbmc/qemu/.gitlab-ci-opensbi.yml
/openbmc/qemu/.gitlab-ci.d/opensbi/Dockerfile
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/tcg-runtime-gvec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/arch_init.c
/openbmc/qemu/block.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.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/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/nbd.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-bitmap.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/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/vhost-user-gpu/Makefile.objs
/openbmc/qemu/contrib/vhost-user-gpu/vhost-user-gpu.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/rx-softmmu.mak
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/qemu-ga.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/system/cpu-models-x86.rst.inc
/openbmc/qemu/docs/system/deprecated.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/s390x/vfio-ap.rst
/openbmc/qemu/docs/system/target-s390x.rst
/openbmc/qemu/docs/system/targets.rst
/openbmc/qemu/docs/xbzrle.txt
/openbmc/qemu/dump/dump.c
/openbmc/qemu/dump/win_dump.c
/openbmc/qemu/exec.c
/openbmc/qemu/gdb-xml/rx-core.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/bcm2835_peripherals.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/fsl-imx6ul.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/stm32f405_soc.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/platform-bus.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/dma/soc_dma.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hppa/hppa_sys.h
/openbmc/qemu/hw/hppa/machine.c
/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/x86.c
/openbmc/qemu/hw/ide/ahci_internal.h
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/intc/bcm2835_ic.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/isa/isa-superio.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/smc37c669-superio.c
/openbmc/qemu/hw/m68k/bootinfo.h
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/allwinner-h3-dramc.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/omap_l4.c
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/can/can_sja1000.c
/openbmc/qemu/hw/net/can/can_sja1000.h
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/e1000e_core.h
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/i82596.h
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/opencores_eth.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/xilinx_ethlite.c
/openbmc/qemu/hw/nvram/eeprom93xx.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_dev_ring.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-stattrib-kvm.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/trace-events
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/imx-usb-phy.c
/openbmc/qemu/hw/usb/quirks.c
/openbmc/qemu/hw/usb/quirks.h
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xen/xen_pt.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/acpi/acpi.h
/openbmc/qemu/include/hw/arm/bcm2835_peripherals.h
/openbmc/qemu/include/hw/arm/bcm2836.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/arm/fsl-imx6ul.h
/openbmc/qemu/include/hw/arm/smmu-common.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/bcm2835_aux.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/bcm2835_fb.h
/openbmc/qemu/include/hw/dma/bcm2835_dma.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/topology.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/ide.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/ide/pci.h
/openbmc/qemu/include/hw/intc/bcm2835_ic.h
/openbmc/qemu/include/hw/intc/bcm2836_control.h
/openbmc/qemu/include/hw/isa/isa.h
/openbmc/qemu/include/hw/isa/superio.h
/openbmc/qemu/include/hw/misc/bcm2835_mbox.h
/openbmc/qemu/include/hw/misc/bcm2835_mbox_defs.h
/openbmc/qemu/include/hw/misc/bcm2835_property.h
/openbmc/qemu/include/hw/misc/macio/macio.h
pnv.h
/openbmc/qemu/include/hw/registerfields.h
/openbmc/qemu/include/hw/s390x/event-facility.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/southbridge/piix.h
/openbmc/qemu/include/hw/usb/imx-usb-phy.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/virtio-iommu.h
/openbmc/qemu/include/net/can_emu.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/qapi/qmp/dispatch.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/cpuid.h
/openbmc/qemu/include/qemu/hbitmap.h
/openbmc/qemu/include/qemu/lockable.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/sysemu/cryptodev.h
/openbmc/qemu/include/sysemu/whpx.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/linux-user/Makefile.objs
/openbmc/qemu/linux-user/aarch64/syscall_nr.h
/openbmc/qemu/linux-user/alpha/Makefile.objs
/openbmc/qemu/linux-user/alpha/syscall.tbl
/openbmc/qemu/linux-user/alpha/syscallhdr.sh
/openbmc/qemu/linux-user/arm/Makefile.objs
/openbmc/qemu/linux-user/arm/syscall.tbl
/openbmc/qemu/linux-user/arm/syscallhdr.sh
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/hppa/Makefile.objs
/openbmc/qemu/linux-user/hppa/syscall.tbl
/openbmc/qemu/linux-user/hppa/syscallhdr.sh
/openbmc/qemu/linux-user/i386/Makefile.objs
/openbmc/qemu/linux-user/i386/cpu_loop.c
/openbmc/qemu/linux-user/i386/syscall_32.tbl
/openbmc/qemu/linux-user/i386/syscallhdr.sh
/openbmc/qemu/linux-user/i386/target_cpu.h
/openbmc/qemu/linux-user/m68k/Makefile.objs
/openbmc/qemu/linux-user/m68k/syscall.tbl
/openbmc/qemu/linux-user/m68k/syscallhdr.sh
/openbmc/qemu/linux-user/microblaze/Makefile.objs
/openbmc/qemu/linux-user/microblaze/syscall.tbl
/openbmc/qemu/linux-user/microblaze/syscallhdr.sh
/openbmc/qemu/linux-user/mips/Makefile.objs
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/mips/syscall-args-o32.c.inc
/openbmc/qemu/linux-user/mips/syscall_o32.tbl
/openbmc/qemu/linux-user/mips/syscallhdr.sh
/openbmc/qemu/linux-user/mips64/Makefile.objs
/openbmc/qemu/linux-user/mips64/syscall_n32.tbl
/openbmc/qemu/linux-user/mips64/syscall_n64.tbl
/openbmc/qemu/linux-user/mips64/syscallhdr.sh
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/nios2/syscall_nr.h
/openbmc/qemu/linux-user/openrisc/syscall_nr.h
/openbmc/qemu/linux-user/ppc/Makefile.objs
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/ppc/syscall.tbl
/openbmc/qemu/linux-user/ppc/syscallhdr.sh
/openbmc/qemu/linux-user/riscv/syscall32_nr.h
/openbmc/qemu/linux-user/riscv/syscall64_nr.h
/openbmc/qemu/linux-user/riscv/syscall_nr.h
/openbmc/qemu/linux-user/s390x/Makefile.objs
/openbmc/qemu/linux-user/s390x/syscall.tbl
/openbmc/qemu/linux-user/s390x/syscallhdr.sh
/openbmc/qemu/linux-user/sh4/Makefile.objs
/openbmc/qemu/linux-user/sh4/syscall.tbl
/openbmc/qemu/linux-user/sh4/syscallhdr.sh
/openbmc/qemu/linux-user/sparc/Makefile.objs
/openbmc/qemu/linux-user/sparc/syscall.tbl
/openbmc/qemu/linux-user/sparc/syscallhdr.sh
/openbmc/qemu/linux-user/sparc64/Makefile.objs
/openbmc/qemu/linux-user/sparc64/syscall.tbl
/openbmc/qemu/linux-user/sparc64/syscallhdr.sh
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/x86_64/Makefile.objs
/openbmc/qemu/linux-user/x86_64/syscall_64.tbl
/openbmc/qemu/linux-user/x86_64/syscallhdr.sh
/openbmc/qemu/linux-user/xtensa/Makefile.objs
/openbmc/qemu/linux-user/xtensa/syscall.tbl
/openbmc/qemu/linux-user/xtensa/syscallhdr.sh
/openbmc/qemu/memory.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/monitor/qmp-cmds-control.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/can/can_socketcan.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/filter-buffer.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/queue.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv32-virt-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-virt-fw_jump.bin
/openbmc/qemu/pc-bios/optionrom/pvh_main.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/sclp.h
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/qmp.py
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-registry.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/installer/qemu-ga.wxs
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/qom-qmp-cmds.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/opensbi
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/coccinelle/cpu-reset.cocci
/openbmc/qemu/scripts/coccinelle/error-use-after-free.cocci
/openbmc/qemu/scripts/coccinelle/memory-region-housekeeping.cocci
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/gensyscalls.sh
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/scripts/simplebench/bench-example.py
/openbmc/qemu/scripts/simplebench/bench_block_job.py
/openbmc/qemu/scripts/simplebench/simplebench.py
/openbmc/qemu/scripts/update-mips-syscall-args.sh
/openbmc/qemu/scripts/update-syscalltbl.sh
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/slirp
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/alpha/cpu-qom.h
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/gdbstub.c
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/gdbstub64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/monitor.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/cris/cpu-qom.h
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/gdbstub.c
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/gdbstub.c
/openbmc/qemu/target/i386/hax-posix.c
/openbmc/qemu/target/i386/hax-windows.c
/openbmc/qemu/target/i386/hvf/vmx.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/i386/whp-dispatch.h
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/lm32/cpu-qom.h
/openbmc/qemu/target/lm32/cpu.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/lm32/gdbstub.c
/openbmc/qemu/target/m68k/cpu-qom.h
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/gdbstub.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/microblaze/cpu-qom.h
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/gdbstub.c
/openbmc/qemu/target/mips/cpu-qom.h
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/gdbstub.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/moxie/cpu.c
/openbmc/qemu/target/moxie/cpu.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/gdbstub.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/timebase_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/rx/Makefile.objs
/openbmc/qemu/target/rx/cpu-param.h
/openbmc/qemu/target/rx/cpu-qom.h
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/rx/disas.c
/openbmc/qemu/target/rx/gdbstub.c
/openbmc/qemu/target/rx/helper.c
/openbmc/qemu/target/rx/helper.h
/openbmc/qemu/target/rx/insns.decode
/openbmc/qemu/target/rx/op_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/sh4/cpu-qom.h
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/gdbstub.c
/openbmc/qemu/target/sparc/cpu-qom.h
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/gdbstub.c
/openbmc/qemu/target/tilegx/cpu.c
/openbmc/qemu/target/tilegx/cpu.h
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/xtensa/cpu-qom.h
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/gdbstub.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux.py
/openbmc/qemu/tests/docker/dockerfiles/centos7.docker
/openbmc/qemu/tests/docker/dockerfiles/centos8.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-win32-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/guest-debug/run-test.py
/openbmc/qemu/tests/qapi-schema/alternate-base.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/features-deprecated-type.err
/openbmc/qemu/tests/qapi-schema/features-deprecated-type.json
/openbmc/qemu/tests/qapi-schema/features-deprecated-type.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/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/031.out
/openbmc/qemu/tests/qemu-iotests/036
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/061
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/138
/openbmc/qemu/tests/qemu-iotests/138.out
/openbmc/qemu/tests/qemu-iotests/279
/openbmc/qemu/tests/qemu-iotests/289
/openbmc/qemu/tests/qemu-iotests/289.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.c
/openbmc/qemu/tests/qtest/hd-geo-test.c
/openbmc/qemu/tests/qtest/libqos/ahci.h
/openbmc/qemu/tests/qtest/libqos/libqos-spapr.h
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/tulip-test.c
/openbmc/qemu/tests/requirements.txt
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/openbmc/qemu/tests/tcg/aarch64/sve-ioctls.c
/openbmc/qemu/tests/tcg/aarch64/sysregs.c
/openbmc/qemu/tests/test-hbitmap.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-x86-cpuid.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/util/bufferiszero.c
/openbmc/qemu/util/fdmon-io_uring.c
/openbmc/qemu/util/hbitmap.c
/openbmc/qemu/util/module.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-timer.c
edfdbf9c16-Mar-2020 Nicholas Piggin <npiggin@gmail.com>

ppc/spapr: Add FWNMI System Reset state

The FWNMI option must deliver system reset interrupts to their
registered address, and there are a few constraints on the handler
addresses specified in PAPR.

ppc/spapr: Add FWNMI System Reset state

The FWNMI option must deliver system reset interrupts to their
registered address, and there are a few constraints on the handler
addresses specified in PAPR. Add the system reset address state and
checks.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200316142613.121089-4-npiggin@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviwed-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

8af7e1fe16-Mar-2020 Nicholas Piggin <npiggin@gmail.com>

ppc/spapr: Change FWNMI names

The option is called "FWNMI", and it involves more than just machine
checks, also machine checks can be delivered without the FWNMI option,
so re-name various things to

ppc/spapr: Change FWNMI names

The option is called "FWNMI", and it involves more than just machine
checks, also machine checks can be delivered without the FWNMI option,
so re-name various things to reflect that.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200316142613.121089-3-npiggin@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

91335a5e21-Jan-2020 David Gibson <david@gibson.dropbear.id.au>

spapr: Rename DT functions to newer naming convention

In the spapr code we've been gradually moving towards a convention that
functions which create pieces of the device tree are called spapr_dt_*()

spapr: Rename DT functions to newer naming convention

In the spapr code we've been gradually moving towards a convention that
functions which create pieces of the device tree are called spapr_dt_*().
This patch speeds that along by renaming most of the things that don't yet
match that so that they do.

For now we leave the *_dt_populate() functions which are actual methods
used in the DRCClass::dt_populate method.

While we're there we remove a few comments that don't really say anything
useful.

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

show more ...

4dba872215-Mar-2020 Alexey Kardashevskiy <aik@ozlabs.ru>

spapr/rtas: Reserve space for RTAS blob and log

At the moment SLOF reserves space for RTAS and instantiates the RTAS blob
which is 20 bytes binary blob calling an hypercall. The rest of the RTAS
are

spapr/rtas: Reserve space for RTAS blob and log

At the moment SLOF reserves space for RTAS and instantiates the RTAS blob
which is 20 bytes binary blob calling an hypercall. The rest of the RTAS
area is a log which SLOF has no idea about but QEMU does.

This moves RTAS sizing to QEMU and this overrides the size from SLOF.
The only remaining problem is that SLOF copies the number of bytes it
reserved (2KB for now) so QEMU needs to reserve at least this much;
SLOF will be fixed separately to check that rtas-size from QEMU is
enough for those 20 bytes for the H_RTAS hcall.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20200316011841.99970-1-aik@ozlabs.ru>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

395a20d310-Mar-2020 Alexey Kardashevskiy <aik@ozlabs.ru>

ppc/spapr: Move GPRs setup to one place

At the moment "pseries" starts in SLOF which only expects the FDT blob
pointer in r3. As we are going to introduce a OpenFirmware support in
QEMU, we will be

ppc/spapr: Move GPRs setup to one place

At the moment "pseries" starts in SLOF which only expects the FDT blob
pointer in r3. As we are going to introduce a OpenFirmware support in
QEMU, we will be booting OF clients directly and these expect a stack
pointer in r1, Linux looks at r3/r4 for the initramdisk location
(although vmlinux can find this from the device tree but zImage from
distro kernels cannot).

This extends spapr_cpu_set_entry_state() to take more registers. This
should cause no behavioral change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20200310050733.29805-2-aik@ozlabs.ru>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

1052ab6719-Feb-2020 David Gibson <david@gibson.dropbear.id.au>

spapr: Don't clamp RMA to 16GiB on new machine types

In spapr_machine_init() we clamp the size of the RMA to 16GiB and the
comment saying why doesn't make a whole lot of sense. In fact, this was
do

spapr: Don't clamp RMA to 16GiB on new machine types

In spapr_machine_init() we clamp the size of the RMA to 16GiB and the
comment saying why doesn't make a whole lot of sense. In fact, this was
done because the real mode handling code elsewhere limited the RMA in TCG
mode to the maximum value configurable in LPCR[RMLS], 16GiB.

But,
* Actually LPCR[RMLS] has been able to encode a 256GiB size for a very
long time, we just didn't implement it properly in the softmmu
* LPCR[RMLS] shouldn't really be relevant anyway, it only was because we
used to abuse the RMOR based translation mode in order to handle the
fact that we're not modelling the hypervisor parts of the cpu

We've now removed those limitations in the modelling so the 16GiB clamp no
longer serves a function. However, we can't just remove the limit
universally: that would break migration to earlier qemu versions, where
the 16GiB RMLS limit still applies, no matter how bad the reasons for it
are.

So, we replace the 16GiB clamp, with a clamp to a limit defined in the
machine type class. We set it to 16 GiB for machine types 4.2 and earlier,
but set it to 0 meaning unlimited for the new 5.0 machine type.

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

show more ...

8897ea5a27-Nov-2019 David Gibson <david@gibson.dropbear.id.au>

spapr: Don't attempt to clamp RMA to VRMA constraint

The Real Mode Area (RMA) is the part of memory which a guest can access
when in real (MMU off) mode. Of course, for a guest under KVM, the MMU
i

spapr: Don't attempt to clamp RMA to VRMA constraint

The Real Mode Area (RMA) is the part of memory which a guest can access
when in real (MMU off) mode. Of course, for a guest under KVM, the MMU
isn't really turned off, it's just in a special translation mode - Virtual
Real Mode Area (VRMA) - which looks like real mode in guest mode.

The mechanics of how this works when using the hash MMU (HPT) put a
constraint on the size of the RMA, which depends on the size of the
HPT. So, the latter part of spapr_setup_hpt_and_vrma() clamps the RMA
we advertise to the guest based on this VRMA limit.

There are several things wrong with this:
1) spapr_setup_hpt_and_vrma() doesn't actually clamp, it takes the minimum
of Node 0 memory size and the VRMA limit. That will *often* work the
same as clamping, but there can be other constraints on RMA size which
supersede Node 0 memory size. We have real bugs caused by this
(currently worked around in the guest kernel)
2) Some callers of spapr_setup_hpt_and_vrma() are in a situation where
we're past the point that we can actually advertise an RMA limit to the
guest
3) But most fundamentally, the VRMA limit depends on host configuration
(page size) which shouldn't be visible to the guest, but this partially
exposes it. This can cause problems with migration in certain edge
cases, although we will mostly get away with it.

In practice, this clamping is almost never applied anyway. With 64kiB
pages and the normal rules for sizing of the HPT, the theoretical VRMA
limit will be 4x(guest memory size) and so never hit. It will hit with
4kiB pages, where it will be (guest memory size)/4. However all mainstream
distro kernels for POWER have used a 64kiB page size for at least 10 years.

So, simply replace this logic with a check that the RMA we've calculated
based only on guest visible configuration will fit within the host implied
VRMA limit. This can break if running HPT guests on a host kernel with
4kiB page size. As noted that's very rare. There also exist several
possible workarounds:
* Change the host kernel to use 64kiB pages
* Use radix MMU (RPT) guests instead of HPT
* Use 64kiB hugepages on the host to back guest memory
* Increase the guest memory size so that the RMA hits one of the fixed
limits before the RMA limit. This is relatively easy on POWER8 which
has a 16GiB limit, harder on POWER9 which has a 1TiB limit.
* Use a guest NUMA configuration which artificially constrains the RMA
within the VRMA limit (the RMA must always fit within Node 0).

Previously, on KVM, we also temporarily reduced the rma_size to 256M so
that the we'd load the kernel and initrd safely, regardless of the VRMA
limit. This was a) confusing, b) could significantly limit the size of
images we could load and c) introduced a behavioural difference between
KVM and TCG. So we remove that as well.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <groug@kaod.org>

show more ...

ad334d8924-Feb-2020 Greg Kurz <groug@kaod.org>

spapr: Handle pending hot plug/unplug requests at CAS

If a hot plug or unplug request is pending at CAS, we currently trigger
a CAS reboot, which severely increases the guest boot time. This is
beca

spapr: Handle pending hot plug/unplug requests at CAS

If a hot plug or unplug request is pending at CAS, we currently trigger
a CAS reboot, which severely increases the guest boot time. This is
because SLOF doesn't handle hot plug events and we had no way to fix
the FDT that gets presented to the guest.

We can do better thanks to recent changes in QEMU and SLOF:

- we now return a full FDT to SLOF during CAS

- SLOF was fixed to correctly detect any device that was either added or
removed since boot time and to update its internal DT accordingly.

The right solution is to process all pending hot plug/unplug requests
during CAS: convert hot plugged devices to cold plugged devices and
remove the hot unplugged ones, which is exactly what spapr_drc_reset()
does. Also clear all hot plug events that are currently queued since
they're no longer relevant.

Note that SLOF cannot currently populate hot plugged PCI bridges or PHBs
at CAS. Until this limitation is lifted, SLOF will reset the machine when
this scenario occurs : this will allow the FDT to be fully processed when
SLOF is started again (ie. the same effect as the CAS reboot that would
occur anyway without this patch).

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

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/mixeng.c
/openbmc/qemu/audio/mixeng_template.h
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/monitor/Makefile.objs
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi-sysemu.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-threads.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/chardev/char-pipe.c
/openbmc/qemu/chardev/char-win.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user-glib.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user-glib.h
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/vhost-user-input/main.c
/openbmc/qemu/crypto/block.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/dma-helpers.c
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/block-replication.txt
/openbmc/qemu/docs/can.txt
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/defs.rst.inc
/openbmc/qemu/docs/devel/atomics.txt
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/docs/devel/loads-stores.rst
/openbmc/qemu/docs/devel/multi-thread-tcg.txt
/openbmc/qemu/docs/devel/s390-dasd-ipl.rst
/openbmc/qemu/docs/devel/tcg-plugins.rst
/openbmc/qemu/docs/devel/tcg.rst
/openbmc/qemu/docs/index.html.in
/openbmc/qemu/docs/index.rst
/openbmc/qemu/docs/interop/conf.py
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/qemu-option-trace.rst.inc
/openbmc/qemu/docs/replay.txt
/openbmc/qemu/docs/specs/acpi_cpu_hotplug.txt
/openbmc/qemu/docs/specs/fw_cfg.txt
/openbmc/qemu/docs/specs/ivshmem-spec.txt
/openbmc/qemu/docs/specs/tpm.rst
/openbmc/qemu/docs/sphinx/hxtool.py
/openbmc/qemu/docs/system/arm/cpu-features.rst
/openbmc/qemu/docs/system/arm/integratorcp.rst
/openbmc/qemu/docs/system/arm/musicpal.rst
/openbmc/qemu/docs/system/arm/nseries.rst
/openbmc/qemu/docs/system/arm/orangepi.rst
/openbmc/qemu/docs/system/arm/palm.rst
/openbmc/qemu/docs/system/arm/realview.rst
/openbmc/qemu/docs/system/arm/stellaris.rst
/openbmc/qemu/docs/system/arm/sx1.rst
/openbmc/qemu/docs/system/arm/versatile.rst
/openbmc/qemu/docs/system/arm/xscale.rst
/openbmc/qemu/docs/system/build-platforms.rst
/openbmc/qemu/docs/system/conf.py
/openbmc/qemu/docs/system/cpu-models-mips.rst.inc
/openbmc/qemu/docs/system/cpu-models-x86.rst.inc
/openbmc/qemu/docs/system/deprecated.rst
/openbmc/qemu/docs/system/device-url-syntax.rst.inc
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/docs/system/images.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/invocation.rst
/openbmc/qemu/docs/system/ivshmem.rst
/openbmc/qemu/docs/system/keys.rst
/openbmc/qemu/docs/system/keys.rst.inc
/openbmc/qemu/docs/system/license.rst
/openbmc/qemu/docs/system/linuxboot.rst
/openbmc/qemu/docs/system/managed-startup.rst
/openbmc/qemu/docs/system/monitor.rst
/openbmc/qemu/docs/system/mux-chardev.rst
/openbmc/qemu/docs/system/mux-chardev.rst.inc
/openbmc/qemu/docs/system/net.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst.inc
/openbmc/qemu/docs/system/qemu-cpu-models.rst
/openbmc/qemu/docs/system/qemu-manpage.rst
/openbmc/qemu/docs/system/quickstart.rst
/openbmc/qemu/docs/system/security.rst
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/docs/system/target-i386-desc.rst.inc
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/docs/system/target-m68k.rst
/openbmc/qemu/docs/system/target-mips.rst
/openbmc/qemu/docs/system/target-ppc.rst
/openbmc/qemu/docs/system/target-sparc.rst
/openbmc/qemu/docs/system/target-sparc64.rst
/openbmc/qemu/docs/system/target-xtensa.rst
/openbmc/qemu/docs/system/targets.rst
/openbmc/qemu/docs/system/tls.rst
/openbmc/qemu/docs/system/usb.rst
/openbmc/qemu/docs/system/vfio-ap.rst
/openbmc/qemu/docs/system/vnc-security.rst
/openbmc/qemu/docs/tools/conf.py
/openbmc/qemu/docs/tools/index.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/docs/tools/qemu-trace-stap.rst
/openbmc/qemu/docs/tools/virtfs-proxy-helper.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/docs/user/conf.py
/openbmc/qemu/docs/user/index.rst
/openbmc/qemu/docs/user/main.rst
/openbmc/qemu/exec.c
/openbmc/qemu/fsdev/virtfs-proxy-helper.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/9pfs/9p-proxy.c
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/alpha/alpha_sys.h
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/allwinner-h3.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/gumstix.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/cpu/a9mpcore.c
/openbmc/qemu/hw/cpu/arm11mpcore.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/edid-generate.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/milkymist-tmu2.c
/openbmc/qemu/hw/display/omap_dss.c
/openbmc/qemu/hw/display/omap_lcdc.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/dma/etraxfs_dma.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/acpi-build.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/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/allwinner-cpucfg.c
/openbmc/qemu/hw/misc/allwinner-h3-ccu.c
/openbmc/qemu/hw/misc/allwinner-h3-dramc.c
/openbmc/qemu/hw/misc/allwinner-h3-sysctrl.c
/openbmc/qemu/hw/misc/allwinner-sid.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/pc-testdev.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/moxie/moxiesim.c
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/lasi_i82596.c
/openbmc/qemu/hw/net/net_rx_pkt.c
/openbmc/qemu/hw/net/net_rx_pkt.h
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-bridge/pcie_root_port.c
/openbmc/qemu/hw/pci-bridge/xio3130_downstream.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/pcie_port.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/riscv/sifive_clint.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/allwinner-rtc.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/trace-events
/openbmc/qemu/hw/timer/cadence_ttc.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/tpm/Kconfig
/openbmc/qemu/hw/tpm/Makefile.objs
/openbmc/qemu/hw/tpm/tpm_tis.h
/openbmc/qemu/hw/tpm/tpm_tis_common.c
/openbmc/qemu/hw/tpm/tpm_tis_isa.c
/openbmc/qemu/hw/tpm/tpm_tis_sysbus.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-pmem.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen_pt_graphics.c
/openbmc/qemu/hw/xen/xen_pt_load_rom.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/block-hmp-cmds.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/arm/allwinner-a10.h
/openbmc/qemu/include/hw/arm/allwinner-h3.h
/openbmc/qemu/include/hw/arm/fsl-imx25.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/ich9.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/ioapic_internal.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/intc/arm_gic.h
/openbmc/qemu/include/hw/intc/arm_gic_common.h
/openbmc/qemu/include/hw/misc/allwinner-cpucfg.h
/openbmc/qemu/include/hw/misc/allwinner-h3-ccu.h
/openbmc/qemu/include/hw/misc/allwinner-h3-dramc.h
/openbmc/qemu/include/hw/misc/allwinner-h3-sysctrl.h
/openbmc/qemu/include/hw/misc/allwinner-sid.h
/openbmc/qemu/include/hw/net/allwinner-sun8i-emac.h
/openbmc/qemu/include/hw/nmi.h
/openbmc/qemu/include/hw/pci-host/q35.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/hw/pci/pcie_port.h
spapr.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/riscv/sifive_clint.h
/openbmc/qemu/include/hw/rtc/allwinner-rtc.h
/openbmc/qemu/include/hw/sd/allwinner-sdhost.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/virtio-iommu.h
/openbmc/qemu/include/hw/xen/xen-bus.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/net/filter.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qemu/progress_meter.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qom/object_interfaces.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/input.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/sysemu/tpm.h
/openbmc/qemu/job-qmp.c
/openbmc/qemu/job.c
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/unistd.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-user/arm/signal.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd-zlib.c
/openbmc/qemu/migration/multifd-zstd.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/multifd.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor/Makefile.objs
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/hmp.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/filter.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/hub.h
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/jump2ipl.c
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-arch.h
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/plugins/core.c
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/pragma.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/transaction.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-storage-daemon.c
/openbmc/qemu/qemu.nsi
/openbmc/qemu/qga/channel-win32.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qom/Makefile.objs
/openbmc/qemu/qom/qom-qmp-cmds.c
/openbmc/qemu/qtest.c
/openbmc/qemu/roms/SLOF
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/coccinelle/exec_rw_const.cocci
/openbmc/qemu/scripts/git.orderfile
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/hxtool-conv.pl
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.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/scripts/texi2pod.pl
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/storage-daemon/Makefile.objs
/openbmc/qemu/storage-daemon/qapi/Makefile.objs
/openbmc/qemu/storage-daemon/qapi/qapi-schema.json
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/arch_type.c
/openbmc/qemu/stubs/monitor-core.c
/openbmc/qemu/stubs/monitor.c
/openbmc/qemu/target/arm/arch_dump.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper-a64.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/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/m_helper.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/vfp-uncond.decode
/openbmc/qemu/target/arm/vfp.decode
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/hvf/vmx.h
/openbmc/qemu/target/i386/hvf/x86_mmu.c
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_privileged.inc.c
/openbmc/qemu/target/riscv/instmap.h
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/kvm-stub.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/kvm_s390x.h
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/machine_arm_integratorcp.py
/openbmc/qemu/tests/acceptance/machine_arm_n8x0.py
/openbmc/qemu/tests/acceptance/machine_mips_malta.py
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/docker/dockerfiles/centos7.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/plugin/bb.c
/openbmc/qemu/tests/plugin/howvec.c
/openbmc/qemu/tests/plugin/insn.c
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/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/085.out
/openbmc/qemu/tests/qemu-iotests/155
/openbmc/qemu/tests/qemu-iotests/155.out
/openbmc/qemu/tests/qemu-iotests/178
/openbmc/qemu/tests/qemu-iotests/178.out.qcow2
/openbmc/qemu/tests/qemu-iotests/178.out.raw
/openbmc/qemu/tests/qemu-iotests/214
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/245.out
/openbmc/qemu/tests/qemu-iotests/282
/openbmc/qemu/tests/qemu-iotests/282.out
/openbmc/qemu/tests/qemu-iotests/288
/openbmc/qemu/tests/qemu-iotests/288.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/fuzz/fork_fuzz.ld
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/tpm-crb-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-crb-test.c
/openbmc/qemu/tests/qtest/tpm-tests.c
/openbmc/qemu/tests/qtest/tpm-tests.h
/openbmc/qemu/tests/qtest/tpm-tis-device-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-tis-device-test.c
/openbmc/qemu/tests/qtest/tpm-tis-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-tis-test.c
/openbmc/qemu/tests/qtest/tpm-tis-util.c
/openbmc/qemu/tests/qtest/tpm-tis-util.h
/openbmc/qemu/tests/qtest/tpm-util.c
/openbmc/qemu/tests/qtest/tpm-util.h
/openbmc/qemu/tests/rcutorture.c
/openbmc/qemu/tests/requirements.txt
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/pauth-1.c
/openbmc/qemu/tests/tcg/aarch64/pauth-4.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/test-rcu-list.c
/openbmc/qemu/tests/test-replication.c
/openbmc/qemu/tests/test-util-sockets.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/tools/virtiofsd/seccomp.c
/openbmc/qemu/trace/control.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-posix.h
/openbmc/qemu/util/fdmon-epoll.c
/openbmc/qemu/util/fdmon-io_uring.c
/openbmc/qemu/util/fdmon-poll.c
/openbmc/qemu/util/osdep.c
/openbmc/qemu/util/trace-events
ca6155c025-Feb-2020 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 'patchew/20200219160953.13771-1-imammedo@redhat.com' of https://github.com/patchew-project/qemu into HEAD

This series removes ad hoc RAM allocation API (memory_region_allocate_system_memor

Merge tag 'patchew/20200219160953.13771-1-imammedo@redhat.com' of https://github.com/patchew-project/qemu into HEAD

This series removes ad hoc RAM allocation API (memory_region_allocate_system_memory)
and consolidates it around hostmem backend. It allows to

* resolve conflicts between global -mem-prealloc and hostmem's "policy" option,
fixing premature allocation before binding policy is applied

* simplify complicated memory allocation routines which had to deal with 2 ways
to allocate RAM.

* reuse hostmem backends of a choice for main RAM without adding extra CLI
options to duplicate hostmem features. A recent case was -mem-shared, to
enable vhost-user on targets that don't support hostmem backends [1] (ex: s390)

* move RAM allocation from individual boards into generic machine code and
provide them with prepared MemoryRegion.

* clean up deprecated NUMA features which were tied to the old API (see patches)
- "numa: remove deprecated -mem-path fallback to anonymous RAM"
- (POSTPONED, waiting on libvirt side) "forbid '-numa node,mem' for 5.0 and newer machine types"
- (POSTPONED) "numa: remove deprecated implicit RAM distribution between nodes"

Introduce a new machine.memory-backend property and wrapper code that aliases
global -mem-path and -mem-alloc into automatically created hostmem backend
properties (provided memory-backend was not set explicitly given by user).
A bulk of trivial patches then follow to incrementally convert individual
boards to using machine.memory-backend provided MemoryRegion.

Board conversion typically involves:

* providing MachineClass::default_ram_size and MachineClass::default_ram_id
so generic code could create default backend if user didn't explicitly provide
memory-backend or -m options

* dropping memory_region_allocate_system_memory() call

* using convenience MachineState::ram MemoryRegion, which points to MemoryRegion
allocated by ram-memdev

On top of that for some boards:

* missing ram_size checks are added (typically it were boards with fixed ram size)

* ram_size fixups are replaced by checks and hard errors, forcing user to
provide correct "-m" values instead of ignoring it and continuing running.

After all boards are converted, the old API is removed and memory allocation
routines are cleaned up.

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-memfd.c
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/spice.c
/openbmc/qemu/configure
/openbmc/qemu/docs/devel/fuzzing.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/qemu-img.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hw/alpha/alpha_sys.h
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/mcimx6ul-evk.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/null-machine.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mips/boston.c
/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_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/iotkit-secctl.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/mpc8544ds.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/sh_pci.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-ohci.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/qapi.h
/openbmc/qemu/include/hw/arm/allwinner-a10.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/misc/aspeed_sdmc.h
ppc4xx.h
/openbmc/qemu/include/qemu/log.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qemu/rcu_queue.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/signal.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/linux-user/syscall_types.h
/openbmc/qemu/linux-user/vm86.c
/openbmc/qemu/memory.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qtest.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/get_maintainer.pl
/openbmc/qemu/softmmu/Makefile.objs
/openbmc/qemu/softmmu/main.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper-sve.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/neon_helper.c
/openbmc/qemu/target/arm/pauth_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-vfp.inc.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/i386/fpu_helper.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/qemu-iotests/122
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/259
/openbmc/qemu/tests/qemu-iotests/259.out
/openbmc/qemu/tests/qemu-iotests/279
/openbmc/qemu/tests/qemu-iotests/284
/openbmc/qemu/tests/qemu-iotests/284.out
/openbmc/qemu/tests/qemu-iotests/286
/openbmc/qemu/tests/qemu-iotests/286.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/fuzz/Makefile.include
/openbmc/qemu/tests/qtest/fuzz/fork_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/fork_fuzz.h
/openbmc/qemu/tests/qtest/fuzz/fork_fuzz.ld
/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/qos_fuzz.h
/openbmc/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_scsi_fuzz.c
/openbmc/qemu/tests/qtest/libqos/i2c.c
/openbmc/qemu/tests/qtest/libqos/i2c.h
/openbmc/qemu/tests/qtest/libqos/qos_external.c
/openbmc/qemu/tests/qtest/libqos/qos_external.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/libqtest.h
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/pca9552-test.c
/openbmc/qemu/tests/qtest/qos-test.c
/openbmc/qemu/tests/test-aio.c
/openbmc/qemu/tests/test-rcu-list.c
/openbmc/qemu/tests/test-rcu-slist.c
/openbmc/qemu/tools/virtiofsd/fuse_i.h
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.c
/openbmc/qemu/tools/virtiofsd/helper.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/log.c
/openbmc/qemu/util/module.c
/openbmc/qemu/util/oslib-posix.c
4b63db1214-Feb-2020 Greg Kurz <groug@kaod.org>

spapr: Don't use spapr_drc_needed() in CAS code

We currently don't support hotplug of devices between boot and CAS. If
this happens a CAS reboot is triggered. We detect this during CAS using
the spa

spapr: Don't use spapr_drc_needed() in CAS code

We currently don't support hotplug of devices between boot and CAS. If
this happens a CAS reboot is triggered. We detect this during CAS using
the spapr_drc_needed() function which is essentially a VMStateDescription
.needed callback. Even if the condition for CAS reboot happens to be the
same as for DRC migration, it looks wrong to piggyback a migration helper
for this.

Introduce a helper with slightly more explicit name and use it in both CAS
and DRC migration code. Since a subsequent patch will enhance this helper
to cover the case of hot unplug, let's go for spapr_drc_transient(). While
here convert spapr_hotplugged_dev_before_cas() to the "transient" wording as
well.

This doesn't change any behaviour.

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

show more ...

8726280602-Feb-2020 Alexey Kardashevskiy <aik@ozlabs.ru>

spapr: Allow changing offset for -kernel image

This allows moving the kernel in the guest memory. The option is useful
for step debugging (as Linux is linked at 0x0); it also allows loading
grub whi

spapr: Allow changing offset for -kernel image

This allows moving the kernel in the guest memory. The option is useful
for step debugging (as Linux is linked at 0x0); it also allows loading
grub which is normally linked to run at 0x20000.

This uses the existing kernel address by default.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20200203032943.121178-6-aik@ozlabs.ru>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

b5fca65609-Feb-2020 Shivaprasad G Bhat <sbhat@linux.ibm.com>

spapr: Add Hcalls to support PAPR NVDIMM device

This patch implements few of the necessary hcalls for the nvdimm support.

PAPR semantics is such that each NVDIMM device is comprising of multiple
SC

spapr: Add Hcalls to support PAPR NVDIMM device

This patch implements few of the necessary hcalls for the nvdimm support.

PAPR semantics is such that each NVDIMM device is comprising of multiple
SCM(Storage Class Memory) blocks. The guest requests the hypervisor to
bind each of the SCM blocks of the NVDIMM device using hcalls. There can
be SCM block unbind requests in case of driver errors or unplug(not
supported now) use cases. The NVDIMM label read/writes are done through
hcalls.

Since each virtual NVDIMM device is divided into multiple SCM blocks,
the bind, unbind, and queries using hcalls on those blocks can come
independently. This doesn't fit well into the qemu device semantics,
where the map/unmap are done at the (whole)device/object level granularity.
The patch doesnt actually bind/unbind on hcalls but let it happen at the
device_add/del phase itself instead.

The guest kernel makes bind/unbind requests for the virtual NVDIMM device
at the region level granularity. Without interleaving, each virtual NVDIMM
device is presented as a separate guest physical address range. So, there
is no way a partial bind/unbind request can come for the vNVDIMM in a
hcall for a subset of SCM blocks of a virtual NVDIMM. Hence it is safe to
do bind/unbind everything during the device_add/del.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Message-Id: <158131059899.2897.11515211602702956854.stgit@lep8c.aus.stglabs.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

ee3a71e309-Feb-2020 Shivaprasad G Bhat <sbhat@linux.ibm.com>

spapr: Add NVDIMM device support

Add support for NVDIMM devices for sPAPR. Piggyback on existing nvdimm
device interface in QEMU to support virtual NVDIMM devices for Power.
Create the required DT e

spapr: Add NVDIMM device support

Add support for NVDIMM devices for sPAPR. Piggyback on existing nvdimm
device interface in QEMU to support virtual NVDIMM devices for Power.
Create the required DT entries for the device (some entries have
dummy values right now).

The patch creates the required DT node and sends a hotplug
interrupt to the guest. Guest is expected to undertake the normal
DR resource add path in response and start issuing PAPR SCM hcalls.

The device support is verified based on the machine version unlike x86.

This is how it can be used ..
Ex :
For coldplug, the device to be added in qemu command line as shown below
-object memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
-device nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0

For hotplug, the device to be added from monitor as below
object_add memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
device_add nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
[Early implementation]
Message-Id: <158131058078.2897.12767731856697459923.stgit@lep8c.aus.stglabs.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/.readthedocs.yml
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/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/mixeng.c
/openbmc/qemu/audio/mixeng.h
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/filter-compress.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/io_uring.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2-threads.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/rdmacm-mux/main.c
/openbmc/qemu/default-configs/ppc64-softmmu.mak
/openbmc/qemu/docs/arm-cpu-features.rst
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/interop/conf.py
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qemu-img.rst
/openbmc/qemu/docs/interop/qemu-nbd.rst
/openbmc/qemu/docs/interop/qemu-trace-stap.rst
/openbmc/qemu/docs/interop/virtfs-proxy-helper.rst
/openbmc/qemu/docs/interop/virtiofsd.rst
/openbmc/qemu/docs/sphinx/hxtool.py
/openbmc/qemu/exec.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-synth.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/adc/Makefile.objs
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/qxl.h
/openbmc/qemu/hw/dma/Makefile.objs
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/gpio/Makefile.objs
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/ppc4xx_i2c.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/input/Makefile.objs
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/misc/imx2_wdt.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/rocker/rocker.c
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/nvram/Makefile.objs
/openbmc/qemu/hw/pcmcia/Makefile.objs
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_nvdimm.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/goldfish_rtc.c
/openbmc/qemu/hw/rtc/m48t59-internal.h
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/ssi/Makefile.objs
/openbmc/qemu/hw/timer/armv7m_systick.c
/openbmc/qemu/hw/timer/stm32f2xx_timer.c
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/xenpv/xen_machine_pv.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/helper-gen.h
/openbmc/qemu/include/exec/helper-head.h
/openbmc/qemu/include/exec/helper-proto.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
spapr_drc.h
spapr_nvdimm.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/rtc/goldfish_rtc.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qemu/nvdimm-utils.h
/openbmc/qemu/include/qemu/seqlock.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/tcg/tcg-op-gvec.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/linux-user/alpha/syscall_nr.h
/openbmc/qemu/linux-user/arm/syscall_nr.h
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/hppa/target_signal.h
/openbmc/qemu/linux-user/m68k/syscall_nr.h
/openbmc/qemu/linux-user/microblaze/syscall_nr.h
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/mips/syscall_nr.h
/openbmc/qemu/linux-user/mips64/syscall_nr.h
/openbmc/qemu/linux-user/sh4/syscall_nr.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/linux-user/x86_64/syscall_nr.h
/openbmc/qemu/linux-user/xtensa/syscall_nr.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/monitor/Makefile.objs
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/monitor/qmp-cmds-control.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/qmp.py
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/dump.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/rocker.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/tpm.json
/openbmc/qemu/qapi/trace.json
/openbmc/qemu/qapi/transaction.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qtest.c
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/analyse-9p-simpletrace.py
/openbmc/qemu/scripts/analyse-locks-simpletrace.py
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/git-submodule.sh
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/kvm/kvm_flightrecorder
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/scripts/modules/module_block.py
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qmp/qemu-ga-client
/openbmc/qemu/scripts/qmp/qmp
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/qmp/qom-fuse
/openbmc/qemu/scripts/qmp/qom-get
/openbmc/qemu/scripts/qmp/qom-list
/openbmc/qemu/scripts/qmp/qom-set
/openbmc/qemu/scripts/qmp/qom-tree
/openbmc/qemu/scripts/render_block_graph.py
/openbmc/qemu/scripts/replay-dump.py
/openbmc/qemu/scripts/signrom.py
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/scripts/tracetool.py
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/__init__.py
/openbmc/qemu/scripts/tracetool/backend/dtrace.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/simple.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/scripts/tracetool/backend/ust.py
/openbmc/qemu/scripts/tracetool/format/__init__.py
/openbmc/qemu/scripts/tracetool/format/c.py
/openbmc/qemu/scripts/tracetool/format/d.py
/openbmc/qemu/scripts/tracetool/format/h.py
/openbmc/qemu/scripts/tracetool/format/log_stap.py
/openbmc/qemu/scripts/tracetool/format/simpletrace_stap.py
/openbmc/qemu/scripts/tracetool/format/stap.py
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_wrapper_h.py
/openbmc/qemu/scripts/tracetool/format/ust_events_c.py
/openbmc/qemu/scripts/tracetool/format/ust_events_h.py
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/scripts/tracetool/vcpu.py
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/monitor.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/pauth_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/mips/Makefile.objs
/openbmc/qemu/target/mips/cp0_helper.c
/openbmc/qemu/target/mips/fpu_helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/tcg/tcg-op-gvec.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/migration.py
/openbmc/qemu/tests/acceptance/version.py
/openbmc/qemu/tests/acceptance/virtio_check_params.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/check-block.sh
/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/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/travis.py
/openbmc/qemu/tests/guest-debug/test-gdbstub.py
/openbmc/qemu/tests/migration/guestperf/engine.py
/openbmc/qemu/tests/migration/guestperf/plot.py
/openbmc/qemu/tests/migration/guestperf/shell.py
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/040.out
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/041.out
/openbmc/qemu/tests/qemu-iotests/044
/openbmc/qemu/tests/qemu-iotests/045
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/056
/openbmc/qemu/tests/qemu-iotests/057
/openbmc/qemu/tests/qemu-iotests/065
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/096
/openbmc/qemu/tests/qemu-iotests/118
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/127
/openbmc/qemu/tests/qemu-iotests/129
/openbmc/qemu/tests/qemu-iotests/132
/openbmc/qemu/tests/qemu-iotests/136
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/151
/openbmc/qemu/tests/qemu-iotests/152
/openbmc/qemu/tests/qemu-iotests/155
/openbmc/qemu/tests/qemu-iotests/163
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/169
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/196
/openbmc/qemu/tests/qemu-iotests/199
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/206
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/208
/openbmc/qemu/tests/qemu-iotests/209
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/211
/openbmc/qemu/tests/qemu-iotests/212
/openbmc/qemu/tests/qemu-iotests/213
/openbmc/qemu/tests/qemu-iotests/216
/openbmc/qemu/tests/qemu-iotests/218
/openbmc/qemu/tests/qemu-iotests/219
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/224
/openbmc/qemu/tests/qemu-iotests/228
/openbmc/qemu/tests/qemu-iotests/234
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/236
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/238
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/244
/openbmc/qemu/tests/qemu-iotests/244.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/246
/openbmc/qemu/tests/qemu-iotests/248
/openbmc/qemu/tests/qemu-iotests/254
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/256
/openbmc/qemu/tests/qemu-iotests/257
/openbmc/qemu/tests/qemu-iotests/258
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/262
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/266
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/277
/openbmc/qemu/tests/qemu-iotests/280
/openbmc/qemu/tests/qemu-iotests/281
/openbmc/qemu/tests/qemu-iotests/283
/openbmc/qemu/tests/qemu-iotests/283.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/nbd-fault-injector.py
/openbmc/qemu/tests/qemu-iotests/qcow2.py
/openbmc/qemu/tests/qemu-iotests/qed.py
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/boot-serial-test.c
/openbmc/qemu/tests/qtest/libqos/fw_cfg.h
/openbmc/qemu/tests/qtest/libqos/libqos-spapr.h
/openbmc/qemu/tests/qtest/libqos/qgraph.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/prom-env-test.c
/openbmc/qemu/tests/qtest/pxe-test.c
/openbmc/qemu/tests/qtest/qmp-test.c
/openbmc/qemu/tests/qtest/virtio-9p-test.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/test-logging.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/tools/virtiofsd/fuse.h
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.c
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.h
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/input-barrier.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/nvdimm-utils.c
/openbmc/qemu/util/qemu-timer-common.c
/openbmc/qemu/util/vfio-helpers.c
/openbmc/qemu/vl.c
b28f018819-Feb-2020 Igor Mammedov <imammedo@redhat.com>

ppc/{ppc440_bamboo, sam460ex}: use memdev for RAM

memory_region_allocate_system_memory() API is going away, so
replace it with memdev allocated MemoryRegion. The later is
initialized by generic code

ppc/{ppc440_bamboo, sam460ex}: use memdev for RAM

memory_region_allocate_system_memory() API is going away, so
replace it with memdev allocated MemoryRegion. The later is
initialized by generic code, so board only needs to opt in
to memdev scheme by providing
MachineClass::default_ram_id
and using MachineState::ram instead of manually initializing
RAM memory region.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200219160953.13771-67-imammedo@redhat.com>

show more ...

a0258e4a19-Feb-2020 Igor Mammedov <imammedo@redhat.com>

ppc/{ppc440_bamboo, sam460ex}: drop RAM size fixup

If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported or sometimes
crash like this:
%QEMU -M

ppc/{ppc440_bamboo, sam460ex}: drop RAM size fixup

If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported or sometimes
crash like this:
%QEMU -M bamboo -m 1
exec.c:1926: find_ram_offset: Assertion `size != 0' failed.
Aborted (core dumped)
Also RAM is going to be allocated by generic code, so it won't be
possible for board to fix things up for user.

Make it error message and exit to force user fix CLI,
instead of accepting non-sense CLI values.
That also fixes crash issue, since wrongly calculated size
isn't used to allocate RAM

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200219160953.13771-66-imammedo@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/.readthedocs.yml
/openbmc/qemu/.shippable.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/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/mixeng.c
/openbmc/qemu/audio/mixeng.h
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup-top.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/configure
/openbmc/qemu/docs/arm-cpu-features.rst
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/interop/conf.py
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qemu-img.rst
/openbmc/qemu/docs/interop/qemu-nbd.rst
/openbmc/qemu/docs/interop/qemu-trace-stap.rst
/openbmc/qemu/docs/interop/virtfs-proxy-helper.rst
/openbmc/qemu/docs/interop/virtiofsd.rst
/openbmc/qemu/docs/sphinx/hxtool.py
/openbmc/qemu/exec.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-synth.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/adc/Makefile.objs
/openbmc/qemu/hw/alpha/alpha_sys.h
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/mcimx6ul-evk.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/core/Makefile.objs
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/null-machine.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/qxl.h
/openbmc/qemu/hw/dma/Makefile.objs
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/gpio/Makefile.objs
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/ppc4xx_i2c.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/input/Makefile.objs
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mips/boston.c
/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_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/imx2_wdt.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/nvram/Makefile.objs
/openbmc/qemu/hw/pcmcia/Makefile.objs
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/mpc8544ds.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/Makefile.objs
/openbmc/qemu/hw/rtc/goldfish_rtc.c
/openbmc/qemu/hw/rtc/m48t59-internal.h
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/ssi/Makefile.objs
/openbmc/qemu/hw/timer/armv7m_systick.c
/openbmc/qemu/hw/timer/stm32f2xx_timer.c
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/xenpv/xen_machine_pv.c
/openbmc/qemu/include/exec/helper-gen.h
/openbmc/qemu/include/exec/helper-head.h
/openbmc/qemu/include/exec/helper-proto.h
/openbmc/qemu/include/exec/helper-tcg.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/misc/aspeed_sdmc.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
ppc4xx.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/rtc/goldfish_rtc.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qemu/seqlock.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/tcg/tcg-op-gvec.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/linux-user/alpha/syscall_nr.h
/openbmc/qemu/linux-user/arm/syscall_nr.h
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/hppa/target_signal.h
/openbmc/qemu/linux-user/m68k/syscall_nr.h
/openbmc/qemu/linux-user/microblaze/syscall_nr.h
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/mips/syscall_nr.h
/openbmc/qemu/linux-user/mips64/syscall_nr.h
/openbmc/qemu/linux-user/sh4/syscall_nr.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/linux-user/x86_64/syscall_nr.h
/openbmc/qemu/linux-user/xtensa/syscall_nr.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/monitor/Makefile.objs
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/monitor/qmp-cmds-control.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/python/qemu/accel.py
/openbmc/qemu/python/qemu/machine.py
/openbmc/qemu/python/qemu/qmp.py
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/dump.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/rocker.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/tpm.json
/openbmc/qemu/qapi/trace.json
/openbmc/qemu/qapi/transaction.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/analyse-9p-simpletrace.py
/openbmc/qemu/scripts/analyse-locks-simpletrace.py
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/git-submodule.sh
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/kvm/kvm_flightrecorder
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/scripts/modules/module_block.py
/openbmc/qemu/scripts/qapi-gen.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qmp/qemu-ga-client
/openbmc/qemu/scripts/qmp/qmp
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/qmp/qom-fuse
/openbmc/qemu/scripts/qmp/qom-get
/openbmc/qemu/scripts/qmp/qom-list
/openbmc/qemu/scripts/qmp/qom-set
/openbmc/qemu/scripts/qmp/qom-tree
/openbmc/qemu/scripts/render_block_graph.py
/openbmc/qemu/scripts/replay-dump.py
/openbmc/qemu/scripts/signrom.py
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/scripts/tracetool.py
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/__init__.py
/openbmc/qemu/scripts/tracetool/backend/dtrace.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/simple.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/scripts/tracetool/backend/ust.py
/openbmc/qemu/scripts/tracetool/format/__init__.py
/openbmc/qemu/scripts/tracetool/format/c.py
/openbmc/qemu/scripts/tracetool/format/d.py
/openbmc/qemu/scripts/tracetool/format/h.py
/openbmc/qemu/scripts/tracetool/format/log_stap.py
/openbmc/qemu/scripts/tracetool/format/simpletrace_stap.py
/openbmc/qemu/scripts/tracetool/format/stap.py
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_wrapper_h.py
/openbmc/qemu/scripts/tracetool/format/ust_events_c.py
/openbmc/qemu/scripts/tracetool/format/ust_events_h.py
/openbmc/qemu/scripts/tracetool/transform.py
/openbmc/qemu/scripts/tracetool/vcpu.py
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/monitor.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/pauth_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/mips/Makefile.objs
/openbmc/qemu/target/mips/cp0_helper.c
/openbmc/qemu/target/mips/fpu_helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/tcg/tcg-op-gvec.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/migration.py
/openbmc/qemu/tests/acceptance/version.py
/openbmc/qemu/tests/acceptance/virtio_check_params.py
/openbmc/qemu/tests/acceptance/x86_cpu_model_versions.py
/openbmc/qemu/tests/check-block.sh
/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/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/travis.py
/openbmc/qemu/tests/guest-debug/test-gdbstub.py
/openbmc/qemu/tests/migration/guestperf/engine.py
/openbmc/qemu/tests/migration/guestperf/plot.py
/openbmc/qemu/tests/migration/guestperf/shell.py
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/041
/openbmc/qemu/tests/qemu-iotests/044
/openbmc/qemu/tests/qemu-iotests/045
/openbmc/qemu/tests/qemu-iotests/055
/openbmc/qemu/tests/qemu-iotests/056
/openbmc/qemu/tests/qemu-iotests/057
/openbmc/qemu/tests/qemu-iotests/065
/openbmc/qemu/tests/qemu-iotests/093
/openbmc/qemu/tests/qemu-iotests/096
/openbmc/qemu/tests/qemu-iotests/118
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/127
/openbmc/qemu/tests/qemu-iotests/129
/openbmc/qemu/tests/qemu-iotests/132
/openbmc/qemu/tests/qemu-iotests/136
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/148
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/151
/openbmc/qemu/tests/qemu-iotests/152
/openbmc/qemu/tests/qemu-iotests/155
/openbmc/qemu/tests/qemu-iotests/163
/openbmc/qemu/tests/qemu-iotests/165
/openbmc/qemu/tests/qemu-iotests/169
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/196
/openbmc/qemu/tests/qemu-iotests/199
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/206
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/208
/openbmc/qemu/tests/qemu-iotests/209
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/211
/openbmc/qemu/tests/qemu-iotests/212
/openbmc/qemu/tests/qemu-iotests/213
/openbmc/qemu/tests/qemu-iotests/216
/openbmc/qemu/tests/qemu-iotests/218
/openbmc/qemu/tests/qemu-iotests/219
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/224
/openbmc/qemu/tests/qemu-iotests/228
/openbmc/qemu/tests/qemu-iotests/234
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/236
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/238
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/246
/openbmc/qemu/tests/qemu-iotests/248
/openbmc/qemu/tests/qemu-iotests/254
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/256
/openbmc/qemu/tests/qemu-iotests/257
/openbmc/qemu/tests/qemu-iotests/258
/openbmc/qemu/tests/qemu-iotests/260
/openbmc/qemu/tests/qemu-iotests/262
/openbmc/qemu/tests/qemu-iotests/264
/openbmc/qemu/tests/qemu-iotests/266
/openbmc/qemu/tests/qemu-iotests/267
/openbmc/qemu/tests/qemu-iotests/277
/openbmc/qemu/tests/qemu-iotests/280
/openbmc/qemu/tests/qemu-iotests/281
/openbmc/qemu/tests/qemu-iotests/283
/openbmc/qemu/tests/qemu-iotests/283.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/nbd-fault-injector.py
/openbmc/qemu/tests/qemu-iotests/qcow2.py
/openbmc/qemu/tests/qemu-iotests/qed.py
/openbmc/qemu/tests/qtest/Makefile.include
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/boot-serial-test.c
/openbmc/qemu/tests/qtest/libqos/fw_cfg.h
/openbmc/qemu/tests/qtest/libqos/libqos-spapr.h
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/prom-env-test.c
/openbmc/qemu/tests/qtest/pxe-test.c
/openbmc/qemu/tests/qtest/qmp-test.c
/openbmc/qemu/tests/qtest/virtio-9p-test.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/test-logging.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/fedora
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/tools/virtiofsd/fuse.h
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.c
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.h
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/qemu-timer-common.c
/openbmc/qemu/vl.c
2500fb4230-Jan-2020 Aravinda Prasad <arawinda.p@gmail.com>

migration: Include migration support for machine check handling

This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine

migration: Include migration support for machine check handling

This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine check error handling is
complete as these errors are specific to the source
hardware and is irrelevant on the target hardware.

Signed-off-by: Aravinda Prasad <arawinda.p@gmail.com>
[Do not set FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Message-Id: <20200130184423.20519-7-ganeshgr@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

f03496bc30-Jan-2020 Aravinda Prasad <arawinda.p@gmail.com>

ppc: spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls

This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.

The machine check notificat

ppc: spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls

This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.

The machine check notification address is saved when the
OS issues "ibm,nmi-register" RTAS call.

This patch also handles the case when multiple processors
experience machine check at or about the same time by
handling "ibm,nmi-interlock" call. In such cases, as per
PAPR, subsequent processors serialize waiting for the first
processor to issue the "ibm,nmi-interlock" call. The second
processor that also received a machine check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.

Signed-off-by: Aravinda Prasad <arawinda.p@gmail.com>
[Register fwnmi RTAS calls in core_rtas_register_types()
where other RTAS calls are registered]
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Message-Id: <20200130184423.20519-6-ganeshgr@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

81fe70e430-Jan-2020 Aravinda Prasad <arawinda.p@gmail.com>

target/ppc: Build rtas error log upon an MCE

Upon a machine check exception (MCE) in a guest address space,
KVM causes a guest exit to enable QEMU to build and pass the
error to the guest in the PAP

target/ppc: Build rtas error log upon an MCE

Upon a machine check exception (MCE) in a guest address space,
KVM causes a guest exit to enable QEMU to build and pass the
error to the guest in the PAPR defined rtas error log format.

This patch builds the rtas error log, copies it to the rtas_addr
and then invokes the guest registered machine check handler. The
handler in the guest takes suitable action(s) depending on the type
and criticality of the error. For example, if an error is
unrecoverable memory corruption in an application inside the
guest, then the guest kernel sends a SIGBUS to the application.
For recoverable errors, the guest performs recovery actions and
logs the error.

Signed-off-by: Aravinda Prasad <arawinda.p@gmail.com>
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200130184423.20519-5-ganeshgr@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

9ac703ac30-Jan-2020 Aravinda Prasad <arawinda.p@gmail.com>

target/ppc: Handle NMI guest exit

Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
t

target/ppc: Handle NMI guest exit

Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reason
set to KVM_EXIT_NMI in such cases. This patch handles
KVM_EXIT_NMI exit.

[1] https://www.spinics.net/lists/kvm-ppc/msg12637.html
(e20bbd3d and related commits)

Signed-off-by: Aravinda Prasad <arawinda.p@gmail.com>
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20200130184423.20519-4-ganeshgr@linux.ibm.com>
[dwg: #ifdefs to fix compile for 32-bit target]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

1...<<11121314151617181920>>...39