[kvm-unit-tests PATCH v2 00/11] riscv: sbi: Test improvements and a couple new

Andrew Jones andrew.jones at linux.dev
Thu Feb 27 06:19:24 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
 - Dropped upper bits fwft test for misaligned_exc_deleg

New tests:
 - Check bad FIDs for all extensions
 - Check SUSP sleep_type upper bits are ignored on RV64
 - FWFT pte-hw-ad-updating tests

v2:
 - Dropped upper bits fwft test for misaligned_exc_deleg rather than
   change to kfail
 - Added FWFT pte-hw-ad-updating tests
 - Added a couple Clément tags


Andrew Jones (11):
  riscv: sbi: Drop fwft upper bits test
  riscv: sbi: Add fwft pte_hw_ad_updating test
  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  | 187 ++++++++++++++++++++++++++---
 riscv/sbi-tests.h |   4 +
 riscv/sbi.c       | 292 +++++++++++++++++++++++++++++++++-------------
 4 files changed, 442 insertions(+), 97 deletions(-)

-- 
2.48.1




More information about the kvm-riscv mailing list