History log of /openbmc/qemu/target/riscv/ (Results 826 – 850 of 1666)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
02b5119805-May-2022 eopXD <eop.chen@sifive.com>

target/riscv: rvv: Fix early exit condition for whole register load/store

Vector whole register load instructions have EEW encoded in the opcode,
so we shouldn't take SEW here. Vector whole register

target/riscv: rvv: Fix early exit condition for whole register load/store

Vector whole register load instructions have EEW encoded in the opcode,
so we shouldn't take SEW here. Vector whole register store instructions
are always EEW=8.

Signed-off-by: eop Chen <eop.chen@sifive.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <165181414065.18540.14828125053334599921-0@git.sr.ht>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

d6cd3ae006-May-2022 Dylan Reid <dylan@rivosinc.com>

target/riscv: Fix VS mode hypervisor CSR access

VS mode access to hypervisor CSRs should generate virtual, not illegal,
instruction exceptions.

Don't return early and indicate an illegal instructio

target/riscv: Fix VS mode hypervisor CSR access

VS mode access to hypervisor CSRs should generate virtual, not illegal,
instruction exceptions.

Don't return early and indicate an illegal instruction exception when
accessing a hypervisor CSR from VS mode. Instead, fall through to the
`hmode` predicate to return the correct virtual instruction exception.

Signed-off-by: Dylan Reid <dgreid@rivosinc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220506165456.297058-1-dgreid@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/containers.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml
/openbmc/qemu/.gitlab-ci.d/static_checks.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/.gitmodules
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/backends/rng.c
/openbmc/qemu/block/io.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/bsd-user/arm/target.h
/openbmc/qemu/bsd-user/x86_64/target.h
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/chardev-internal.h
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/openbmc/qemu/crypto/secret_common.c
/openbmc/qemu/crypto/tlscredsanon.c
/openbmc/qemu/crypto/tlscredspsk.c
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/devel/index-internals.rst
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/devel/virtio-backends.rst
/openbmc/qemu/docs/interop/nbd.txt
/openbmc/qemu/docs/interop/vhost-user-gpu.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/cxl.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/cxl-stub.c
/openbmc/qemu/hw/acpi/cxl.c
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/adc/zynq-xadc.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/soundhw.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cxl/Kconfig
/openbmc/qemu/hw/cxl/cxl-component-utils.c
/openbmc/qemu/hw/cxl/cxl-device-utils.c
/openbmc/qemu/hw/cxl/cxl-host-stubs.c
/openbmc/qemu/hw/cxl/cxl-host.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/cxl/meson.build
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/vhost-user-gpu.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/dma/xilinx_axidma.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/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/intel_iommu_internal.h
/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/x86.c
/openbmc/qemu/hw/input/vhost-user-input.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/cxl_type3.c
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/net/can/xlnx-zynqmp-can.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-bridge/Kconfig
/openbmc/qemu/hw/pci-bridge/cxl_root_port.c
/openbmc/qemu/hw/pci-bridge/meson.build
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci-bridge/pcie_root_port.c
/openbmc/qemu/hw/pci-host/gpex-acpi.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie_port.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/remote/mpqemu-link.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/s390x/ipl.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/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/altera_timer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/digic-timer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/timer/sh_timer.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/xilinx_timer.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/migration.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-scsi-pci.c
/openbmc/qemu/hw/virtio/vhost-shadow-virtqueue.c
/openbmc/qemu/hw/virtio/vhost-shadow-virtqueue.h
/openbmc/qemu/hw/virtio/vhost-user-blk-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs-pci.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-user-i2c-pci.c
/openbmc/qemu/hw/virtio/vhost-user-i2c.c
/openbmc/qemu/hw/virtio/vhost-user-input-pci.c
/openbmc/qemu/hw/virtio/vhost-user-rng-pci.c
/openbmc/qemu/hw/virtio/vhost-user-rng.c
/openbmc/qemu/hw/virtio/vhost-user-scsi-pci.c
/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-vdpa.c
/openbmc/qemu/hw/virtio/vhost-vsock-common.c
/openbmc/qemu/hw/virtio/vhost-vsock-pci.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-9p-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-bus.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-input-host-pci.c
/openbmc/qemu/hw/virtio/virtio-input-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/virtio/virtio-net-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pmem.c
/openbmc/qemu/hw/virtio/virtio-rng-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio-scsi-pci.c
/openbmc/qemu/hw/virtio/virtio-serial-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/hw/xen/xen_pt.h
/openbmc/qemu/hw/xen/xen_pt_graphics.c
/openbmc/qemu/include/block/block_int-global-state.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/fpu/softfloat-helpers.h
/openbmc/qemu/include/hw/acpi/cxl.h
/openbmc/qemu/include/hw/adc/zynq-xadc.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/cxl/cxl.h
/openbmc/qemu/include/hw/cxl/cxl_component.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/cxl/cxl_pci.h
/openbmc/qemu/include/hw/gpio/aspeed_gpio.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/rx_icu.h
/openbmc/qemu/include/hw/misc/aspeed_hace.h
/openbmc/qemu/include/hw/misc/aspeed_lpc.h
/openbmc/qemu/include/hw/misc/aspeed_sbc.h
/openbmc/qemu/include/hw/net/allwinner-sun8i-emac.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/pci/pci_bus.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/pci/pcie_host.h
/openbmc/qemu/include/hw/pci/pcie_port.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/rtc/m48t59.h
/openbmc/qemu/include/hw/rtc/mc146818rtc.h
/openbmc/qemu/include/hw/virtio/vhost-user.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/virtio/virtio-pci.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/plugin-memory.h
/openbmc/qemu/include/qemu/selfmap.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/virtio_config.h
/openbmc/qemu/include/standard-headers/linux/virtio_crypto.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/user/syscall-trace.h
/openbmc/qemu/io/channel-buffer.c
/openbmc/qemu/io/channel-command.c
/openbmc/qemu/io/channel-file.c
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-mips/mman.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psci.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/hexagon/target_signal.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/multifd.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/clients.h
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/net.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/net/vmnet-bridged.m
/openbmc/qemu/net/vmnet-common.m
/openbmc/qemu/net/vmnet-host.c
/openbmc/qemu/net/vmnet-shared.c
/openbmc/qemu/net/vmnet_int.h
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/optionrom/Makefile
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block-export.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/common.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/dump.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/pragma.json
/openbmc/qemu/qapi/replay.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32/meson.build
/openbmc/qemu/qga/vss-win32/requester.cpp
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/ci/setup/build-environment.yml
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/kvm/vmxcap
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scsi/pr-manager-helper.c
/openbmc/qemu/slirp
/openbmc/qemu/softmmu/bootdevice.c
/openbmc/qemu/softmmu/globals.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/subprojects/libvhost-user/libvhost-user.c
/openbmc/qemu/subprojects/libvhost-user/libvhost-user.h
/openbmc/qemu/target/arm/cpregs.h
/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/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-a64.h
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/hexagon/attribs.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm-cpu.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/openrisc/cpu.c
csr.c
/openbmc/qemu/target/xtensa/core-de233_fpu/core-matmap.h
/openbmc/qemu/target/xtensa/core-dsp3400/core-matmap.h
/openbmc/qemu/tests/data/acpi/q35/CEDT.cxl
/openbmc/qemu/tests/data/acpi/q35/DSDT.cxl
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/testrunner.py
/openbmc/qemu/tests/qemu-iotests/tests/nbd-multiconn
/openbmc/qemu/tests/qemu-iotests/tests/nbd-multiconn.out
/openbmc/qemu/tests/qemu-iotests/tests/nbd-qemu-allocation.out
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/cxl-test.c
/openbmc/qemu/tests/qtest/e1000e-test.c
/openbmc/qemu/tests/qtest/fdc-test.c
/openbmc/qemu/tests/qtest/libqos/arm-virt-machine.c
/openbmc/qemu/tests/qtest/libqos/generic-pcihost.c
/openbmc/qemu/tests/qtest/libqos/generic-pcihost.h
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/tests/qtest/libqos/pci-pc.c
/openbmc/qemu/tests/qtest/libqos/pci-spapr.c
/openbmc/qemu/tests/qtest/libqos/pci.c
/openbmc/qemu/tests/qtest/libqos/pci.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-helpers.c
/openbmc/qemu/tests/qtest/migration-helpers.h
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/vhost-user-blk-test.c
/openbmc/qemu/tests/qtest/virtio-blk-test.c
/openbmc/qemu/tests/qtest/virtio-net-test.c
/openbmc/qemu/tests/qtest/virtio-rng-test.c
/openbmc/qemu/tests/unit/crypto-tls-psk-helpers.c
/openbmc/qemu/tests/unit/crypto-tls-psk-helpers.h
/openbmc/qemu/tests/unit/crypto-tls-x509-helpers.c
/openbmc/qemu/tests/unit/crypto-tls-x509-helpers.h
/openbmc/qemu/tests/unit/ptimer-test.c
/openbmc/qemu/tests/unit/test-crypto-tlssession.c
/openbmc/qemu/tests/unit/test-io-channel-socket.c
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/qemu-coroutine-lock.c
/openbmc/qemu/util/qemu-coroutine.c
4f31b54b06-May-2022 Markus Armbruster <armbru@redhat.com>

