]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RISC-V: KVM: Implement ONE_REG interface for SBI FWFT state
authorAnup Patel <apatel@ventanamicro.com>
Sat, 23 Aug 2025 15:59:46 +0000 (21:29 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 05:24:21 +0000 (10:54 +0530)
commit48d67106f4a72a32dcd762774e639e7ed9dbed5e
tree5ca9160988b494f215460523bdfd0646f984c2f6
parent85e7850e0dcd754112cf54c9e4baf0ae9ffda345
RISC-V: KVM: Implement ONE_REG interface for SBI FWFT state

The KVM user-space needs a way to save/restore the state of
SBI FWFT features so implement SBI extension ONE_REG callbacks.

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