Merge branch 'api-features' into arm/smmu
authorJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2019 15:11:46 +0000 (17:11 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2019 15:11:46 +0000 (17:11 +0200)
1  2 
include/linux/iommu.h

@@@ -397,9 -450,14 +451,17 @@@ struct iommu_fwspec 
        u32                     ids[1];
  };
  
 +/* ATS is supported */
 +#define IOMMU_FWSPEC_PCI_RC_ATS                       (1 << 0)
 +
+ /**
+  * struct iommu_sva - handle to a device-mm bond
+  */
+ struct iommu_sva {
+       struct device                   *dev;
+       const struct iommu_sva_ops      *ops;
+ };
  int iommu_fwspec_init(struct device *dev, struct fwnode_handle *iommu_fwnode,
                      const struct iommu_ops *ops);
  void iommu_fwspec_free(struct device *dev);