Normalize header guard symbol definition

We commonly define the header guard symbol without an explicit value.
Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Ma

Normalize header guard symbol definition

We commonly define the header guard symbol without an explicit value.
Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220506134911.2856099-4-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

9c09280406-May-2022 Markus Armbruster <armbru@redhat.com>

Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved. Trailing underscores are merely ugly. Strip both.

Our header guards common

Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved. Trailing underscores are merely ugly. Strip both.

Our header guards commonly end in _H. Normalize the exceptions.

Macros should be ALL_CAPS. Normalize the exception.

Done with scripts/clean-header-guards.pl.

include/hw/xen/interface/ and tools/virtiofsd/ left alone, because
these were imported from Xen and libfuse respectively.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220506134911.2856099-3-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/tcg-accel-ops-icount.h
/openbmc/qemu/accel/tcg/tcg-accel-ops-mttcg.h
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.h
/openbmc/qemu/accel/tcg/tcg-accel-ops.h
/openbmc/qemu/backends/meson.build
/openbmc/qemu/block.c
/openbmc/qemu/block/copy-on-read.h
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/bsd-user/arm/target_arch.h
/openbmc/qemu/bsd-user/arm/target_arch_cpu.h
/openbmc/qemu/bsd-user/arm/target_arch_elf.h
/openbmc/qemu/bsd-user/arm/target_arch_reg.h
/openbmc/qemu/bsd-user/arm/target_arch_signal.h
/openbmc/qemu/bsd-user/arm/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/arm/target_arch_sysarch.h
/openbmc/qemu/bsd-user/arm/target_arch_thread.h
/openbmc/qemu/bsd-user/arm/target_arch_vmparam.h
/openbmc/qemu/bsd-user/arm/target_syscall.h
/openbmc/qemu/bsd-user/bsd-file.h
/openbmc/qemu/bsd-user/errno_defs.h
/openbmc/qemu/bsd-user/freebsd/host-os.h
/openbmc/qemu/bsd-user/freebsd/target_os_elf.h
/openbmc/qemu/bsd-user/freebsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/freebsd/target_os_signal.h
/openbmc/qemu/bsd-user/freebsd/target_os_stack.h
/openbmc/qemu/bsd-user/freebsd/target_os_thread.h
/openbmc/qemu/bsd-user/freebsd/target_os_user.h
/openbmc/qemu/bsd-user/freebsd/target_os_vmparam.h
/openbmc/qemu/bsd-user/i386/target.h
/openbmc/qemu/bsd-user/i386/target_arch.h
/openbmc/qemu/bsd-user/i386/target_arch_cpu.h
/openbmc/qemu/bsd-user/i386/target_arch_elf.h
/openbmc/qemu/bsd-user/i386/target_arch_reg.h
/openbmc/qemu/bsd-user/i386/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/i386/target_arch_sysarch.h
/openbmc/qemu/bsd-user/i386/target_arch_thread.h
/openbmc/qemu/bsd-user/i386/target_arch_vmparam.h
/openbmc/qemu/bsd-user/netbsd/host-os.h
/openbmc/qemu/bsd-user/netbsd/target_os_elf.h
/openbmc/qemu/bsd-user/netbsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/netbsd/target_os_signal.h
/openbmc/qemu/bsd-user/netbsd/target_os_stack.h
/openbmc/qemu/bsd-user/netbsd/target_os_thread.h
/openbmc/qemu/bsd-user/openbsd/host-os.h
/openbmc/qemu/bsd-user/openbsd/target_os_elf.h
/openbmc/qemu/bsd-user/openbsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/openbsd/target_os_signal.h
/openbmc/qemu/bsd-user/openbsd/target_os_stack.h
/openbmc/qemu/bsd-user/openbsd/target_os_thread.h
/openbmc/qemu/bsd-user/syscall_defs.h
/openbmc/qemu/bsd-user/x86_64/target_arch.h
/openbmc/qemu/bsd-user/x86_64/target_arch_cpu.h
/openbmc/qemu/bsd-user/x86_64/target_arch_elf.h
/openbmc/qemu/bsd-user/x86_64/target_arch_reg.h
/openbmc/qemu/bsd-user/x86_64/target_arch_signal.h
/openbmc/qemu/bsd-user/x86_64/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/x86_64/target_arch_sysarch.h
/openbmc/qemu/bsd-user/x86_64/target_arch_thread.h
/openbmc/qemu/bsd-user/x86_64/target_arch_vmparam.h
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-stdio.c
/openbmc/qemu/configs/devices/hppa-softmmu/default.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-server/ivshmem-server.c
/openbmc/qemu/crypto/ivgen-plain.h
/openbmc/qemu/disas.c
/openbmc/qemu/disas/meson.build
/openbmc/qemu/docs/devel/qtest.rst
/openbmc/qemu/docs/devel/writing-monitor-commands.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/arm/virt.rst
/openbmc/qemu/docs/system/riscv/virt.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/event-loop-base.c
/openbmc/qemu/hw/9pfs/9p-posix-acl.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-util-darwin.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/adc/aspeed_adc.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast10x0.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/pxa2xx_pic.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/soundhw.c
/openbmc/qemu/hw/core/machine-hmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/meson.build
/openbmc/qemu/hw/core/sysbus-fdt.c
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/hppa_hardware.h
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/hppa/meson.build
/openbmc/qemu/hw/hyperv/syndbg.c
/openbmc/qemu/hw/i386/e820_memory_layout.h
/openbmc/qemu/hw/input/virtio-input-host.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/intc/xive2.c
/openbmc/qemu/hw/isa/isa-bus.c
/openbmc/qemu/hw/mips/fuloong2e.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/aspeed_hace.c
/openbmc/qemu/hw/misc/aspeed_sbc.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/lasi.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/can/ctu_can_fd_frame.h
/openbmc/qemu/hw/net/can/ctu_can_fd_regs.h
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/nvme/nvme.h
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/dino.c
/openbmc/qemu/hw/pci-host/meson.build
/openbmc/qemu/hw/pci-host/trace-events
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/Kconfig
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/usb/hcd-dwc2.h
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/xenpv/xen_machine_pv.c
/openbmc/qemu/hw/xtensa/mx_pic.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-hmp-cmds.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/thread-pool.h
/openbmc/qemu/include/chardev/char-socket.h
/openbmc/qemu/include/crypto/tls-cipher-suites.h
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/adc/aspeed_adc.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/core/sysbus-fdt.h
/openbmc/qemu/include/hw/i2c/arm_sbcon_i2c.h
/openbmc/qemu/include/hw/i2c/i2c_mux_pca954x.h
/openbmc/qemu/include/hw/input/lm832x.h
/openbmc/qemu/include/hw/intc/exynos4210_combiner.h
/openbmc/qemu/include/hw/intc/nios2_vic.h
/openbmc/qemu/include/hw/misc/aspeed_hace.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/hw/misc/bcm2835_cprman.h
/openbmc/qemu/include/hw/misc/bcm2835_cprman_internals.h
/openbmc/qemu/include/hw/misc/lasi.h
/openbmc/qemu/include/hw/misc/stm32f4xx_exti.h
/openbmc/qemu/include/hw/misc/stm32f4xx_syscfg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-pmc-iou-slcr.h
/openbmc/qemu/include/hw/net/mv88w8618_eth.h
/openbmc/qemu/include/hw/nubus/mac-nubus-bridge.h
/openbmc/qemu/include/hw/pci-host/dino.h
/openbmc/qemu/include/hw/pci-host/remote.h
/openbmc/qemu/include/hw/ppc/pnv_pnor.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/riscv/boot_opensbi.h
/openbmc/qemu/include/hw/riscv/shakti_c.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/rtc/sun4v-rtc.h
/openbmc/qemu/include/hw/rtc/xlnx-zynqmp-rtc.h
/openbmc/qemu/include/hw/rx/rx62n.h
/openbmc/qemu/include/hw/s390x/s390-pci-clp.h
/openbmc/qemu/include/hw/sensor/emc141x_regs.h
/openbmc/qemu/include/hw/ssi/xlnx-versal-ospi.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/hw/timer/bcm2835_systmr.h
/openbmc/qemu/include/hw/tricore/tc27x_soc.h
/openbmc/qemu/include/hw/tricore/tricore_testdevice.h
/openbmc/qemu/include/hw/usb/dwc2-regs.h
/openbmc/qemu/include/hw/usb/hcd-musb.h
/openbmc/qemu/include/hw/usb/xlnx-usb-subsystem.h
/openbmc/qemu/include/hw/usb/xlnx-versal-usb2-ctrl-regs.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/vhost-user-i2c.h
/openbmc/qemu/include/hw/virtio/vhost-user-rng.h
/openbmc/qemu/include/hw/virtio/vhost-user-vsock.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/hw/watchdog/wdt_imx2.h
/openbmc/qemu/include/io/channel-command.h
/openbmc/qemu/include/qemu/atomic.h
/openbmc/qemu/include/qemu/cpu-float.h
/openbmc/qemu/include/qemu/crc-ccitt.h
/openbmc/qemu/include/qemu/help-texts.h
/openbmc/qemu/include/qemu/keyval.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/sysemu/block-backend-global-state.h
/openbmc/qemu/include/sysemu/event-loop-base.h
/openbmc/qemu/include/sysemu/iothread.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/sysemu/tpm.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/include/ui/dbus-display.h
/openbmc/qemu/include/ui/dbus-module.h
/openbmc/qemu/io/channel-command.c
/openbmc/qemu/io/channel-file.c
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/iothread.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/net/l2tpv3.c
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap-bsd.c
/openbmc/qemu/net/tap-linux.c
/openbmc/qemu/net/tap-solaris.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/plugins/plugin.h
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/channel-posix.c
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32/meson.build
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/oss-fuzz/output_reproducer.py
/openbmc/qemu/scripts/qemu-stamp.py
/openbmc/qemu/scripts/xen-detect.c
/openbmc/qemu/softmmu/globals.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/subprojects/libvhost-user/include/compiler.h
/openbmc/qemu/subprojects/libvhost-user/libvhost-user.c
/openbmc/qemu/target/arm/a32.decode
/openbmc/qemu/target/arm/cpregs.h
/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.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm-stub.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/arm/t32.decode
/openbmc/qemu/target/arm/translate-a32.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-neon.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/vec_internal.h
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/hexagon/hex_arch_types.h
/openbmc/qemu/target/hexagon/hex_regs.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/hax/hax-accel-ops.h
/openbmc/qemu/target/i386/nvmm/nvmm-accel-ops.h
/openbmc/qemu/target/i386/sev.h
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.h
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/i386/whpx/whpx-internal.h
/openbmc/qemu/target/ppc/cpu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu_common.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/power8-pmu.h
sbi_ecall_interface.h
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/tcg/insn-data.def
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/s390x/tcg/translate_vx.c.inc
/openbmc/qemu/target/s390x/tcg/vec_fpu_helper.c
/openbmc/qemu/target/s390x/tcg/vec_helper.c
/openbmc/qemu/target/s390x/tcg/vec_int_helper.c
/openbmc/qemu/target/s390x/tcg/vec_string_helper.c
/openbmc/qemu/target/xtensa/core-de233_fpu/core-isa.h
/openbmc/qemu/target/xtensa/core-dsp3400/core-isa.h
/openbmc/qemu/target/xtensa/core-lx106.c
/openbmc/qemu/target/xtensa/core-lx106/core-isa.h
/openbmc/qemu/target/xtensa/core-lx106/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-lx106/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/cores.list
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/avocado/machine_aspeed.py
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/qemu-iotests/tests/export-incoming-iothread
/openbmc/qemu/tests/qemu-iotests/tests/export-incoming-iothread.out
/openbmc/qemu/tests/qemu-iotests/tests/reopen-file
/openbmc/qemu/tests/qemu-iotests/tests/reopen-file.out
/openbmc/qemu/tests/qtest/ac97-test.c
/openbmc/qemu/tests/qtest/acpi-utils.h
/openbmc/qemu/tests/qtest/ahci-test.c
/openbmc/qemu/tests/qtest/am53c974-test.c
/openbmc/qemu/tests/qtest/arm-cpu-features.c
/openbmc/qemu/tests/qtest/aspeed_gpio-test.c
/openbmc/qemu/tests/qtest/aspeed_hace-test.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/boot-sector.c
/openbmc/qemu/tests/qtest/boot-sector.h
/openbmc/qemu/tests/qtest/boot-serial-test.c
/openbmc/qemu/tests/qtest/cdrom-test.c
/openbmc/qemu/tests/qtest/dbus-display-test.c
/openbmc/qemu/tests/qtest/dbus-vmstate-test.c
/openbmc/qemu/tests/qtest/device-introspect-test.c
/openbmc/qemu/tests/qtest/device-plug-test.c
/openbmc/qemu/tests/qtest/drive_del-test.c
/openbmc/qemu/tests/qtest/ds1338-test.c
/openbmc/qemu/tests/qtest/e1000-test.c
/openbmc/qemu/tests/qtest/eepro100-test.c
/openbmc/qemu/tests/qtest/endianness-test.c
/openbmc/qemu/tests/qtest/erst-test.c
/openbmc/qemu/tests/qtest/es1370-test.c
/openbmc/qemu/tests/qtest/fdc-test.c
/openbmc/qemu/tests/qtest/fuzz-e1000e-test.c
/openbmc/qemu/tests/qtest/fuzz-lsi53c895a-test.c
/openbmc/qemu/tests/qtest/fuzz-megasas-test.c
/openbmc/qemu/tests/qtest/fuzz-sb16-test.c
/openbmc/qemu/tests/qtest/fuzz-sdcard-test.c
/openbmc/qemu/tests/qtest/fuzz-virtio-scsi-test.c
/openbmc/qemu/tests/qtest/fuzz-xlnx-dp-test.c
/openbmc/qemu/tests/qtest/fuzz/fuzz.c
/openbmc/qemu/tests/qtest/fuzz/fuzz.h
/openbmc/qemu/tests/qtest/fuzz/generic_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/openbmc/qemu/tests/qtest/fuzz/virtio_scsi_fuzz.c
/openbmc/qemu/tests/qtest/fw_cfg-test.c
/openbmc/qemu/tests/qtest/hd-geo-test.c
/openbmc/qemu/tests/qtest/hexloader-test.c
/openbmc/qemu/tests/qtest/ide-test.c
/openbmc/qemu/tests/qtest/ipoctal232-test.c
/openbmc/qemu/tests/qtest/ivshmem-test.c
/openbmc/qemu/tests/qtest/libqmp.c
/openbmc/qemu/tests/qtest/libqmp.h
/openbmc/qemu/tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c
/openbmc/qemu/tests/qtest/libqos/ahci.c
/openbmc/qemu/tests/qtest/libqos/arm-imx25-pdk-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-n800-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-raspi2-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-sabrelite-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-smdkc210-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-virt-machine.c
/openbmc/qemu/tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c
/openbmc/qemu/tests/qtest/libqos/e1000e.c
/openbmc/qemu/tests/qtest/libqos/fw_cfg.c
/openbmc/qemu/tests/qtest/libqos/fw_cfg.h
/openbmc/qemu/tests/qtest/libqos/i2c-imx.c
/openbmc/qemu/tests/qtest/libqos/i2c-omap.c
/openbmc/qemu/tests/qtest/libqos/i2c.c
/openbmc/qemu/tests/qtest/libqos/i2c.h
/openbmc/qemu/tests/qtest/libqos/libqos.c
/openbmc/qemu/tests/qtest/libqos/libqos.h
/openbmc/qemu/tests/qtest/libqos/malloc.h
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/tests/qtest/libqos/pci-pc.c
/openbmc/qemu/tests/qtest/libqos/pci-spapr.c
/openbmc/qemu/tests/qtest/libqos/pci.h
/openbmc/qemu/tests/qtest/libqos/ppc64_pseries-machine.c
/openbmc/qemu/tests/qtest/libqos/qgraph.c
/openbmc/qemu/tests/qtest/libqos/qos_external.c
/openbmc/qemu/tests/qtest/libqos/rtas.c
/openbmc/qemu/tests/qtest/libqos/sdhci-cmd.c
/openbmc/qemu/tests/qtest/libqos/sdhci-cmd.h
/openbmc/qemu/tests/qtest/libqos/sdhci.c
/openbmc/qemu/tests/qtest/libqos/tpci200.c
/openbmc/qemu/tests/qtest/libqos/usb.c
/openbmc/qemu/tests/qtest/libqos/vhost-user-blk.c
/openbmc/qemu/tests/qtest/libqos/virtio-9p.c
/openbmc/qemu/tests/qtest/libqos/virtio-balloon.c
/openbmc/qemu/tests/qtest/libqos/virtio-blk.c
/openbmc/qemu/tests/qtest/libqos/virtio-iommu.c
/openbmc/qemu/tests/qtest/libqos/virtio-mmio.c
/openbmc/qemu/tests/qtest/libqos/virtio-net.c
/openbmc/qemu/tests/qtest/libqos/virtio-pci.c
/openbmc/qemu/tests/qtest/libqos/virtio-rng.c
/openbmc/qemu/tests/qtest/libqos/virtio-scsi.c
/openbmc/qemu/tests/qtest/libqos/virtio-serial.c
/openbmc/qemu/tests/qtest/libqos/virtio.c
/openbmc/qemu/tests/qtest/libqos/x86_64_pc-machine.c
/openbmc/qemu/tests/qtest/libqtest-single.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/libqtest.h
/openbmc/qemu/tests/qtest/lpc-ich9-test.c
/openbmc/qemu/tests/qtest/m48t59-test.c
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/megasas-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/microbit-test.c
/openbmc/qemu/tests/qtest/migration-helpers.h
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/modules-test.c
/openbmc/qemu/tests/qtest/ne2000-test.c
/openbmc/qemu/tests/qtest/npcm7xx_adc-test.c
/openbmc/qemu/tests/qtest/npcm7xx_pwm-test.c
/openbmc/qemu/tests/qtest/npcm7xx_sdhci-test.c
/openbmc/qemu/tests/qtest/npcm7xx_smbus-test.c
/openbmc/qemu/tests/qtest/npcm7xx_watchdog_timer-test.c
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/nvme-test.c
/openbmc/qemu/tests/qtest/pca9552-test.c
/openbmc/qemu/tests/qtest/pci-test.c
/openbmc/qemu/tests/qtest/pcnet-test.c
/openbmc/qemu/tests/qtest/pflash-cfi02-test.c
/openbmc/qemu/tests/qtest/pnv-xscom-test.c
/openbmc/qemu/tests/qtest/prom-env-test.c
/openbmc/qemu/tests/qtest/pvpanic-pci-test.c
/openbmc/qemu/tests/qtest/pvpanic-test.c
/openbmc/qemu/tests/qtest/pxe-test.c
/openbmc/qemu/tests/qtest/q35-test.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/qtest/qmp-test.c
/openbmc/qemu/tests/qtest/qom-test.c
/openbmc/qemu/tests/qtest/rtas-test.c
/openbmc/qemu/tests/qtest/sdhci-test.c
/openbmc/qemu/tests/qtest/spapr-phb-test.c
/openbmc/qemu/tests/qtest/tco-test.c
/openbmc/qemu/tests/qtest/test-filter-mirror.c
/openbmc/qemu/tests/qtest/test-filter-redirector.c
/openbmc/qemu/tests/qtest/test-hmp.c
/openbmc/qemu/tests/qtest/tpm-crb-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-emu.h
/openbmc/qemu/tests/qtest/tpm-tis-device-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-tis-swtpm-test.c
/openbmc/qemu/tests/qtest/tpm-util.c
/openbmc/qemu/tests/qtest/tulip-test.c
/openbmc/qemu/tests/qtest/vhost-user-test.c
/openbmc/qemu/tests/qtest/virtio-net-failover.c
/openbmc/qemu/tests/qtest/virtio-rng-test.c
/openbmc/qemu/tests/qtest/virtio-test.c
/openbmc/qemu/tests/qtest/vmgenid-test.c
/openbmc/qemu/tests/qtest/vmxnet3-test.c
/openbmc/qemu/tests/qtest/wdt_ib700-test.c
/openbmc/qemu/tests/qtest/xlnx-can-test.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/bti-3.c
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/branch-relative-long.c
/openbmc/qemu/tests/tcg/s390x/vx.h
/openbmc/qemu/tests/tcg/s390x/vxeh2_vcvt.c
/openbmc/qemu/tests/tcg/s390x/vxeh2_vlstr.c
/openbmc/qemu/tests/tcg/s390x/vxeh2_vs.c
/openbmc/qemu/tests/tcg/xtensa/crt.S
/openbmc/qemu/tests/tcg/xtensa/test_break.S
/openbmc/qemu/tests/tcg/xtensa/test_mmu.S
/openbmc/qemu/tests/tcg/xtensa/test_phys_mem.S
/openbmc/qemu/tests/tcg/xtensa/test_sr.S
/openbmc/qemu/tests/tcg/xtensa/test_timer.S
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/socket-helpers.c
/openbmc/qemu/tests/unit/test-crypto-tlssession.c
/openbmc/qemu/tests/unit/test-io-channel-file.c
/openbmc/qemu/tests/unit/test-iov.c
/openbmc/qemu/tests/unit/test-qga.c
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tools/meson.build
/openbmc/qemu/tools/virtiofsd/helper.c
/openbmc/qemu/tools/virtiofsd/passthrough_seccomp.h
/openbmc/qemu/ui/dbus.h
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/compatfd.c
/openbmc/qemu/util/coroutine-ucontext.c
/openbmc/qemu/util/coroutine-win32.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/util/vhost-user-server.c
a62c2c1526-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add scalar crypto related extenstion strings to isa_string

