diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-06-15 09:33:49 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-06-18 17:54:43 +0200 |
commit | 89d01306e34d6ace24e9708cb443df0e53c06ce0 (patch) | |
tree | 8da54f5920249267748f247d36a271dc21dd3052 /include/uapi | |
parent | RISC-V: KVM: Skeletal in-kernel AIA irqchip support (diff) | |
download | linux-89d01306e34d6ace24e9708cb443df0e53c06ce0.tar.xz linux-89d01306e34d6ace24e9708cb443df0e53c06ce0.zip |
RISC-V: KVM: Implement device interface for AIA irqchip
We implement KVM device interface for in-kernel AIA irqchip so that
user-space can use KVM device ioctls to create, configure, and destroy
in-kernel AIA irqchip.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 737318b1c1d9..27ccd07898e1 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -1442,6 +1442,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_ARM_PV_TIME, #define KVM_DEV_TYPE_ARM_PV_TIME KVM_DEV_TYPE_ARM_PV_TIME + KVM_DEV_TYPE_RISCV_AIA, +#define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_MAX, }; |