diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dma_remapping.h | 1 | ||||
| -rw-r--r-- | include/linux/iommu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h index af1dab41674..1a455f1f86d 100644 --- a/include/linux/dma_remapping.h +++ b/include/linux/dma_remapping.h | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | 11 | ||
| 12 | #define DMA_PTE_READ (1) | 12 | #define DMA_PTE_READ (1) |
| 13 | #define DMA_PTE_WRITE (2) | 13 | #define DMA_PTE_WRITE (2) |
| 14 | #define DMA_PTE_SNP (1 << 11) | ||
| 14 | 15 | ||
| 15 | struct intel_iommu; | 16 | struct intel_iommu; |
| 16 | struct dmar_domain; | 17 | struct dmar_domain; |
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 0cf3a4e43f2..3af4ffd591b 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | #define IOMMU_READ (1) | 22 | #define IOMMU_READ (1) |
| 23 | #define IOMMU_WRITE (2) | 23 | #define IOMMU_WRITE (2) |
| 24 | #define IOMMU_CACHE (4) /* DMA cache coherency */ | ||
| 24 | 25 | ||
| 25 | struct device; | 26 | struct device; |
| 26 | 27 | ||
