summaryrefslogtreecommitdiffstats
path: root/include/linux/dma_remapping.h
diff options
context:
space:
mode:
authorYu Zhao <yu.zhao@intel.com>2009-05-18 13:51:37 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-18 14:46:26 +0100
commit93a23a7271dfb811b3adb72779054c3a24433112 (patch)
tree1a5d92b6816bd3bd7f2ac6c342d9b98ec202ed40 /include/linux/dma_remapping.h
parent9dd2fe89062c90a964d122b8be5615d6f2203bbe (diff)
downloadop-kernel-dev-93a23a7271dfb811b3adb72779054c3a24433112.zip
op-kernel-dev-93a23a7271dfb811b3adb72779054c3a24433112.tar.gz
VT-d: support the device IOTLB
Enable the device IOTLB (i.e. ATS) for both the bare metal and KVM environments. Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/dma_remapping.h')
-rw-r--r--include/linux/dma_remapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h
index e0a03af..5619f85 100644
--- a/include/linux/dma_remapping.h
+++ b/include/linux/dma_remapping.h
@@ -14,6 +14,7 @@
#define DMA_PTE_SNP (1 << 11)
#define CONTEXT_TT_MULTI_LEVEL 0
+#define CONTEXT_TT_DEV_IOTLB 1
#define CONTEXT_TT_PASS_THROUGH 2
struct intel_iommu;
OpenPOWER on IntegriCloud