- add zbk* and zk* strings to isa_edata_arr

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <w

target/riscv: add scalar crypto related extenstion strings to isa_string

- add zbk* and zk* strings to isa_edata_arr

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Tested-by: Jiatai He <jiatai2021@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220426095204.24142-1-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

457a86a023-Apr-2022 Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>

target/riscv: Fix incorrect PTE merge in walk_pte

Two non-subsequent PTEs can be mapped to subsequent paddrs. In this
case, walk_pte will erroneously merge them.

Enforce the split up, by tracking t

target/riscv: Fix incorrect PTE merge in walk_pte

Two non-subsequent PTEs can be mapped to subsequent paddrs. In this
case, walk_pte will erroneously merge them.

Enforce the split up, by tracking the virtual base address.

Let's say we have the mapping:
0x81200000 -> 0x89623000 (4K)
0x8120f000 -> 0x89624000 (4K)

Before, walk_pte would have shown:

vaddr paddr size attr
---------------- ---------------- ---------------- -------
0000000081200000 0000000089623000 0000000000002000 rwxu-ad

as it only checks for subsequent paddrs. With this patch, it becomes:

vaddr paddr size attr
---------------- ---------------- ---------------- -------
0000000081200000 0000000089623000 0000000000001000 rwxu-ad
000000008120f000 0000000089624000 0000000000001000 rwxu-ad

Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423215907.673663-1-ralf.ramsauer@oth-regensburg.de>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

