From f3a5d7fb33544dd8d07cd1bc193e5c8a736b1ac6 Mon Sep 17 00:00:00 2001 From: Kunkun Jiang Date: Wed, 7 Dec 2022 18:39:10 +0800 Subject: [PATCH] Revert "vfio: Add new IRQ for DMA fault reporting" virt inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I61SPO CVE: NA -------------------------------- This reverts commit 31ed6dc2484b533447c26163dcdecdfd93063b25. Signed-off-by: Kunkun Jiang Reviewed-by: Keqian Zhu Signed-off-by: Zheng Zengkai --- include/uapi/linux/vfio.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 6574032973a3..fa3ac73c47be 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h @@ -733,9 +733,6 @@ struct vfio_irq_info_cap_type { __u32 subtype; /* type specific */ }; -#define VFIO_IRQ_TYPE_NESTED (1) -#define VFIO_IRQ_SUBTYPE_DMA_FAULT (1) - /** * VFIO_DEVICE_SET_IRQS - _IOW(VFIO_TYPE, VFIO_BASE + 10, struct vfio_irq_set) * -- GitLab