]> Gentwo Git Trees - linux/.git/commit
RISC-V: KVM: Move copy_sbi_ext_reg_indices() to SBI implementation
authorAnup Patel <apatel@ventanamicro.com>
Sat, 23 Aug 2025 15:59:45 +0000 (21:29 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 05:24:18 +0000 (10:54 +0530)
commit85e7850e0dcd754112cf54c9e4baf0ae9ffda345
tree0aef5993b1193166b6ec4f3209222cf83a20454a
parent699a53aedb18da50b4040b870784f9943dead5d8
RISC-V: KVM: Move copy_sbi_ext_reg_indices() to SBI implementation

The ONE_REG handling of SBI extension enable/disable registers and
SBI extension state registers is already under SBI implementation.
On similar lines, let's move copy_sbi_ext_reg_indices() under SBI
implementation.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20250823155947.1354229-5-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/kvm/vcpu_onereg.c
arch/riscv/kvm/vcpu_sbi.c