Messages in this thread Patch in this message | | | From | Antonios Motakis <> | Subject | [PATCHv7 02/26] iommu: add capability IOMMU_CAP_NOEXEC | Date | Tue, 23 Sep 2014 16:46:01 +0200 |
| |
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> --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index e1a644c..0433553 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -59,6 +59,7 @@ struct iommu_domain { #define IOMMU_CAP_CACHE_COHERENCY 0x1 #define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */ +#define IOMMU_CAP_NOEXEC 0x3 /* IOMMU_NOEXEC flag */ /* * Following constraints are specifc to FSL_PAMUV1: -- 1.8.3.2
| |