[kvm-unit-tests PATCH 00/10] riscv: sbi: Test improvements and a couple new
Andrew Jones
andrew.jones at linux.dev
Fri Feb 21 07:55:34 PST 2025
Improvements:
- Ensure system suspend test won't hang
- Ensure HSM suspend tests won't hang
- Ensure state is cleaned up at the end of one extension's test before
starting another
- Probe SUSP and skip cleanly
- Minor SUSP test output improvement
New tests:
- Check bad FIDs for all extensions
- Check SUSP sleep_type upper bits are ignored on RV64
Other:
- Use kfail for some FWFT fails to make CI happy
Based and available here:
https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv/sbi
Andrew Jones (10):
riscv: sbi: Mark known fwft failures as kfails
riscv: sbi: Ensure we have IPIs enabled for HSM suspend tests
riscv: sbi: Ensure SUSP test gets an interrupt
riscv: sbi: Improve susp expected error output
riscv: sbi: Improve interrupt handling cleanup
lib/cpumask: Add some operators
riscv: sbi: HSM suspend may not be supported
riscv: sbi: Probe/skip SUSP
riscv: sbi: susp: Check upper bits of sleep_type are ignored
riscv: sbi: Add bad fid tests
lib/cpumask.h | 56 +++++++++
riscv/sbi-fwft.c | 17 ++-
riscv/sbi-tests.h | 4 +
riscv/sbi.c | 292 +++++++++++++++++++++++++++++++++-------------
4 files changed, 284 insertions(+), 85 deletions(-)
--
2.48.1
More information about the kvm-riscv
mailing list