Skip to content

riscv: sbi: Ensure we can pass with any opensbi

Andrew Jones kvm kvm-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/riscv: Also provide sbiret impl functionslib/riscv/asm/sbi.h lib/riscv/sbi.c riscv/sbi-sse.c+20 -81 reply
2/3riscv: sbi: Add kfail versions of sbiret_report functionsriscv/sbi-tests.h+15 -51 reply
3/3riscv: sbi: Use kfail for known opensbi failuresriscv/sbi-fwft.c riscv/sbi.c+17 -92 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchClément Léger
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [kvm-unit-tests PATCH 0/3] riscv: sbi: Ensure we can pass with any opensbi

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(-)
Signature · 1 line
2.48.1