diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-05-28 18:41:35 +0200 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:15:11 -0700 |
commit | 478420ad4c5e1a2310fd0f38abf77fd6311bbd95 (patch) | |
tree | 4d8af7d5fb46a0c806c3f2816a928cf4a3f7b024 /include | |
parent | 86714c23503a233c4eecdf7275ae5c0c30d8da61 (diff) |
iommu: Add function to query the default domain of a group
This will be used to handle unity mappings in the iommu
drivers.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 3ceee4600d52..3807b167f786 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -289,6 +289,7 @@ extern int iommu_group_unregister_notifier(struct iommu_group *group, struct notifier_block *nb); extern int iommu_group_id(struct iommu_group *group); extern struct iommu_group *iommu_group_get_for_dev(struct device *dev); +extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *); extern int iommu_domain_get_attr(struct iommu_domain *domain, enum iommu_attr, void *data); |