aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-11-21 15:59:08 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2011-12-12 15:19:03 +0100
commit22e266c79b5bd5441243863c89ea237e6e845295 (patch)
tree665f0dc9f3ebbd6c7bda7917eb1dbbfc78bb49d0 /drivers/iommu/amd_iommu_types.h
parentiommu/amd: Add support for IOMMUv2 domain mode (diff)
downloadlinux-dev-22e266c79b5bd5441243863c89ea237e6e845295.tar.xz
linux-dev-22e266c79b5bd5441243863c89ea237e6e845295.zip
iommu/amd: Implement IOMMUv2 TLB flushing routines
The functions added with this patch allow to manage the IOMMU and the device TLBs for all devices in an IOMMUv2 domain. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r--drivers/iommu/amd_iommu_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h
index b7583cb5ad66..ff1dfe9ad579 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -148,6 +148,7 @@
#define CMD_COMPL_WAIT_INT_MASK 0x02
#define CMD_INV_IOMMU_PAGES_SIZE_MASK 0x01
#define CMD_INV_IOMMU_PAGES_PDE_MASK 0x02
+#define CMD_INV_IOMMU_PAGES_GN_MASK 0x04
#define CMD_INV_IOMMU_ALL_PAGES_ADDRESS 0x7fffffffffffffffULL