cf7ed97122-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: expose zbk* and zk* properties

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.fran

target/riscv: rvk: expose zbk* and zk* properties

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-15-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

7744238022-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add CSR support for Zkr

- add SEED CSR which must be accessed with a read-write instruction:
A read-only instruction such as CSRRS/CSRRC with rs1=x0 or CSRRSI/CSRRCI
with uimm

target/riscv: rvk: add CSR support for Zkr

- add SEED CSR which must be accessed with a read-write instruction:
A read-only instruction such as CSRRS/CSRRC with rs1=x0 or CSRRSI/CSRRCI
with uimm=0 will raise an illegal instruction exception.
- add USEED, SSEED fields for MSECCFG CSR

Co-authored-by: Ruibo Lu <luruibo2000@163.com>
Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-13-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

0976083d22-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zksed/zksh extension

- add sm3p0, sm3p1, sm4ed and sm4ks instructions

Co-authored-by: Ruibo Lu <luruibo2000@163.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.

target/riscv: rvk: add support for zksed/zksh extension

- add sm3p0, sm3p1, sm4ed and sm4ks instructions

Co-authored-by: Ruibo Lu <luruibo2000@163.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-12-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1f7f7b5e22-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for sha512 related instructions for RV64 in zknh extension

- add sha512sum0, sha512sig0, sha512sum1 and sha512sig1 instructions

