History log of /openbmc/qemu/target/riscv/ (Results 1426 – 1450 of 1666)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a010bdbe16-Mar-2020 Alex Bennée <alex.bennee@linaro.org>

gdbstub: extend GByteArray to read register helpers

Instead of passing a pointer to memory now just extend the GByteArray
to all the read register helpers. They can then safely append their
data thr

gdbstub: extend GByteArray to read register helpers

Instead of passing a pointer to memory now just extend the GByteArray
to all the read register helpers. They can then safely append their
data through the normal way. We don't bother with this abstraction for
write registers as we have already ensured the buffer being copied
from is the correct size.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>

Message-Id: <20200316172155.971-15-alex.bennee@linaro.org>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/fsl-imx6ul.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/core/cpu.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/imx-usb-phy.c
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/arm/fsl-imx6ul.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/usb/imx-usb-phy.h
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/gdbstub.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/cris/cpu.h
/openbmc/qemu/target/cris/gdbstub.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/gdbstub.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/lm32/gdbstub.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/gdbstub.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/gdbstub.c
/openbmc/qemu/target/mips/gdbstub.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/gdbstub.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/translate_init.inc.c
cpu.h
gdbstub.c
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/gdbstub.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/gdbstub.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/gdbstub.c
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
c5969a3a23-Feb-2020 Rajnesh Kanwal <rajnesh.kanwal49@gmail.com>

target/riscv: Fix VS mode interrupts forwarding.

Currently riscv_cpu_local_irq_pending is used to find out pending
interrupt and VS mode interrupts are being shifted to represent
S mode interrupts i

target/riscv: Fix VS mode interrupts forwarding.

Currently riscv_cpu_local_irq_pending is used to find out pending
interrupt and VS mode interrupts are being shifted to represent
S mode interrupts in this function. So when the cause returned by
this function is passed to riscv_cpu_do_interrupt to actually
forward the interrupt, the VS mode forwarding check does not work
as intended and interrupt is actually forwarded to hypervisor. This
patch fixes this issue.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal49@gmail.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

ed5abf4620-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Correctly implement TSR trap

As reported in: https://bugs.launchpad.net/qemu/+bug/1851939 we weren't
correctly handling illegal instructions based on the value of MSTATUS_TSR
and the c

target/riscv: Correctly implement TSR trap

As reported in: https://bugs.launchpad.net/qemu/+bug/1851939 we weren't
correctly handling illegal instructions based on the value of MSTATUS_TSR
and the current privledge level.

This patch fixes the issue raised in the bug by raising an illegal
instruction if TSR is set and we are in S-Mode.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Jonathan Behrens <jonathan@fintelia.io
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/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/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/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/crypto/block.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/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/kconfig.rst
/openbmc/qemu/docs/devel/loads-stores.rst
/openbmc/qemu/docs/devel/multi-thread-tcg.txt
/openbmc/qemu/docs/devel/tcg.rst
/openbmc/qemu/docs/index.html.in
/openbmc/qemu/docs/index.rst
/openbmc/qemu/docs/qemu-option-trace.rst.inc
/openbmc/qemu/docs/replay.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/vnc-security.rst
/openbmc/qemu/docs/user/conf.py
/openbmc/qemu/docs/user/index.rst
/openbmc/qemu/docs/user/main.rst
/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/cubieboard.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/vga-pci.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/intc/armv7m_nvic.c
/openbmc/qemu/hw/isa/lpc_ich9.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/trace-events
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/trace-events
/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/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/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/trace-events
/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/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/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.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/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/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/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/pci-host/q35.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/hw/pci/pcie_port.h
/openbmc/qemu/include/hw/rtc/allwinner-rtc.h
/openbmc/qemu/include/hw/sd/allwinner-sdhost.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/qemu/progress_meter.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/qom/object_interfaces.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/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/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/net/hub.c
/openbmc/qemu/net/hub.h
/openbmc/qemu/net/slirp.c
/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/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/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/rules.mak
/openbmc/qemu/scripts/git.orderfile
/openbmc/qemu/scripts/hxtool
/openbmc/qemu/scripts/hxtool-conv.pl
/openbmc/qemu/scripts/qapi/gen.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/helper.c
/openbmc/qemu/target/arm/helper.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/translate-a64.c
/openbmc/qemu/target/arm/translate.c
op_helper.c
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/boot_linux_console.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/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/fuzz/fork_fuzz.ld
/openbmc/qemu/tests/qtest/fuzz/qos_fuzz.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/test-rcu-list.c
/openbmc/qemu/tests/test-util-sockets.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
fd990e8605-Mar-2020 Palmer Dabbelt <palmerdabbelt@google.com>

RISC-V: Add a missing "," in riscv_excp_names

This would almost certainly cause the exception names to be reported
incorrectly. Coverity found the issue (CID 1420223). As per Peter's
suggestion, I

RISC-V: Add a missing "," in riscv_excp_names

This would almost certainly cause the exception names to be reported
incorrectly. Coverity found the issue (CID 1420223). As per Peter's
suggestion, I've also added a comma at the end of the list to avoid the issue
reappearing in the future.

