[kvm-unit-tests v2 2/2] riscv: Add ISA double trap extension testing
Andrew Jones
andrew.jones at linux.dev
Thu Jun 5 03:34:28 PDT 2025
On Thu, Jun 05, 2025 at 11:52:14AM +0200, Clément Léger wrote:
...
> >> + if (sbi_probe(SBI_EXT_SSE)) {
> >> + if (sse_double_trap()) {
> >> + report_skip("Could not correctly unregister SSE event, skipping last test");
> >> + return;
> >> + }
> >> + } else {
> >> + report_skip("SSE double trap event will not be tested, extension is not available");
> >
> > Missing return
>
> That's actually telling us it skipped the SSE + double trap test, not
> the rest of this function. So that should be kept without any return or
> we will skip the last test.
>
Ah, yes.
Thanks,
drew
More information about the kvm-riscv
mailing list