Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests failed in qemu 7.0.0 #12

Open
KuangjuX opened this issue Feb 17, 2023 · 2 comments
Open

Some tests failed in qemu 7.0.0 #12

KuangjuX opened this issue Feb 17, 2023 · 2 comments

Comments

@KuangjuX
Copy link

Hello! I am using riscv-hyp-tests to test QEMU 7.0.0, the command I executed is as follows:

qemu-system-riscv64 --machine virt -m 3G -bios none -kernel build/qemu/rvh_test.bin -nographic

It turns out that there are a few tests that are failing:

risc-v hypervisor extensions tests
check_misa_h                                                          PASSED
tinst_tests                                                           FAILED
wfi_exception_tests                                                   PASSED
hfence_test                                                           FAILED
virtual_instruction                                                   FAILED
interrupt_tests                                                       PASSED
check_xip_regs                                                        FAILED
m_and_hs_using_vs_access                                              FAILED
second_stage_only_translation                                         FAILED
two_stage_translation                                                 PASSED
end

I'm wondering if QEMU 7.0.0 is still not the full implementation of the riscv H extension, and I'd like to know which version currently passes the test. Thanks!

@josecm
Copy link
Owner

josecm commented Jun 16, 2023

Hey, @KuangjuX, would you be able to check if the tests are still failing in the newer version of QEMU (8.0.1)? I believe that some of the tests don't consider the fact that the specification allows for multiple implementations. Therefore, we might need to make some adjustments or provide leeway in certain tests.

@junambi
Copy link

junambi commented Oct 20, 2023

The tests fail in QEMU (8.1.2) as well.

risc-v hypervisor extensions tests
check_misa_h PASSED
tinst_tests FAILED
wfi_exception_tests PASSED
hfence_test FAILED
virtual_instruction FAILED
interrupt_tests PASSED
check_xip_regs FAILED
m_and_hs_using_vs_access ERROR: instruction fault without return address (mhandler, 237)

Could you please help with this.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants