aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonios Motakis <a.motakis@virtualopensystems.com>2014-10-13 09:06:17 -0400
committerWill Deacon <will.deacon@arm.com>2014-11-14 09:41:38 -0500
commitc49866493b1ffb7c0a7963a1e3c0094e78760184 (patch)
treed7bd03b9c11c85141f91fcb940de4b1842db717c
parenta720b41c41f5a7e4c51558cf087882c57331581f (diff)
iommu: add capability IOMMU_CAP_NOEXEC
Some IOMMUs accept an IOMMU_NOEXEC protection flag in addition to IOMMU_READ and IOMMU_WRITE. Expose this as an IOMMU capability. Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com> Acked-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Will Deacon <will.deacon@arm.com>
-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 f47383a05d34..e438b30f062b 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -61,6 +61,7 @@ enum iommu_cap {
61 IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA 61 IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA
62 transactions */ 62 transactions */
63 IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */ 63 IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */
64 IOMMU_CAP_NOEXEC, /* IOMMU_NOEXEC flag */
64}; 65};
65 66
66/* 67/*