Co-authored-by: Zewen Ye <lustrew@fox

target/riscv: rvk: add support for sha512 related instructions for RV64 in zknh extension

- add sha512sum0, sha512sig0, sha512sum1 and sha512sig1 instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-11-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

e9a7ef5d22-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for sha512 related instructions for RV32 in zknh extension

- add sha512sum0r, sha512sig0l, sha512sum1r, sha512sig1l, sha512sig0h and sha512sig1h instructions

Co-auth

target/riscv: rvk: add support for sha512 related instructions for RV32 in zknh extension

- add sha512sum0r, sha512sig0l, sha512sum1r, sha512sig1l, sha512sig0h and sha512sig1h instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-10-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

387e5d9222-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for sha256 related instructions in zknh extension

- add sha256sig0, sha256sig1, sha256sum0 and sha256sum1 instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>

target/riscv: rvk: add support for sha256 related instructions in zknh extension

- add sha256sig0, sha256sig1, sha256sum0 and sha256sum1 instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-9-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

9e33e17522-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zkne/zknd extension in RV64

- add aes64dsm, aes64ds, aes64im, aes64es, aes64esm, aes64ks2, aes64ks1i instructions

Co-authored-by: Ruibo Lu <luruibo2000@163.com>

target/riscv: rvk: add support for zkne/zknd extension in RV64

