summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-12-10 20:48:59 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2009-01-03 16:11:56 +0300
commite2dc14a2a6c9a83baaafc51f06b7e73cec2167be (patch)
treeba2344f04adac30ab1c4e5cace83b5390f0d7580 /arch/x86/include
parent26961efe0dab9ca73f8fc3b6137b814252e04972 (diff)
downloadlinux-e2dc14a2a6c9a83baaafc51f06b7e73cec2167be.tar.xz
AMD IOMMU: add a domain flag for default domains
Impact: adds a new protection domain flag Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/amd_iommu_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index 1c769f4e6cdf..6adc7020ef97 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -192,6 +192,8 @@
/* Protection domain flags */
#define PD_DMA_OPS_MASK (1UL << 0) /* domain used for dma_ops */
+#define PD_DEFAULT_MASK (1UL << 1) /* domain is a default dma_ops
+ domain for an IOMMU */
/*
* This structure contains generic data for IOMMU protection domains