aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-06-09 12:56:30 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-06-14 12:49:57 +0200
commitea61cddb9dcb9da9bcabd40f1620c24abaf645c9 (patch)
tree61b0e7e23e5ae7ac2ccbb34d19db99e986503f13 /arch/x86/include
parentx86/amd-iommu: Store devid in dev_data (diff)
downloadlinux-dev-ea61cddb9dcb9da9bcabd40f1620c24abaf645c9.tar.xz
linux-dev-ea61cddb9dcb9da9bcabd40f1620c24abaf645c9.zip
x86/amd-iommu: Store ATS state in dev_data
This allows the low-level functions to operate on dev_data exclusivly later. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/amd_iommu_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index 2833862311b5..9fc045ee2fcb 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -316,6 +316,10 @@ struct iommu_dev_data {
struct protection_domain *domain; /* Domain the device is bound to */
atomic_t bind; /* Domain attach reverent count */
u16 devid; /* PCI Device ID */
+ struct {
+ bool enabled;
+ int qdep;
+ } ats; /* ATS state */
};
/*