#
1b7dc511 |
| 04-Jul-2025 |
Jesse Taube <jesse@rivosinc.com> |
riscv: Use norvc over arch, -c
The Linux kernel main tree uses "norvc" over "arch, -c" change to match this.
GCC 15 started to add _zca_zcd to the assembler flags causing a bug which made "arch, -c
riscv: Use norvc over arch, -c
The Linux kernel main tree uses "norvc" over "arch, -c" change to match this.
GCC 15 started to add _zca_zcd to the assembler flags causing a bug which made "arch, -c" generate a compressed instruction.
Link: https://sourceware.org/bugzilla/show_bug.cgi?id=33128 Cc: Clément Léger <cleger@rivosinc.com> Signed-off-by: Jesse Taube <jesse@rivosinc.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
e844ca0c |
| 16-Jun-2025 |
Clément Léger <cleger@rivosinc.com> |
riscv: Add ISA double trap extension testing
This test allows to test the double trap implementation of hardware as well as the SBI FWFT and SSE support for double trap. The tests will try to trigge
riscv: Add ISA double trap extension testing
This test allows to test the double trap implementation of hardware as well as the SBI FWFT and SSE support for double trap. The tests will try to trigger double trap using various sequences and will test to receive the SSE double trap event if supported.
It is provided as a separate test from the SBI one for two reasons: - It isn't specifically testing SBI "per se". - It ends up by trying to crash into in M-mode.
Currently, the test uses a page fault to raise a trap programatically. Some concern was raised by a github user on the original branch [1] saying that the spec doesn't mandate any trap to be delegatable and that we would need a way to detect which ones are delegatable. I think we can safely assume that PAGE FAULT is delegatable and if a hardware that does not have support comes up then it will probably be the vendor responsibility to provide a way to do so.
Link: https://github.com/clementleger/kvm-unit-tests/issues/1 [1] Signed-off-by: Clément Léger <cleger@rivosinc.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|