diff options
author | Antonios Motakis <a.motakis@virtualopensystems.com> | 2014-10-13 14:06:17 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-14 14:41:38 +0000 |
commit | c49866493b1ffb7c0a7963a1e3c0094e78760184 (patch) | |
tree | d7bd03b9c11c85141f91fcb940de4b1842db717c /include/linux/iommu.h | |
parent | a720b41c41f5a7e4c51558cf087882c57331581f (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>
Diffstat (limited to 'include/linux/iommu.h')
-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 f47383a05d34..e438b30f062b 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -61,6 +61,7 @@ enum iommu_cap { IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA transactions */ IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */ + IOMMU_CAP_NOEXEC, /* IOMMU_NOEXEC flag */ }; /* |