- add aes64dsm, aes64ds, aes64im, aes64es, aes64esm, aes64ks2, aes64ks1i instructions

Co-authored-by: Ruibo Lu <luruibo2000@163.com>
Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-8-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

68d19b5822-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zknd/zkne extension in RV32

- add aes32esmi, aes32esi, aes32dsmi and aes32dsi instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei L

target/riscv: rvk: add support for zknd/zkne extension in RV32

- add aes32esmi, aes32esi, aes32dsmi and aes32dsi instructions

Co-authored-by: Zewen Ye <lustrew@foxmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-7-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

0496389622-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zbkx extension

- add xperm4 and xperm8 instructions

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Revie

target/riscv: rvk: add support for zbkx extension

- add xperm4 and xperm8 instructions

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-5-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

5cc69ceb22-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zbkc extension

- reuse partial instructions of zbc extension, update extension check for them

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junq

target/riscv: rvk: add support for zbkc extension

- reuse partial instructions of zbc extension, update extension check for them

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220423023510.30794-4-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

d8e81e3c22-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add support for zbkb extension

- reuse partial instructions of zbb extension, update extension check for them
- add brev8, pack, packh, packw, unzip, zip instructions

Signed-of

target/riscv: rvk: add support for zbkb extension

- reuse partial instructions of zbb extension, update extension check for them
- add brev8, pack, packh, packw, unzip, zip instructions

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220423023510.30794-3-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

