Re: [PATCH v3 5/8] RISC-V: KVM: Implement subtype for CSR ONE_REG interface

Andrew Jones
2023-04-03T12:18:19Z

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@ventanamicro.com>
> ---
> 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@ventanamicro.com>

Thanks,
drew