[DRAFT] RVH-tests - #3246
Conversation
6a8644c to
8903d8c
Compare
|
Please convert your PR to a Draft PR (below the list of reviewers in the right column of this page). It will prevent from an accidental merge. |
|
👋 Hi there! This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊 |
8903d8c to
b4ec4ae
Compare
b4ec4ae to
37c78c1
Compare
|
I have updated the PR to be rebased on the top of #3221, and removed the useless multicore support in |
37c78c1 to
33965df
Compare
|
I cannot see the failure log of the CI, is this expected? |
Did you change the RVFI output file path? |
|
Yes. I splitted output into |
|
Have you set Line 147 in 9c2cf60 |
68041b0 to
cc9b6ab
Compare
|
After quite some trouble, tests should now be passing. However, the I believe that hello world tests should be removed from tests without Zicbom, as such tests currently do not work as they should (i.e. do not issue syscalls), and cannot without a proper way to bypass cache, which may be:
|
fc5d73a to
ac74ed6
Compare
bfe9d43 to
c9a8e21
Compare
Co-authored-by: Jean-François Dumollard <jean-françois.dumollard@inria.fr>
c9a8e21 to
6e67185
Compare
|
👋 Hi there! This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊 |
First draft of our RVH testing c-test suite, implemented in
verif/tests/custom/rvhand triggered byverif/regress/hypervisor-tests-cv64a6_imafdch_sv39.sh.It features:
This is by far not exhaustive of all H-Mode quirks, and is only SV39 (64-bit) compliant.
cva6.py,Makefile,ariane_testharness.sv,ariane_tb.cppand various project files were modified to:from_hostvalue is added along with theto_host, to answer on syscall completion. This requires CBO operations and HPDCache to ensure that the cache do not interfere on read/writes to these values.--no-ecall-exit-markeras ecalls seem to trigger exits on one tool (VCS?) but are required in our H-Mode test suite.Also:
verible-formatwas run onariane_testharness.sv, resulting in (lots of) formatting changes.verible-formatwas run oncorev_apu/tb/rvfi_tracer.sv, resulting in (lots of) formatting changes.The goal of this PR is to know what need to be kept, what breaks the current CI and what should be saved for final merge, as discussed in last weekly meeting.