summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel2011-04-11 11:13:24 +0200
committerJoerg Roedel2011-04-12 09:21:58 +0200
commit58fc7f1419560efa9c426b829c195050e0147d7f (patch)
treec6afe7a1a82f9c059238809df6a1dd3c2ead3e22 /arch/x86/include/asm/amd_iommu_types.h
parentx86/amd-iommu: Add extended feature detection (diff)
downloadkernel-qcow2-linux-58fc7f1419560efa9c426b829c195050e0147d7f.tar.gz
kernel-qcow2-linux-58fc7f1419560efa9c426b829c195050e0147d7f.tar.xz
kernel-qcow2-linux-58fc7f1419560efa9c426b829c195050e0147d7f.zip
x86/amd-iommu: Add support for invalidate_all command
This patch adds support for the invalidate_all command present in new versions of the AMD IOMMU. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include/asm/amd_iommu_types.h')
-rw-r--r--arch/x86/include/asm/amd_iommu_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index 5c24e4652347..df62d26ed2ab 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -127,6 +127,7 @@
#define CMD_COMPL_WAIT 0x01
#define CMD_INV_DEV_ENTRY 0x02
#define CMD_INV_IOMMU_PAGES 0x03
+#define CMD_INV_ALL 0x08
#define CMD_COMPL_WAIT_STORE_MASK 0x01
#define CMD_COMPL_WAIT_INT_MASK 0x02