]> 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:43:56 +0000 (21:43 -0700)
commit2fa4db60e3c6a305c4f46826c3226dae7947ac92
tree0a37ff4740abded479ba4b485290314172cd8446
parentce6258fde20a9d6bb213a8c2acb6fe8a003d6c7b
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