diff options
Diffstat (limited to 'include/linux/iommu.h')
| -rw-r--r-- | include/linux/iommu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index ffbbc7e39cee..6c1b4c900191 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h | |||
| @@ -392,10 +392,14 @@ struct iommu_fwspec { | |||
| 392 | const struct iommu_ops *ops; | 392 | const struct iommu_ops *ops; |
| 393 | struct fwnode_handle *iommu_fwnode; | 393 | struct fwnode_handle *iommu_fwnode; |
| 394 | void *iommu_priv; | 394 | void *iommu_priv; |
| 395 | u32 flags; | ||
| 395 | unsigned int num_ids; | 396 | unsigned int num_ids; |
| 396 | u32 ids[1]; | 397 | u32 ids[1]; |
| 397 | }; | 398 | }; |
| 398 | 399 | ||
| 400 | /* ATS is supported */ | ||
| 401 | #define IOMMU_FWSPEC_PCI_RC_ATS (1 << 0) | ||
| 402 | |||
| 399 | int iommu_fwspec_init(struct device *dev, struct fwnode_handle *iommu_fwnode, | 403 | int iommu_fwspec_init(struct device *dev, struct fwnode_handle *iommu_fwnode, |
| 400 | const struct iommu_ops *ops); | 404 | const struct iommu_ops *ops); |
| 401 | void iommu_fwspec_free(struct device *dev); | 405 | void iommu_fwspec_free(struct device *dev); |
