]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: RISC-V: refactor sbi reset request
authorRadim Krčmář <rkrcmar@ventanamicro.com>
Thu, 3 Apr 2025 11:25:21 +0000 (13:25 +0200)
committerAnup Patel <anup@brainfault.org>
Wed, 21 May 2025 04:04:49 +0000 (09:34 +0530)
commita1c66842f1b5a054af2f3d9b4d12b8674f5f558f
tree30fa89d5dc78bcd425af0030e000916fda6fe3f7
parent9ffecf04144db5517eae204e65b7cde75ac920e0
KVM: RISC-V: refactor sbi reset request

The same code is used twice and SBI reset sets only two variables.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Radim Krčmář <rkrcmar@ventanamicro.com>
Link: https://lore.kernel.org/r/20250403112522.1566629-5-rkrcmar@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/kvm/vcpu_sbi.c
arch/riscv/kvm/vcpu_sbi_hsm.c
arch/riscv/kvm/vcpu_sbi_system.c