On Wed, Apr 30, 2025 at 1:46 PM Atish Patra atishp@rivosinc.com wrote:
This series improves the following tests.
- Get-reg-list : Adds vector support
- SBI PMU test : Distinguish between different types of illegal exception
The first patch is just helper patch that adds stval support during exception handling.
Signed-off-by: Atish Patra atishp@rivosinc.com
Changes in v3:
- Dropped the redundant macros and rv32 specific csr details.
- Changed to vcpu_get_reg from __vcpu_get_reg based on suggestion from Drew.
- Added RB tags from Drew.
- Link to v2: https://lore.kernel.org/r/20250429-kvm_selftest_improve-v2-0-51713f91e04a@ri...
Changes in v2:
- Rebased on top of Linux 6.15-rc4
- Changed from ex_regs to pt_regs based on Drew's suggestion.
- Dropped Anup's review on PATCH1 as it is significantly changed from last review.
- Moved the instruction decoding macros to a common header file.
- Improved the vector reg list test as per the feedback.
- Link to v1: https://lore.kernel.org/r/20250324-kvm_selftest_improve-v1-0-583620219d4f@ri...
Atish Patra (3): KVM: riscv: selftests: Align the trap information wiht pt_regs KVM: riscv: selftests: Decode stval to identify exact exception type KVM: riscv: selftests: Add vector extension tests
Queued this series for Linux-6.16.
Thanks, Anup