On Wed, Jul 12, 2023 at 09:40:42PM +0530, Anup Patel wrote: > Currently, the ISA extension ONE_REG interface only allows enabling or > disabling one extension at a time. To improve this, we extend the ISA > extension ONE_REG interface (similar to SBI extension ONE_REG interface) > so that KVM user space can enable/disable multiple extensions in one > ioctl. > > Signed-off-by: Anup Patel <apatel@xxxxxxxxxxxxxxxx> > --- > arch/riscv/include/uapi/asm/kvm.h | 9 ++ > arch/riscv/kvm/vcpu_onereg.c | 153 ++++++++++++++++++++++++------ > 2 files changed, 133 insertions(+), 29 deletions(-) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>