Skip to content

riscv: sbi: Provide sbiret_report/check

Andrew Jones kvm-riscv 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Output expected error string with sbiret_report_error() [Clément]
- Picked up Clément's tags except for patch3 since it changed a decent amount.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: sbi: Improve gen_reportriscv/sbi.c+24 -210 replies
2/3riscv: sbi: Export sbiret_report/checkriscv/sbi-tests.h riscv/sbi.c+21 -170 replies
3/3riscv: sbi: Add sbiret_report_errorriscv/sbi-tests.h+18 -31 reply

Reviews trailers per patch

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

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

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

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/3] riscv: sbi: Provide sbiret_report/check

It's commom for SBI tests to expect a particular error return (or no error, which case it expects the returned error to be SBI_SUCCESS). When we don't get the expected error it'd be nice to output what we did get. gen_report() in the SBI tests were doing that for the BASE tests, improve it and export it to be used by all SBI tests.

v2:
- Output expected error string with sbiret_report_error() [Clément]
- Picked up Clément's tags except for patch3 since it changed a decent amount.

Andrew Jones (3):
riscv: sbi: Improve gen_report
riscv: sbi: Export sbiret_report/check
riscv: sbi: Add sbiret_report_error

 riscv/sbi-tests.h | 36 ++++++++++++++++++++++++++++++++++++
 riscv/sbi.c       | 30 ++++++++----------------------
 2 files changed, 44 insertions(+), 22 deletions(-)
Signature · 7 lines
2.48.1


-- 
kvm-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kvm-riscv