summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-04-01 19:03:31 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:11:52 -0700
commit044e57d726fbcc5f8091665f071144dca6d144c0 (patch)
treec2610c924c39eb958020fa05ff45b5e82eb5db78 /include/linux
parentc3ca4f6f1fdfd6d04c638204a9ca0e19727f2eee (diff)
iommu: add IOMMU_PRIV attribute
Add the IOMMU_PRIV attribute, which is used to indicate privileged mappings. Change-Id: If8576c09898bd7953475ab72e178d3288a763b0c Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
-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 644113c46ac1..42a61ecec957 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -28,6 +28,7 @@
#define IOMMU_WRITE (1 << 1)
#define IOMMU_CACHE (1 << 2) /* DMA cache coherency */
#define IOMMU_EXEC (1 << 3)
+#define IOMMU_PRIV (1 << 4)
struct iommu_ops;
struct iommu_group;