aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-09-20 14:33:07 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2010-09-23 16:24:50 +0200
commite9bf51971157e367aabfc111a8219db010f69cd4 (patch)
treefa8fb0702fbd9f687e2d2ee19cef00e5d1861956 /arch/x86/include/asm/amd_iommu_types.h
parentLinux 2.6.36-rc4 (diff)
downloadlinux-dev-e9bf51971157e367aabfc111a8219db010f69cd4.tar.xz
linux-dev-e9bf51971157e367aabfc111a8219db010f69cd4.zip
x86/amd-iommu: Set iommu configuration flags in enable-loop
This patch moves the setting of the configuration and feature flags out out the acpi table parsing path and moves it into the iommu-enable path. This is needed to reliably fix resume-from-s3. Cc: stable@kernel.org 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index 7014e88bc779..ef2d5cd7d7e7 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -368,6 +368,9 @@ struct amd_iommu {
/* capabilities of that IOMMU read from ACPI */
u32 cap;
+ /* flags read from acpi table */
+ u8 acpi_flags;
+
/*
* Capability pointer. There could be more than one IOMMU per PCI
* device function if there are more than one AMD IOMMU capability