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 <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
This commit is contained in:
Antonios Motakis 2014-10-13 14:06:17 +01:00 • committed by Will Deacon
commit c49866493b

View file

@ -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 */
};
/*