aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorNipun Gupta <nipun.gupta@nxp.com>2018-09-10 19:19:18 +0530
committerJoerg Roedel <jroedel@suse.de>2018-09-25 09:47:53 +0200
commiteab03e2a1a3d9d354943aff5ae5e4254ee1ec967 (patch)
treed4d10dcf2c4f8509c1fc66ac1237044f7fcacfa7 /include/linux/iommu.h
parentiommu/of: support iommu configuration for fsl-mc devices (diff)
downloadwireguard-linux-eab03e2a1a3d9d354943aff5ae5e4254ee1ec967.tar.xz
wireguard-linux-eab03e2a1a3d9d354943aff5ae5e4254ee1ec967.zip
iommu/arm-smmu: Add support for the fsl-mc bus
Implement bus specific support for the fsl-mc bus including registering arm_smmu_ops and bus specific device add operations. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r--include/linux/iommu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 87994c265bf5..70102df4b994 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -377,6 +377,8 @@ static inline void iommu_tlb_sync(struct iommu_domain *domain)
extern struct iommu_group *pci_device_group(struct device *dev);
/* Generic device grouping function */
extern struct iommu_group *generic_device_group(struct device *dev);
+/* FSL-MC device grouping function */
+struct iommu_group *fsl_mc_device_group(struct device *dev);
/**
* struct iommu_fwspec - per-device IOMMU instance data