On Mon, Apr 03, 2023 at 03:03:07PM +0530, Anup Patel wrote: > To make the CSR ONE_REG interface extensible, we implement subtype > for the CSR ONE_REG IDs. The existing CSR ONE_REG IDs are treated > as subtype = 0 (aka General CSRs). > > Signed-off-by: Anup Patel <apatel@xxxxxxxxxxxxxxxx> > --- > arch/riscv/include/uapi/asm/kvm.h | 3 +- > arch/riscv/kvm/vcpu.c | 88 +++++++++++++++++++++++-------- > 2 files changed, 69 insertions(+), 22 deletions(-) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx> Thanks, drew