eef8287222-Apr-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: rvk: add cfg properties for zbk* and zk*

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Acked-by: Alistair Francis <alistair.fr

target/riscv: rvk: add cfg properties for zbk* and zk*

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220423023510.30794-2-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

9951ba9421-Apr-2022 Frank Chang <frank.chang@sifive.com>

target/riscv: Support configuarable marchid, mvendorid, mipid CSR values

Allow user to set core's marchid, mvendorid, mipid CSRs through
-cpu command line option.

The default values of marchid and

target/riscv: Support configuarable marchid, mvendorid, mipid CSR values

Allow user to set core's marchid, mvendorid, mipid CSRs through
-cpu command line option.

The default values of marchid and mipid are built with QEMU's version
numbers.

Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20220422040436.2233-1-frank.chang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/.github/workflows/lockdown.yml
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi-sysemu.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/configs/targets/nios2-softmmu.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/main.c
/openbmc/qemu/contrib/rdmacm-mux/meson.build
/openbmc/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/openbmc/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/openbmc/qemu/crypto/meson.build
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/pcie_sriov.txt
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/arm/virt.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/dump/win_dump.c
/openbmc/qemu/fpu/softfloat-parts.c.inc
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/arm/smmuv3-internal.h
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_dist.c
/openbmc/qemu/hw/intc/arm_gicv3_its.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_redist.c
/openbmc/qemu/hw/intc/gicv3_internal.h
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/nios2_vic.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nios2/Kconfig
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rx/rx-gdbsim.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/xen/meson.build
/openbmc/qemu/include/block/block_int-global-state.h
/openbmc/qemu/include/hw/arm/smmu-common.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/core/tcg-cpu-ops.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/arm_gicv3_its_common.h
/openbmc/qemu/include/hw/intc/nios2_vic.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/qemu/config-file.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/win_dump_defs.h
/openbmc/qemu/include/sysemu/dump.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/nios2/cpu_loop.c
/openbmc/qemu/linux-user/nios2/signal.c
/openbmc/qemu/linux-user/nios2/target_cpu.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/meson.build
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/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/tls.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block-export.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/meson.build
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
/openbmc/qemu/scripts/meson-buildoptions.sh
/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-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate-a32.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-m-nocp.c
/openbmc/qemu/target/arm/translate-neon.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate-vfp.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/i386/ops_sse.h
/openbmc/qemu/target/i386/tcg/fpu_helper.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/nios2/helper.h
/openbmc/qemu/target/nios2/meson.build
/openbmc/qemu/target/nios2/mmu.c
/openbmc/qemu/target/nios2/op_helper.c
/openbmc/qemu/target/nios2/translate.c
cpu.c
cpu.h
csr.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/rx/op_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/tests/avocado/vnc.py
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/056
/openbmc/qemu/tests/qemu-iotests/108
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/163
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/216
/openbmc/qemu/tests/qemu-iotests/218
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/224
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/255
/openbmc/qemu/tests/qemu-iotests/258
/openbmc/qemu/tests/qemu-iotests/298
/openbmc/qemu/tests/qemu-iotests/303
/openbmc/qemu/tests/qemu-iotests/310
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/tests/image-fleecing
/openbmc/qemu/tests/qemu-iotests/tests/migration-permissions
/openbmc/qemu/tests/qemu-iotests/tests/mirror-ready-cancel-error
/openbmc/qemu/tests/qemu-iotests/tests/nbd-reconnect-on-open
/openbmc/qemu/tests/qemu-iotests/tests/stream-error-on-reset
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/tcg/nios2/10m50-ghrd.ld
/openbmc/qemu/tests/tcg/nios2/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/nios2/boot.S
/openbmc/qemu/tests/tcg/nios2/intr.S
/openbmc/qemu/tests/tcg/nios2/semicall.h
/openbmc/qemu/tests/tcg/nios2/test-shadow-1.S
/openbmc/qemu/tests/unit/crypto-tls-psk-helpers.c
/openbmc/qemu/tools/virtiofsd/helper.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/error-report.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/osdep.c
/openbmc/qemu/util/qemu-config.c
c9711bd720-Apr-2022 Bin Meng <bin.meng@windriver.com>

