diff options
author | Xianglai Li <lixianglai@loongson.cn> | 2024-11-13 09:18:27 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-11-13 09:18:27 +0100 |
commit | 2e8b9df82631e714cc2b7bf302772c8259673180 (patch) | |
tree | 046bdbec4e0219dec214ebee286cf111e71a9321 /include/uapi | |
parent | LoongArch: KVM: Add IPI user mode read and write function (diff) | |
download | linux-2e8b9df82631e714cc2b7bf302772c8259673180.tar.xz linux-2e8b9df82631e714cc2b7bf302772c8259673180.zip |
LoongArch: KVM: Add EIOINTC device support
Add device model for EIOINTC interrupt controller, implement basic
create & destroy interfaces, and register device model to kvm device
table.
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
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 9fff439c30ea..0ec5c631d9e9 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -1160,6 +1160,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_LOONGARCH_IPI, #define KVM_DEV_TYPE_LOONGARCH_IPI KVM_DEV_TYPE_LOONGARCH_IPI + KVM_DEV_TYPE_LOONGARCH_EIOINTC, +#define KVM_DEV_TYPE_LOONGARCH_EIOINTC KVM_DEV_TYPE_LOONGARCH_EIOINTC KVM_DEV_TYPE_MAX, |