summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorYong-Xuan Wang <yongxuan.wang@sifive.com>2026-06-01 13:26:25 +0300
committerAnup Patel <anup@brainfault.org>2026-06-05 19:08:58 +0300
commit85fc710600ca44cbc90e69ee2b4fd712ae7f991a (patch)
treee762727b77551f4171021d00393e2070a4bb0d7c /scripts/include
parente659112a39cd93150d93c4661444a439d512e1ca (diff)
downloadlinux-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/include')
0 files changed, 0 insertions, 0 deletions