RISC-V: KVM: Add ONE_REG interface for AIA CSRs
authorAnup Patel <apatel@ventanamicro.com>
Fri, 31 Mar 2023 14:36:18 +0000 (20:06 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 21 Apr 2023 12:15:54 +0000 (17:45 +0530)
commit78f94c082a2f74b78c8b9c779756d8b25317a55a
treec5825ec4f8662ff2ae7cb01d5299101a466ad7a8
parent7d50dd5012013f7c8e3c3e5d0bed78ba85800934
RISC-V: KVM: Add ONE_REG interface for AIA CSRs

We implement ONE_REG interface for AIA CSRs as a separate subtype
under the CSR ONE_REG interface.

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