diff --git a/include/linux/iommu.h b/include/linux/iommu.h index e57f0b9b5af5..a151cdec9cdd 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -128,6 +128,7 @@ extern struct dentry *iommu_debugfs_top; * @trigger_fault: trigger a fault on the device attached to an iommu domain * @reg_read: read an IOMMU register * @reg_write: write an IOMMU register + * @priv: per-instance data private to the iommu driver */ struct iommu_ops { bool (*capable)(enum iommu_cap); @@ -169,6 +170,7 @@ struct iommu_ops { unsigned long offset); unsigned long pgsize_bitmap; + void *priv; }; #define IOMMU_GROUP_NOTIFY_ADD_DEVICE 1 /* Device added */