Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-08-22 | Support setting V-env LFSR bits with a compiler flag (#43)HEADmaster | Jerry Zhao | 1 | -2/+6 | |
This makes it easier to support tests with large memory footprints, as the default 63 pages may be insufficient | |||||
2023-03-16 | Cope with presence of Smrnmi extension | Andrew Waterman | 1 | -0/+2 | |
Enable RNMIs if the extension is present, as the feature affects trap behavior when RNMIs are masked. | |||||
2023-03-03 | Increase v env stack size | Andrew Waterman | 1 | -1/+1 | |
Resolves https://github.com/riscv-software-src/riscv-tests/issues/460 | |||||
2023-02-02 | env: trap and page fault filter mechanism (#40) | deepak0414 | 2 | -0/+25 | |
Certain tests (particularly negative) may require a fault to occur. However in order to pass the tests, page fault and traps must return back to the tests. This patch add support for page fault and trap filtering in env. Signed-off-by: Deepak Gupta <debug@rivosinc.com> | |||||
2022-01-31 | Reverse memcpy direction when evicts a page. (#34) | eistar | 1 | -1/+1 | |
In "evict" function in v/vm.c, when evict a dirty page in user space, memcpy should be from that page, rather than to evicted page. | |||||
2021-07-18 | Fix __clear_cache(0, 0) compilation issue (#30) | Daniel Lustig | 1 | -1/+1 | |
See also https://github.com/riscv/riscv-pk/pull/240 | |||||
2020-11-24 | v/entry.S: replace sbadaddr with stval | Gokturk Yuksek | 1 | -1/+1 | |
The RISC-V Privileged ISA v1.10 uses stval instead of sbadaddr. Although GCC can cope with sbadaddr, clang cannot. It fails with: error: operand must be a valid system register name or an integer in the range [0, 4095] | |||||
2020-11-24 | Replace sptbr with satp throughout | Gokturk Yuksek | 1 | -3/+3 | |
The RISC-V Privileged ISA v1.10 uses satp instead of sptbr. Although GCC can cope with sptbr, clang cannot. It fails with: error: operand must be a valid system register name or an integer in the range [0, 4095] Modified the variable name in vm.c as well to ensure consistency and avoid possible confusion. | |||||
2020-07-14 | fix a building error | Zhi Yong Wu | 1 | -2/+2 | |
riscv64-unknown-elf-gcc -march=rv32g -mabi=ilp32 -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -DENTROPY=0xf7930f7 -std=gnu99 -O2 -I/data/riscv/riscv-tools/riscv-tests/isa/../env/v -I/data/riscv/riscv-tools/riscv-tests/isa/macros/scalar -T/data/riscv/riscv-tools/riscv-tests/isa/../env/v/link.ld /data/riscv/riscv-tools/riscv-tests/isa/../env/v/entry.S /data/riscv/riscv-tools/riscv-tests/isa/../env/v/*.c rv32ui/simple.S -o rv32ui-v-simple /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `tohost': (.tohost+0x0): multiple definition of `tohost'; /tmp/ccOTKaAa.o:(.sbss+0x10): first defined here /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `fromhost': (.tohost+0x40): multiple definition of `fromhost'; /tmp/ccOTKaAa.o:(.sbss+0x8): first defined here collect2: error: ld returned 1 exit status /data/riscv/riscv-tools/riscv-tests/isa/Makefile:74: recipe for target 'rv32ui-v-simple' failed make[1]: *** [rv32ui-v-simple] Error 1 make[1]: Leaving directory '/data/riscv/riscv-tools/riscv-tests/isa' Makefile:28: recipe for target 'isa' failed make: *** [isa] Error 2 Signed-off-by: Zhi Yong Wu <zhiyong.wu@sophgo.com> | |||||
2020-04-14 | encoding: add new VCSR for vector 0.9 | Chih-Min Chao | 1 | -1/+3 | |
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-03-05 | enable vector unit in V environment (#20) | Han-Kuan Chen | 1 | -0/+3 | |
2020-03-02 | restore mtvec (#19) | Han-Kuan Chen | 1 | -1/+1 | |
2020-02-27 | Enable vector unit in V environment by default | Andrew Waterman | 1 | -2/+2 | |
2019-12-16 | Initialize all the x-registers for determinism | Andrew Waterman | 1 | -0/+32 | |
This isn't required for correctness, but it helps debugging (and, in a few restricted scenarios, it avoids x-prop issues). Closes #16 | |||||
2019-08-15 | Don't truncate the LFSR to 32 bits | Andrew Waterman | 1 | -2/+2 | |
This caused it to collapse to 0, preventing coherence_torture from doing anything interesting at all... | |||||
2019-02-19 | Support testing Sv48 with -DSv48 option | Andrew Waterman | 1 | -21/+47 | |
2019-01-04 | Align entry points for RVC compilation | Andrew Waterman | 1 | -0/+4 | |
2018-09-23 | Avoid writing reserved values to pmpaddr CSR | Andrew Waterman | 1 | -1/+2 | |
2018-09-06 | Enable EXTRA_INIT macro to work in VM environment (#10) | Michael McKeown | 2 | -0/+5 | |
2017-11-27 | Rename sptbr to satp | Andrew Waterman | 1 | -3/+3 | |
2017-08-16 | Inform GCC that "sfence.vma" clobbers memory | Palmer Dabbelt | 1 | -1/+1 | |
2017-05-01 | Set ELF entry point correctly | Andrew Waterman | 1 | -2/+2 | |
2017-03-30 | New PMP encoding | Andrew Waterman | 1 | -1/+1 | |
2017-03-29 | Test sstatus.SUM more thoroughly by keeping it usually disabled | Andrew Waterman | 1 | -1/+6 | |
2017-03-27 | Separate page faults from physical memory access exceptions | Andrew Waterman | 1 | -5/+5 | |
2017-03-23 | Align mtvec target | Andrew Waterman | 1 | -0/+1 | |
2017-03-23 | Rely on assembler to provide PMP CSRs | Andrew Waterman | 1 | -5/+4 | |
2017-03-21 | Set up PMP if present | Andrew Waterman | 1 | -2/+12 | |
2017-03-09 | WIP on priv-1.10 | Andrew Waterman | 1 | -25/+40 | |
2016-12-06 | avoid non-standard predefined macros | Andrew Waterman | 3 | -8/+4 | |
2016-08-26 | Disable interrupts during VM tests | Andrew Waterman | 1 | -2/+3 | |
The code doesn't support interrupts, and it was relying on the reset value of the mie register (which is undefined) to disable them. | |||||
2016-08-17 | Avoid division in VM tests | Andrew Waterman | 2 | -6/+6 | |
so we can use the same object code on processors without the M extension | |||||
2016-07-06 | Update to new PTE format | Andrew Waterman | 1 | -11/+9 | |
2016-06-15 | Speed up VM tests | Andrew Waterman | 3 | -9/+27 | |
2016-05-25 | Keep tohost/fromhost at deterministic address | Andrew Waterman | 1 | -3/+0 | |
2016-05-03 | Fix multicore VM tests | Andrew Waterman | 2 | -2/+5 | |
- give harts distinct stacks - correct the address range used by coherence_torture | |||||
2016-05-02 | Stop using mtohost/mfromhost registers | Andrew Waterman | 2 | -30/+16 | |
2016-04-30 | ERET -> xRET; change memory map | Andrew Waterman | 2 | -9/+12 | |
2016-03-14 | Support RV32 virtual memory testspriv-1.9 | Andrew Waterman | 3 | -7/+117 | |
2016-02-28 | WIP on priv spec v1.9 | Andrew Waterman | 2 | -25/+21 | |
2015-09-20 | Remove Hwacha v3 support | Andrew Waterman | 3 | -178/+2 | |
2015-07-06 | Coherence torture test for VM tests | Andrew Waterman | 1 | -1/+24 | |
VM tests only support one core, so have the other cores hammer on the memory system to attempt to catch simple coherence regressions. | |||||
2015-05-19 | Improve coverage of VM tests | Andrew Waterman | 3 | -44/+89 | |
The supervisor code now runs in supervisor mode with negative virtual addresses. This further stresses VM and tests some RV64 corner cases. | |||||
2015-05-09 | Update to privileged architecture version 1.7 | Andrew Waterman | 3 | -57/+12 | |
2015-04-03 | Rename VM_SV43 to VM_SV39 | Andrew Waterman | 1 | -1/+1 | |
2015-03-27 | New virtual memory implementation (Sv39) | Andrew Waterman | 2 | -4/+4 | |
2015-03-17 | Merge [shm]call into ecall, [shm]ret into eret | Andrew Waterman | 2 | -2/+2 | |
2015-03-16 | clean up pt and vector environments | Yunsup Lee | 3 | -6/+5 | |
2015-03-14 | Check referenced/dirty bits | Andrew Waterman | 1 | -1/+7 | |
2015-03-12 | Update to new privileged spec | Andrew Waterman | 3 | -183/+137 | |