]> git.baikalelectronics.ru Git - kernel.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)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 23 Sep 2010 14:24:50 +0000 (16:24 +0200)
commit77f269c081d0e98bb4abfc13c4ff8b55d1929440
treefa8fb0702fbd9f687e2d2ee19cef00e5d1861956
parent9356ab735f13fcaf9882dc13a38d7b8e46315b24
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>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu_init.c