x86/amd-iommu: Set iommu configuration flags in enable-loop
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 20 Sep 2010 12:33:07 +0000 (14:33 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:08:08 +0000 (18:08 -0500)
commitc9ce393e4a4cde0e5431d7441015ec6a5fa9f947
tree3e0418fdee441deca7eabaaf9fab78c892da6220
parent541499002e95f8f2dd370dfac887641db25f02cf
x86/amd-iommu: Set iommu configuration flags in enable-loop

commit e9bf51971157e367aabfc111a8219db010f69cd4 upstream.

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.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu_init.c