]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:51:15 +0000 (21:51 -0700)
commitb7dfcb6f10570ebf207207ff7d346078faaacf8e
tree87ad7429860692dd9417c037aed280eedf8fa3b6
parent0afe0f1ae5a0c79c690e4f3738ab82613aef5441
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: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu_init.c