diff options
| author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2026-06-01 13:26:25 +0300 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-06-05 19:08:58 +0300 |
| commit | 85fc710600ca44cbc90e69ee2b4fd712ae7f991a (patch) | |
| tree | e762727b77551f4171021d00393e2070a4bb0d7c /scripts | |
| parent | e659112a39cd93150d93c4661444a439d512e1ca (diff) | |
| download | linux-85fc710600ca44cbc90e69ee2b4fd712ae7f991a.tar.xz | |
KVM: riscv: selftests: Refactor ISA and SBI extension sublist macros
Refactor the get-reg-list test to use unified sublist macros for ISA
and SBI extensions, eliminating code duplication and improving
maintainability.
Previously, each extension had its own hand-coded sublist definition
(e.g., SUBLIST_ZICBOM, SUBLIST_AIA, etc.) and the config structures
repeated the same pattern. This made the code verbose and error-prone.
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-4-415d08a2813b@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
