x86, AMD IOMMU: don't try to init IOMMU if early detect code did not detect one
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Jul 2008 17:35:10 +0000 (19:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 09:44:43 +0000 (11:44 +0200)
commitc1cbebeec4a6be1c1fb54fbf2395ade2534b03c4
tree33100ac63635f4e29de6a37ba4532d07950f76b1
parent8b14518fadd9d5915827d86d5c10e602fedf042e
x86, AMD IOMMU: don't try to init IOMMU if early detect code did not detect one

This patch adds a check if the early detect code has found AMD IOMMU hardware
descriptions and does not try to initialize hardware if the check failed.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c