This is used for indicating device memory type for a DMA transaction. IOMMU driver would set up attributes indicationg access to device memory.
Signed-off-by: Varun Sethi <varun.se...@freescale.com> --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 20f9a52..0599fe1 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -28,6 +28,7 @@ #define IOMMU_WRITE (1 << 1) #define IOMMU_CACHE (1 << 2) /* DMA cache coherency */ #define IOMMU_EXEC (1 << 3) +#define IOMMU_DEVICE (1 << 4) /* Indicates access to device memory */ struct iommu_ops; struct iommu_group; -- 1.7.9.5 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu