diff options
author | Joerg Roedel | 2011-04-05 11:00:53 +0200 |
---|---|---|
committer | Joerg Roedel | 2011-04-11 09:04:03 +0200 |
commit | cb41ed85efa01e633388314c03a4f3004c6b783b (patch) | |
tree | aa132590ca4cce26cbd1bd3ae7ca557ec71d3a87 /arch/x86/include/asm/amd_iommu_types.h | |
parent | x86/amd-iommu: Select PCI_IOV with AMD IOMMU driver (diff) | |
download | kernel-qcow2-linux-cb41ed85efa01e633388314c03a4f3004c6b783b.tar.gz kernel-qcow2-linux-cb41ed85efa01e633388314c03a4f3004c6b783b.tar.xz kernel-qcow2-linux-cb41ed85efa01e633388314c03a4f3004c6b783b.zip |
x86/amd-iommu: Flush device IOTLB if ATS is enabled
This patch implements a function to flush the IOTLB on
devices supporting ATS and makes sure that this TLB is also
flushed if necessary.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 878ae008eb04..f5d184e7d5be 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h @@ -113,7 +113,8 @@ /* command specific defines */ #define CMD_COMPL_WAIT 0x01 #define CMD_INV_DEV_ENTRY 0x02 -#define CMD_INV_IOMMU_PAGES 0x03 +#define CMD_INV_IOMMU_PAGES 0x03 +#define CMD_INV_IOTLB_PAGES 0x04 #define CMD_COMPL_WAIT_STORE_MASK 0x01 #define CMD_COMPL_WAIT_INT_MASK 0x02 |