[kvm-unit-tests PATCH 0/3] riscv: sbi: Ensure we can pass with any opensbi
Andrew Jones
andrew.jones at linux.dev
Sat Mar 22 03:47:14 PDT 2025
On Fri, Mar 21, 2025 at 05:54:04PM +0100, Andrew Jones wrote:
> At some point CI will update the version of QEMU it uses. If the version
> selected includes an opensbi that doesn't have all the fixes for current
> tests, then CI will start failing for riscv. Guard against that by using
> kfail for known opensbi failures. We only kfail for opensbi and for its
> versions less than 1.7, though, as we expect everything to be fixed then.
>
> Andrew Jones (3):
> lib/riscv: Also provide sbiret impl functions
> riscv: sbi: Add kfail versions of sbiret_report functions
> riscv: sbi: Use kfail for known opensbi failures
>
> lib/riscv/asm/sbi.h | 6 ++++--
> lib/riscv/sbi.c | 18 ++++++++++++++----
> riscv/sbi-fwft.c | 20 +++++++++++++-------
> riscv/sbi-sse.c | 4 ++--
> riscv/sbi-tests.h | 20 +++++++++++++++-----
> riscv/sbi.c | 6 ++++--
> 6 files changed, 52 insertions(+), 22 deletions(-)
>
> --
> 2.48.1
>
Merged.
Thanks,
drew
More information about the kvm-riscv
mailing list