RISC-V: KVM: Allow Ztso extension for Guest/VM
authorAnup Patel <apatel@ventanamicro.com>
Tue, 13 Feb 2024 05:02:26 +0000 (10:32 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 6 Mar 2024 15:23:34 +0000 (20:53 +0530)
commitf943ebe2ec26272d71f9c7643ec667c616419bb1
tree24ef25c932297e02331a958a3d46d3d22d0382bc
parentd808f0b1be4888a87524164bc7dad2242734de38
RISC-V: KVM: Allow Ztso extension for Guest/VM

Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Ztso extension for Guest/VM.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c