summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel2011-11-25 11:41:31 +0100
committerJoerg Roedel2011-12-12 14:54:44 +0100
commitcbc33a9085995e21f52a66380d108d64916b6787 (patch)
treeb7e01a392079547bcb2abbce8868ff3ce14c3e5a /drivers/iommu/amd_iommu_types.h
parentiommu/amd: Setup PPR log when supported by IOMMU (diff)
downloadkernel-qcow2-linux-cbc33a9085995e21f52a66380d108d64916b6787.tar.gz
kernel-qcow2-linux-cbc33a9085995e21f52a66380d108d64916b6787.tar.xz
kernel-qcow2-linux-cbc33a9085995e21f52a66380d108d64916b6787.zip
iommu/amd: Enable GT mode when supported by IOMMU
This feature needs to be enabled before IOMMUv2 DTEs can be set up. 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 4dc230904fe9..a6e1dc616afe 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -129,6 +129,7 @@
#define CONTROL_PPFLOG_EN 0x0dULL
#define CONTROL_PPFINT_EN 0x0eULL
#define CONTROL_PPR_EN 0x0fULL
+#define CONTROL_GT_EN 0x10ULL
/* command specific defines */
#define CMD_COMPL_WAIT 0x01