From: Antonios Motakis Date: Mon, 13 Oct 2014 13:06:17 +0000 (+0100) Subject: iommu: add capability IOMMU_CAP_NOEXEC X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a11e9368747250d4187befc9cc23dd9fba7753c4;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git 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 Acked-by: Joerg Roedel Signed-off-by: Will Deacon --- diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 67d0d4e6acc9..e57f0b9b5af5 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -67,6 +67,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 */ }; /*