target/riscv: cpu: Enable native debug feature

Turn on native debug feature by default for all CPUs.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis

target/riscv: cpu: Enable native debug feature

Turn on native debug feature by default for all CPUs.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220421003324.1134983-6-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

38b4e78120-Apr-2022 Bin Meng <bin.meng@windriver.com>

target/riscv: machine: Add debug state description

Add a subsection to machine.c to migrate debug CSR state.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair

target/riscv: machine: Add debug state description

Add a subsection to machine.c to migrate debug CSR state.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220421003324.1134983-5-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

b609254420-Apr-2022 Bin Meng <bin.meng@windriver.com>

target/riscv: csr: Hook debug CSR read/write

This adds debug CSR read/write support to the RISC-V CSR RW table.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alist

target/riscv: csr: Hook debug CSR read/write

This adds debug CSR read/write support to the RISC-V CSR RW table.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220421003324.1134983-4-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1acdb3b020-Apr-2022 Bin Meng <bin.meng@windriver.com>

target/riscv: cpu: Add a config option for native debug

Add a config option to enable support for native M-mode debug.
This is disabled by default and can be enabled with 'debug=true'.

Signed-off-b

target/riscv: cpu: Add a config option for native debug

Add a config option to enable support for native M-mode debug.
This is disabled by default and can be enabled with 'debug=true'.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220421003324.1134983-3-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

b5f6379d20-Apr-2022 Bin Meng <bin.meng@windriver.com>

target/riscv: debug: Implement debug related TCGCPUOps

Implement .debug_excp_handler, .debug_check_{breakpoint, watchpoint}
TCGCPUOps and hook them into riscv_tcg_ops.

Signed-off-by: Bin Meng <bin.

target/riscv: debug: Implement debug related TCGCPUOps

Implement .debug_excp_handler, .debug_check_{breakpoint, watchpoint}
TCGCPUOps and hook them into riscv_tcg_ops.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220421003324.1134983-2-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

e2f01f3c20-Apr-2022 Frank Chang <frank.chang@sifive.com>

hw/intc: Make RISC-V ACLINT mtime MMIO register writable

RISC-V privilege spec defines that mtime is exposed as a memory-mapped
machine-mode read-write register. However, as QEMU uses host monotonic

hw/intc: Make RISC-V ACLINT mtime MMIO register writable

RISC-V privilege spec defines that mtime is exposed as a memory-mapped
machine-mode read-write register. However, as QEMU uses host monotonic
timer as timer source, this makes mtime to be read-only in RISC-V
ACLINT.

This patch makes mtime to be writable by recording the time delta value
between the mtime value to be written and the timer value at the time
mtime is written. Time delta value is then added back whenever the timer
value is retrieved.

Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220420080901.14655-4-frank.chang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1...<<31323334353637383940>>...67