x86/amd-iommu: Flush device IOTLB if ATS is enabled
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 5 Apr 2011 09:00:53 +0000 (11:00 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 11 Apr 2011 07:04:03 +0000 (09:04 +0200)
commitcb41ed85efa01e633388314c03a4f3004c6b783b
treeaa132590ca4cce26cbd1bd3ae7ca557ec71d3a87
parent9844b4e5dd1932e175a23d84ce09702bdf4b5689
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>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c