[PATCH v3 5/6] RISC-V: KVM: Implement ONE_REG interface for SBI FWFT state
Andrew Jones
ajones at ventanamicro.com
Fri Sep 5 07:21:51 PDT 2025
On Sat, Aug 23, 2025 at 09:29:46PM +0530, Anup Patel wrote:
> 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 at ventanamicro.com>
> ---
> arch/riscv/include/asm/kvm_vcpu_sbi_fwft.h | 1 +
> arch/riscv/include/uapi/asm/kvm.h | 15 ++
> arch/riscv/kvm/vcpu_sbi_fwft.c | 197 +++++++++++++++++++--
> 3 files changed, 200 insertions(+), 13 deletions(-)
>
Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
More information about the linux-riscv
mailing list