summaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2013-01-29 16:49:04 +0400
committerJoerg Roedel <joro@8bytes.org>2013-02-06 13:47:11 +0400
commitd2e121601619631517409cba34e50db3cbff5852 (patch)
tree31f5362774bb8e25e9ff2515386156726feb642f /include/linux/iommu.h
parent57886518a8cdd319a04f5ea06a5f7ffcb8a93120 (diff)
downloadlinux-d2e121601619631517409cba34e50db3cbff5852.tar.xz
iommu: Implement DOMAIN_ATTR_PAGING attribute
This attribute of a domain can be queried to find out if the domain supports setting up page-tables using the iommu_map() and iommu_unmap() functions. Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r--include/linux/iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 7e6ce7260b1c..26066f54a849 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -59,6 +59,7 @@ struct iommu_domain {
enum iommu_attr {
DOMAIN_ATTR_GEOMETRY,
+ DOMAIN_ATTR_PAGING,
DOMAIN_ATTR_MAX,
};