summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-18 10:33:07 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-24 12:42:54 +0300
commit9cf0669746be19a4906a6c48920060bcf54c708b (patch)
treedf324dd805268695b99e2237c6913d2f938b94b1 /include/linux
parentdbb9fd8630e95b6155aff658a2b5f80e95ca2bc6 (diff)
downloadlinux-9cf0669746be19a4906a6c48920060bcf54c708b.tar.xz
intel-iommu: VT-d page table to support snooping control bit
The user can request to enable snooping control through VT-d page table. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma_remapping.h1
-rw-r--r--include/linux/iommu.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h
index af1dab41674b..1a455f1f86d7 100644
--- a/include/linux/dma_remapping.h
+++ b/include/linux/dma_remapping.h
@@ -11,6 +11,7 @@
#define DMA_PTE_READ (1)
#define DMA_PTE_WRITE (2)
+#define DMA_PTE_SNP (1 << 11)
struct intel_iommu;
struct dmar_domain;
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 0cf3a4e43f23..3af4ffd591b9 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -21,6 +21,7 @@
#define IOMMU_READ (1)
#define IOMMU_WRITE (2)
+#define IOMMU_CACHE (4) /* DMA cache coherency */
struct device;