History log of /openbmc/qemu/target/riscv/ (Results 876 – 900 of 1666)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1ea4a06a07-Feb-2022 Philippe Mathieu-Daudé <f4bug@amsat.org>

target: Use CPUArchState as interface to target-specific CPU state

While CPUState is our interface with generic code, CPUArchState is
our interface with target-specific code. Use CPUArchState as an

target: Use CPUArchState as interface to target-specific CPU state

While CPUState is our interface with generic code, CPUArchState is
our interface with target-specific code. Use CPUArchState as an
abstract type, defined by each target.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220214183144.27402-13-f4bug@amsat.org>

show more ...

3cb1a41007-Feb-2022 Philippe Mathieu-Daudé <f4bug@amsat.org>

target: Include missing 'cpu.h'

These target-specific files use the target-specific CPU state
but lack to include "cpu.h"; i.e.:

../target/riscv/pmp.h:61:23: error: unknown type name 'CPURISCVS

target: Include missing 'cpu.h'

These target-specific files use the target-specific CPU state
but lack to include "cpu.h"; i.e.:

../target/riscv/pmp.h:61:23: error: unknown type name 'CPURISCVState'
void pmpcfg_csr_write(CPURISCVState *env, uint32_t reg_index,
^
../target/nios2/mmu.h:43:18: error: unknown type name 'CPUNios2State'
void mmu_flip_um(CPUNios2State *env, unsigned int um);
^
../target/microblaze/mmu.h:88:19: error: unknown type name 'CPUMBState'; did you mean 'CPUState'?
uint32_t mmu_read(CPUMBState *env, bool ea, uint32_t rn);
^~~~~~~~~~
CPUState

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220214183144.27402-10-f4bug@amsat.org>

show more ...

03ff4f8d22-Jan-2022 Philippe Mathieu-Daudé <f4bug@amsat.org>

misc: Add missing "sysemu/cpu-timers.h" include

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <

misc: Add missing "sysemu/cpu-timers.h" include

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-18-f4bug@amsat.org>

show more ...


/openbmc/qemu/accel/kvm/kvm-accel-ops.c
/openbmc/qemu/accel/meson.build
/openbmc/qemu/accel/qtest/qtest.c
/openbmc/qemu/accel/stubs/hax-stub.c
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/tcg/tcg-accel-ops-icount.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/jackaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/amend.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/copy-before-write.h
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/create.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/export/export.c
/openbmc/qemu/block/export/fuse.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/meson.build
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/configure
/openbmc/qemu/cpu.c
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/docs/specs/sev-guest-firmware.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/tools/qemu-storage-daemon.rst
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/core/clock-vmstate.c
/openbmc/qemu/hw/display/edid-generate.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i2c/i2c_mux_pca954x.c
/openbmc/qemu/hw/i386/pc_sysfw_ovmf.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/dif.c
/openbmc/qemu/hw/nvme/dif.h
/openbmc/qemu/hw/nvme/ns.c
/openbmc/qemu/hw/nvme/nvme.h
/openbmc/qemu/hw/nvme/trace-events
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/ssi/xlnx-versal-ospi.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/block_int-global-state.h
/openbmc/qemu/include/block/block_int-io.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/block/blockjob_int.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/registerfields.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/coroutine-tls.h
/openbmc/qemu/include/qemu/cpuid.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/sysemu/accel-ops.h
/openbmc/qemu/include/sysemu/block-backend-common.h
/openbmc/qemu/include/sysemu/block-backend-global-state.h
/openbmc/qemu/include/sysemu/block-backend-io.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/include/sysemu/hax.h
/openbmc/qemu/include/sysemu/hw_accel.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/memory_mapping.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/job.c
/openbmc/qemu/meson.build
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/monitor/hmp.c
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/monitor/qmp-cmds.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/softmmu/cpu-timers.c
/openbmc/qemu/softmmu/cpus.c
/openbmc/qemu/softmmu/globals.c
/openbmc/qemu/softmmu/memory_mapping.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/storage-daemon/qemu-storage-daemon.c
/openbmc/qemu/stubs/iothread-lock-block.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm-consts.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/psci.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/i386/hax/hax-all.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.h
/openbmc/qemu/target/nios2/meson.build
/openbmc/qemu/target/nios2/mmu.c
/openbmc/qemu/target/nios2/mmu.h
/openbmc/qemu/target/nios2/op_helper.c
/openbmc/qemu/target/nios2/trace-events
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/translate/vmx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
csr.c
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target-con-set.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.opc.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci/tcg-target.c.inc
/openbmc/qemu/tests/check-block.sh
/openbmc/qemu/tests/qemu-iotests/185
/openbmc/qemu/tests/qemu-iotests/185.out
/openbmc/qemu/tests/qemu-iotests/271
/openbmc/qemu/tests/qemu-iotests/296
/openbmc/qemu/tests/qemu-iotests/296.out
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/tests/graph-changes-while-io
/openbmc/qemu/tests/qemu-iotests/tests/graph-changes-while-io.out
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/npcm7xx_sdhci-test.c
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/tcg/ppc64le/bcdsub.c
/openbmc/qemu/tests/tcg/ppc64le/mtfsf.c
/openbmc/qemu/tests/tcg/ppc64le/non_signalling_xscv.c
/openbmc/qemu/tests/unit/ptimer-test-stubs.c
/openbmc/qemu/tests/unit/rcutorture.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/tests/unit/test-rcu-list.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/ui/clipboard.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console-gl.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/rcu.c
6b1accef10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: expose zfinx, zdinx, zhinx{min} properties

Co-authored-by: ardxwe <ardxwe@gmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac

target/riscv: expose zfinx, zdinx, zhinx{min} properties

Co-authored-by: ardxwe <ardxwe@gmail.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: <20220211043920.28981-7-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

a2464a4c10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for zhinx/zhinxmin

- update extension check REQUIRE_ZHINX_OR_ZFH and REQUIRE_ZFH_OR_ZFHMIN_OR_ZHINX_OR_ZHINXMIN
- update half float point register read/write
- disabl

target/riscv: add support for zhinx/zhinxmin

- update extension check REQUIRE_ZHINX_OR_ZFH and REQUIRE_ZFH_OR_ZFHMIN_OR_ZHINX_OR_ZHINXMIN
- update half float point register read/write
- disable nanbox_h check

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: <20220211043920.28981-6-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

026e73fa10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for zdinx

-- update extension check REQUIRE_ZDINX_OR_D
-- update double float point register read/write

Co-authored-by: ardxwe <ardxwe@gmail.com>
Signed-off-by: Weiwei

target/riscv: add support for zdinx

-- update extension check REQUIRE_ZDINX_OR_D
-- update double float point register read/write

Co-authored-by: ardxwe <ardxwe@gmail.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: <20220211043920.28981-5-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

e1a29bbd10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for zfinx

- update extension check REQUIRE_ZFINX_OR_F
- update single float point register read/write
- disable nanbox_s check

Co-authored-by: ardxwe <ardxwe@gmail.c

target/riscv: add support for zfinx

- update extension check REQUIRE_ZFINX_OR_F
- update single float point register read/write
- disable nanbox_s check

Co-authored-by: ardxwe <ardxwe@gmail.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: <20220211043920.28981-4-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

c163b3ba10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: hardwire mstatus.FS to zero when enable zfinx

Co-authored-by: ardxwe <ardxwe@gmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas

target/riscv: hardwire mstatus.FS to zero when enable zfinx

Co-authored-by: ardxwe <ardxwe@gmail.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: <20220211043920.28981-3-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

89ffdcec10-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add cfg properties for zfinx, zdinx and zhinx{min}

Co-authored-by: ardxwe <ardxwe@gmail.com>
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@

target/riscv: add cfg properties for zfinx, zdinx and zhinx{min}

Co-authored-by: ardxwe <ardxwe@gmail.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: <20220211043920.28981-2-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

90f9e35b03-Feb-2022 Philipp Tomsich <philipp.tomsich@vrull.eu>

target/riscv: fix inverted checks for ext_zb[abcs]

While changing to the use of cfg_ptr, the conditions for REQUIRE_ZB[ABCS]
inadvertently became inverted and slipped through the initial testing (wh

target/riscv: fix inverted checks for ext_zb[abcs]

While changing to the use of cfg_ptr, the conditions for REQUIRE_ZB[ABCS]
inadvertently became inverted and slipped through the initial testing (which
used RV64GC_XVentanaCondOps as a target).
This fixes the regression.

Tested against SPEC2017 w/ GCC 12 (prerelease) for RV64GC_zba_zbb_zbc_zbs.

Fixes: f2a32bec8f0da99 ("target/riscv: access cfg structure through DisasContext")
Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220203153946.2676353-1-philipp.tomsich@vrull.eu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/backends/tpm/meson.build
/openbmc/qemu/block/meson.build
/openbmc/qemu/block/ssh.c
/openbmc/qemu/bsd-user/arm/target.h
/openbmc/qemu/bsd-user/arm/target_arch_cpu.h
/openbmc/qemu/bsd-user/arm/target_arch_thread.h
/openbmc/qemu/bsd-user/bsd-file.h
/openbmc/qemu/bsd-user/freebsd/meson.build
/openbmc/qemu/bsd-user/freebsd/os-syscall.c
/openbmc/qemu/bsd-user/i386/target.h
/openbmc/qemu/bsd-user/i386/target_arch_cpu.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/signal.c
/openbmc/qemu/bsd-user/syscall_defs.h
/openbmc/qemu/bsd-user/x86_64/target.h
/openbmc/qemu/bsd-user/x86_64/target_arch_cpu.h
/openbmc/qemu/bsd-user/x86_64/target_arch_thread.h
/openbmc/qemu/configs/targets/or1k-softmmu.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/vhost-user-gpu/meson.build
/openbmc/qemu/crypto/meson.build
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/devel/ci-jobs.rst.inc
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/docs/interop/firmware.json
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/arm/nuvoton.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst.inc
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/core/guest-loader.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/display/i2c-ddc.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/omap_dss.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/gpio/omap_gpio.c
/openbmc/qemu/hw/i2c/Kconfig
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/sgx-epc.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/intc/bcm2835_ic.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/pnv_xive2.c
/openbmc/qemu/hw/intc/pnv_xive2_regs.h
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/intc/xive2.c
/openbmc/qemu/hw/ipmi/ipmi.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/misc/aspeed_sbc.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_powermgt.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/bcm2835_rng.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/misc/pvpanic-isa.c
/openbmc/qemu/hw/misc/pvpanic-pci.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/nvram/eeprom_at24c.c
/openbmc/qemu/hw/openrisc/meson.build
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-host/pnv_phb4.c
/openbmc/qemu/hw/pci-host/pnv_phb4_pec.c
/openbmc/qemu/hw/pci-host/trace-events
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_homer.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/prep_systemio.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_numa.c
/openbmc/qemu/hw/ppc/spapr_pci_nvlink2.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/meson.build
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/tod-kvm.c
/openbmc/qemu/hw/s390x/tod-tcg.c
/openbmc/qemu/hw/s390x/tod.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/cadence_sdhci.c
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/sensor/Kconfig
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/timer/a9gtimer.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-pmem.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/helper-head.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/m68k/mcf.h
/openbmc/qemu/include/hw/misc/aspeed_sbc.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4_regs.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_homer.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_xive.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ppc/xive2.h
/openbmc/qemu/include/hw/ppc/xive2_regs.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/tricore/triboard.h
/openbmc/qemu/include/qemu/cacheinfo.h
/openbmc/qemu/include/qemu/hw-version.h
/openbmc/qemu/include/qemu/madvise.h
/openbmc/qemu/include/qemu/mmap-alloc.h
/openbmc/qemu/include/qemu/mprotect.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/tcg/tcg-op-gvec.h
/openbmc/qemu/linux-user/i386/cpu_loop.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/meson.build
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor/misc.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/python/Makefile
/openbmc/qemu/python/qemu/aqmp/qmp_shell.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/setup.py
/openbmc/qemu/python/tests/iotests-pylint.sh
/openbmc/qemu/python/tests/pylint.sh
/openbmc/qemu/qapi/compat.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/qapi-util.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/meson.build
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qga/vss-win32/meson.build
/openbmc/qemu/qga/vss-win32/provider.cpp
/openbmc/qemu/qga/vss-win32/requester.cpp
/openbmc/qemu/qga/vss-win32/vss-common.h
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/ci/setup/build-environment.yml
/openbmc/qemu/scripts/ci/setup/gitlab-runner.yml
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/pylintrc
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/scripts/qmp/qmp-shell-wrap
/openbmc/qemu/semihosting/arm-compat-semi.c
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/meson.build
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/qemu-seccomp.c
/openbmc/qemu/softmmu/runstate.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/arm/mte_helper.c
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/avr/helper.c
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/hexagon/internal.h
/openbmc/qemu/target/hexagon/translate.h
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/helper.h
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/ops_sse_header.h
/openbmc/qemu/target/i386/tcg/int_helper.c
/openbmc/qemu/target/i386/tcg/misc_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/seg_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/svm_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/m68k/helper.h
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/mmu.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/mips/tcg/exception.c
/openbmc/qemu/target/mips/tcg/sysemu/special_helper.c
/openbmc/qemu/target/mips/tcg/translate.h
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/mmu.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/helper.h
/openbmc/qemu/target/ppc/insn32.decode
/openbmc/qemu/target/ppc/insn64.decode
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/meson.build
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/power8-pmu.c
/openbmc/qemu/target/ppc/power8-pmu.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vmx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vmx-ops.c.inc
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
/openbmc/qemu/target/ppc/translate/vsx-ops.c.inc
insn_trans/trans_rvb.c.inc
/openbmc/qemu/target/rx/cpu.h
/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/excp_helper.c
/openbmc/qemu/target/s390x/tcg/insn-data.def
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/mmu_helper.c
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/xtensa/dbg_helper.c
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/fpu_helper.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/target/xtensa/win_helper.c
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/region.c
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci/tcg-target.c.inc
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/check-block.sh
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu1804.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/openbmc/qemu/tests/lcitool/libvirt-ci
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/qemu-iotests/meson.build
/openbmc/qemu/tests/qemu-iotests/testrunner.py
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/system/semiheap.c
/openbmc/qemu/tests/tcg/arm/Makefile.target
/openbmc/qemu/tests/tcg/configure.sh
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/sha512.c
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/ppc64le/Makefile.target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/mie3-compl.c
/openbmc/qemu/tests/tcg/s390x/mie3-mvcrl.c
/openbmc/qemu/tests/tcg/s390x/mie3-sel.c
/openbmc/qemu/tests/tcg/sh4/Makefile.target
/openbmc/qemu/tests/tcg/x86_64/Makefile.target
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-seccomp.c
/openbmc/qemu/tools/meson.build
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/util/atomic64.c
/openbmc/qemu/util/cacheflush.c
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/keyval.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/osdep.c
/openbmc/qemu/util/oslib-posix.c
b8012ecf07-Feb-2022 Philippe Mathieu-Daudé <f4bug@amsat.org>

target: Add missing "qemu/timer.h" include

timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are
declared in "qemu/timer.h".

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Re

target: Add missing "qemu/timer.h" include

timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are
declared in "qemu/timer.h".

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220207082756.82600-8-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/openbmc/qemu/docs/system/riscv/virt.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-synth.h
/openbmc/qemu/hw/9pfs/codir.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_nvdimm.c
/openbmc/qemu/hw/remote/proxy-memory-listener.c
/openbmc/qemu/hw/tpm/tpm_crb.c
/openbmc/qemu/hw/tpm/tpm_ppi.c
/openbmc/qemu/hw/tpm/tpm_ppi.h
/openbmc/qemu/include/exec/ramblock.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/mem/pc-dimm.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/spapr_nvdimm.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/standard-headers/asm-x86/kvm_para.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpio.h
/openbmc/qemu/include/standard-headers/linux/virtio_i2c.h
/openbmc/qemu/include/standard-headers/linux/virtio_iommu.h
/openbmc/qemu/include/standard-headers/linux/virtio_pcidev.h
/openbmc/qemu/include/standard-headers/linux/virtio_scmi.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-riscv/bitsperlong.h
/openbmc/qemu/linux-headers/asm-riscv/mman.h
/openbmc/qemu/linux-headers/asm-riscv/unistd.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_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/softmmu/qtest.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/hppa/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/helper_regs.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/spr_common.h
/openbmc/qemu/target/ppc/translate.c
csr.c
/openbmc/qemu/target/sparc/helper.c
/openbmc/qemu/tests/qtest/device-plug-test.c
/openbmc/qemu/tests/qtest/drive_del-test.c
/openbmc/qemu/tests/qtest/erst-test.c
/openbmc/qemu/tests/qtest/fdc-test.c
/openbmc/qemu/tests/qtest/hd-geo-test.c
/openbmc/qemu/tests/qtest/i440fx-test.c
/openbmc/qemu/tests/qtest/ide-test.c
/openbmc/qemu/tests/qtest/ivshmem-test.c
/openbmc/qemu/tests/qtest/libqos/virtio-9p.c
/openbmc/qemu/tests/qtest/vhost-user-test.c
/openbmc/qemu/tests/qtest/virtio-9p-test.c
/openbmc/qemu/tests/qtest/virtio-net-failover.c
/openbmc/qemu/tools/virtiofsd/fuse_common.h
/openbmc/qemu/tools/virtiofsd/fuse_i.h
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.c
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.h
/openbmc/qemu/tools/virtiofsd/helper.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/tools/virtiofsd/passthrough_seccomp.c
/openbmc/qemu/util/osdep.c
bbce8ba803-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for svpbmt extension

- add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on QEMU, since QEMU is sequentially consistent and doesn't model PMAs currently

target/riscv: add support for svpbmt extension

- add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on QEMU, since QEMU is sequentially consistent and doesn't model PMAs currently
- add PTE_PBMT bit check for inner PTE

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-6-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

c5d77ddd03-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for svinval extension

- sinval.vma, hinval.vvma and hinval.gvma do the same as sfence.vma, hfence.vvma and hfence.gvma except extension check
- do nothing other than extens

target/riscv: add support for svinval extension

- sinval.vma, hinval.vvma and hinval.gvma do the same as sfence.vma, hfence.vvma and hfence.gvma except extension check
- do nothing other than extension check for sfence.w.inval and sfence.inval.ir

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-5-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

2bacb22403-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add support for svnapot extension

- add PTE_N bit
- add PTE_N bit check for inner PTE
- update address translation to support 64KiB continuous region (napot_bits = 4)

Signed-off-by: W

target/riscv: add support for svnapot extension

- add PTE_N bit
- add PTE_N bit check for inner PTE
- update address translation to support 64KiB continuous region (napot_bits = 4)

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-4-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

b6ecc63c03-Feb-2022 Weiwei Li <liweiwei@iscas.ac.cn>

target/riscv: add PTE_A/PTE_D/PTE_U bits check for inner PTE

For non-leaf PTEs, the D, A, and U bits are reserved for future standard use.

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

target/riscv: add PTE_A/PTE_D/PTE_U bits check for inner PTE

For non-leaf PTEs, the D, A, and U bits are reserved for future standard use.

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-3-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

05e6ca5e03-Feb-2022 Guo Ren <ren_guo@c-sky.com>

target/riscv: Ignore reserved bits in PTE for RV64

Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we
need to ignore them. They cannot be a part of ppn.

1: The RISC-V Instruction Se

target/riscv: Ignore reserved bits in PTE for RV64

Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we
need to ignore them. They cannot be a part of ppn.

1: The RISC-V Instruction Set Manual, Volume II: Privileged Architecture
4.4 Sv39: Page-Based 39-bit Virtual-Memory System
4.5 Sv48: Page-Based 48-bit Virtual-Memory System

2: https://github.com/riscv/virtual-memory/blob/main/specs/663-Svpbmt-diff.pdf

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Liu Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-2-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

91870b5104-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Allow users to force enable AIA CSRs in HART

We add "x-aia" command-line option for RISC-V HART using which
allows users to force enable CPU AIA CSRs without changing the
interrupt con

target/riscv: Allow users to force enable AIA CSRs in HART

We add "x-aia" command-line option for RISC-V HART using which
allows users to force enable CPU AIA CSRs without changing the
interrupt controller available in RISC-V machine.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-18-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

ac4b030204-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA IMSIC interface CSRs

The AIA specification defines IMSIC interface CSRs for easy access
to the per-HART IMSIC registers without using indirect xiselect and
xireg CSRs. Th

target/riscv: Implement AIA IMSIC interface CSRs

The AIA specification defines IMSIC interface CSRs for easy access
to the per-HART IMSIC registers without using indirect xiselect and
xireg CSRs. This patch implements the AIA IMSIC interface CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-16-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

d1ceff4004-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA xiselect and xireg CSRs

The AIA specification defines [m|s|vs]iselect and [m|s|vs]ireg CSRs
which allow indirect access to interrupt priority arrays and per-HART
IMSIC re

target/riscv: Implement AIA xiselect and xireg CSRs

The AIA specification defines [m|s|vs]iselect and [m|s|vs]ireg CSRs
which allow indirect access to interrupt priority arrays and per-HART
IMSIC registers. This patch implements AIA xiselect and xireg CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-15-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

c7de92b404-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA mtopi, stopi, and vstopi CSRs

The AIA specification introduces new [m|s|vs]topi CSRs for
reporting pending local IRQ number and associated IRQ priority.

Signed-off-by: A

target/riscv: Implement AIA mtopi, stopi, and vstopi CSRs

The AIA specification introduces new [m|s|vs]topi CSRs for
reporting pending local IRQ number and associated IRQ priority.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-14-anup@brainfault.org
[ Changed by AF:
- Fixup indentation
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

d0237b4d04-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA interrupt filtering CSRs

The AIA specificaiton adds interrupt filtering support for M-mode
and HS-mode. Using AIA interrupt filtering M-mode and H-mode can
take local int

target/riscv: Implement AIA interrupt filtering CSRs

The AIA specificaiton adds interrupt filtering support for M-mode
and HS-mode. Using AIA interrupt filtering M-mode and H-mode can
take local interrupt 13 or above and selectively inject same local
interrupt to lower privilege modes.

At the moment, we don't have any local interrupts above 12 so we
add dummy implementation (i.e. read zero and ignore write) of AIA
interrupt filtering CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-13-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

2b60239804-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA hvictl and hviprioX CSRs

The AIA hvictl and hviprioX CSRs allow hypervisor to control
interrupts visible at VS-level. This patch implements AIA hvictl
and hviprioX CSRs.

target/riscv: Implement AIA hvictl and hviprioX CSRs

The AIA hvictl and hviprioX CSRs allow hypervisor to control
interrupts visible at VS-level. This patch implements AIA hvictl
and hviprioX CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-12-anup@brainfault.org
[ Changes by AF:
- Fix possible unintilised variable error in rmw_sie()
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

d028ac7504-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA CSRs for 64 local interrupts on RV32

The AIA specification adds new CSRs for RV32 so that RISC-V hart can
support 64 local interrupts on both RV32 and RV64.

Signed-off-b

target/riscv: Implement AIA CSRs for 64 local interrupts on RV32

The AIA specification adds new CSRs for RV32 so that RISC-V hart can
support 64 local interrupts on both RV32 and RV64.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-11-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

43dc93af04-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Implement AIA local interrupt priorities

The AIA spec defines programmable 8-bit priority for each local interrupt
at M-level, S-level and VS-level so we extend local interrupt process

target/riscv: Implement AIA local interrupt priorities

The AIA spec defines programmable 8-bit priority for each local interrupt
at M-level, S-level and VS-level so we extend local interrupt processing
to consider AIA interrupt priorities. The AIA CSRs which help software
configure local interrupt priorities will be added by subsequent patches.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20220204174700.534953-10-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

69077dd604-Feb-2022 Anup Patel <anup.patel@wdc.com>

target/riscv: Allow AIA device emulation to set ireg rmw callback

The AIA device emulation (such as AIA IMSIC) should be able to set
(or provide) AIA ireg read-modify-write callback for each privile

target/riscv: Allow AIA device emulation to set ireg rmw callback

The AIA device emulation (such as AIA IMSIC) should be able to set
(or provide) AIA ireg read-modify-write callback for each privilege
level of a RISC-V HART.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-9-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

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