[kvm-unit-tests PATCH v2 0/2] Add support for SBI FWFT extension testing
Clément Léger
cleger at rivosinc.com
Thu Jan 23 08:54:02 PST 2025
This series adds a minimal set of tests for the FWFT extension. Reserved
range as well as misaligned exception delegation. A commit coming from
the SSE tests series is also included in this series to add -deps
makefile notation.
---
V2:
- Added fwft_{get/set}_raw() to test invalid > 32 bits ids
- Added test for invalid flags/value > 32 bits
- Added test for lock feature
- Use and enum for FWFT functions
- Replace hardcoded 1 << with BIT()
- Fix fwft_get/set return value
- Split set/get tests for reserved ranges
- Added push/pop to arch -c option
- Remove leftover of manual probing code
Clément Léger (2):
riscv: Add "-deps" handling for tests
riscv: Add tests for SBI FWFT extension
riscv/Makefile | 8 +-
lib/riscv/asm/sbi.h | 34 ++++++++
riscv/sbi-fwft.c | 189 ++++++++++++++++++++++++++++++++++++++++++++
riscv/sbi.c | 3 +
4 files changed, 231 insertions(+), 3 deletions(-)
create mode 100644 riscv/sbi-fwft.c
--
2.47.1
More information about the kvm-riscv
mailing list