diff options
author | Antonios Motakis <a.motakis@virtualopensystems.com> | 2014-10-13 15:06:17 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-14 15:41:38 +0100 |
commit | c49866493b1ffb7c0a7963a1e3c0094e78760184 (patch) | |
tree | d7bd03b9c11c85141f91fcb940de4b1842db717c | |
parent | iommu/arm-smmu: change IOMMU_EXEC to IOMMU_NOEXEC (diff) | |
download | linux-c49866493b1ffb7c0a7963a1e3c0094e78760184.tar.xz linux-c49866493b1ffb7c0a7963a1e3c0094e78760184.zip |
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.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 */ }; /* |