diff options
| author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2026-06-01 13:26:26 +0300 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-06-05 19:08:58 +0300 |
| commit | 64e50ab0ed84383eec398ced43b8ea40b249804b (patch) | |
| tree | d64f23dd9a469a796719161694ef6117463d2f53 /scripts/include/array_size.h | |
| parent | 85fc710600ca44cbc90e69ee2b4fd712ae7f991a (diff) | |
| download | linux-64e50ab0ed84383eec398ced43b8ea40b249804b.tar.xz | |
KVM: riscv: selftests: Split SBI FWFT into separate feature-specific sublists
Divide the monolithic SBI FWFT (Firmware Features) register list into
separate sublists, each testing a specific FWFT feature independently
with proper dependency checking.
Previously, all FWFT features were tested together in a single sublist.
This caused issues because:
1. Not all FWFT features are available on all platforms
2. Some features depend on specific ISA extensions (e.g., pointer_masking
requires Smnpm)
3. Tests would fail if any single feature was unavailable
Add the feature-specific SBI FWFT sublists with the following
improvements:
- Add check_fwft_feature() helper to verify FWFT feature availability
at runtime
- Update filter_reg() to handle per-feature FWFT register filtering
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260601-kvm-get_reg_list-v2-v5-5-415d08a2813b@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/include/array_size.h')
0 files changed, 0 insertions, 0 deletions