Fixes: ab67a1d07a ("target/riscv: Add support for the new execption numbers")
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/configure
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/block-replication.txt
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/s390-dasd-ipl.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/vfio-ap.rst
/openbmc/qemu/exec.c
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/gumstix.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/pxa2xx.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/strongarm.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/block/dataplane/xen-block.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cpu/a9mpcore.c
/openbmc/qemu/hw/cpu/arm11mpcore.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/edid-generate.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/pc_piix.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/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/moxie/moxiesim.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000e_core.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/openrisc/openrisc_sim.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/spapr.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/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sh4/shix.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/cadence_ttc.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen_pt_load_rom.c
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/intc/arm_gic.h
/openbmc/qemu/include/hw/intc/arm_gic_common.h
/openbmc/qemu/include/hw/nmi.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/riscv/sifive_clint.h
/openbmc/qemu/include/hw/xen/xen-bus.h
/openbmc/qemu/include/net/filter.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/module.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/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/savevm.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/net/filter.c
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qemu-options.hx
/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/softmmu/vl.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/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/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
cpu.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/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/translate.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/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/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/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/requirements.txt
/openbmc/qemu/tests/tcg/aarch64/pauth-1.c
/openbmc/qemu/tests/test-replication.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
c695724802-Feb-2020 Anup Patel <anup.patel@wdc.com>

target/riscv: Emulate TIME CSRs for privileged mode

Currently, TIME CSRs are emulated only for user-only mode. This
patch add TIME CSRs emulation for privileged mode.

For privileged mode, the TIME

target/riscv: Emulate TIME CSRs for privileged mode

Currently, TIME CSRs are emulated only for user-only mode. This
patch add TIME CSRs emulation for privileged mode.

For privileged mode, the TIME CSRs will return value provided
by rdtime callback which is registered by QEMU machine/platform
emulation (i.e. CLINT emulation). If rdtime callback is not
available then the monitor (i.e. OpenSBI) will trap-n-emulate
TIME CSRs in software.

We see 25+% performance improvement in hackbench numbers when
TIME CSRs are not trap-n-emulated.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

c9eefe0531-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Allow enabling the Hypervisor extension

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer

target/riscv: Allow enabling the Hypervisor extension

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

e44b50b531-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add the MSTATUS_MPV_ISSET helper macro

Add a helper macro MSTATUS_MPV_ISSET() which will determine if the
MSTATUS_MPV bit is set for both 32-bit and 64-bit RISC-V.

Signed-off-by: Alis

target/riscv: Add the MSTATUS_MPV_ISSET helper macro

Add a helper macro MSTATUS_MPV_ISSET() which will determine if the
MSTATUS_MPV bit is set for both 32-bit and 64-bit RISC-V.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

551fa7e831-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add support for the 32-bit MSTATUSH CSR

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt

target/riscv: Add support for the 32-bit MSTATUSH CSR

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

3067553931-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Set htval and mtval2 on execptions

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palm

target/riscv: Set htval and mtval2 on execptions

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

b2ef6ab931-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Raise the new execptions when 2nd stage translation fails

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-b

target/riscv: Raise the new execptions when 2nd stage translation fails

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

36a1866431-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Implement second stage MMU

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbel

target/riscv: Implement second stage MMU

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

1448689c31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Allow specifying MMU stage

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbel

target/riscv: Allow specifying MMU stage

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

ae84dd0a31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Respect MPRV and SPRV for floating point ops

mark_fs_dirty() is the only place in translate.c that uses the
virt_enabled bool. Let's respect the contents of MSTATUS.MPRV and
HSTATUS.SP

target/riscv: Respect MPRV and SPRV for floating point ops

mark_fs_dirty() is the only place in translate.c that uses the
virt_enabled bool. Let's respect the contents of MSTATUS.MPRV and
HSTATUS.SPRV when setting the bool as this is used for performing
floating point operations when V=0.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

45b4dc8b31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Mark both sstatus and msstatus_hs as dirty

Mark both sstatus and vsstatus as dirty (3).

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerd

target/riscv: Mark both sstatus and msstatus_hs as dirty

Mark both sstatus and vsstatus as dirty (3).

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

29409c1d31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Disable guest FP support based on virtual status

When the Hypervisor extension is in use we only enable floating point
support when both status and vsstatus have enabled floating point

target/riscv: Disable guest FP support based on virtual status

When the Hypervisor extension is in use we only enable floating point
support when both status and vsstatus have enabled floating point
support.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

e28eaed831-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Only set TB flags with FP status if enabled

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabb

target/riscv: Only set TB flags with FP status if enabled

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

0736febb31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Remove the hret instruction

The hret instruction does not exist in the new spec versions, so remove
it from QEMU.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-b

target/riscv: Remove the hret instruction

The hret instruction does not exist in the new spec versions, so remove
it from QEMU.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

895c412c31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add hfence instructions

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.c

target/riscv: Add hfence instructions

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

e3fba4ba31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add Hypervisor trap return support

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbe

target/riscv: Add Hypervisor trap return support

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

5eb9e78231-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add hypvervisor trap support

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabb

target/riscv: Add hypvervisor trap support

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

9d0d112631-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Generate illegal instruction on WFI when V=1

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <p

target/riscv: Generate illegal instruction on WFI when V=1

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

eccc5a1231-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/ricsv: Flush the TLB on virtulisation mode changes

To ensure our TLB isn't out-of-date we flush it on all virt mode
changes. Unlike priv mode this isn't saved in the mmu_idx as all
guests sha

target/ricsv: Flush the TLB on virtulisation mode changes

To ensure our TLB isn't out-of-date we flush it on all virt mode
changes. Unlike priv mode this isn't saved in the mmu_idx as all
guests share V=1. The easiest option is just to flush on all changes.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

3ef10a0931-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Add support for virtual interrupt setting

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbel

target/riscv: Add support for virtual interrupt setting

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

a2e9f57d31-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Extend the SIP CSR to support virtulisation

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabb

target/riscv: Extend the SIP CSR to support virtulisation

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

d0e53ce331-Jan-2020 Alistair Francis <alistair.francis@wdc.com>

target/riscv: Extend the MIE CSR to support virtulisation

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabb

target/riscv: Extend the MIE CSR to support virtulisation

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>

show more ...

1...<<51525354555657585960>>...67