x86/amd-iommu: Fix boot crash with hidden PCI devices
commit17753081ca3a32851ef406ca076fcec20152a00c
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 6 Jun 2011 14:50:14 +0000 (6 16:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:36 +0000 (23 15:05 -0700)
tree9f1cd8eff8eab5dbf83274c3dd487520de643823
parentc79ad65e6c31da9955b0848fb0be15a6b95d7ef8
x86/amd-iommu: Fix boot crash with hidden PCI devices

commit 26018874e3584f1658570d41d57d4c34f6a53aa0 upstream.

Some PCIe cards ship with a PCI-PCIe bridge which is not
visible as a PCI device in Linux. But the device-id of the
bridge is present in the IOMMU tables which causes a boot
crash in the IOMMU driver.
This patch fixes by removing these cards from the IOMMU
handling. This is a pure -stable fix, a real fix to handle
this situation appriatly will follow for the next merge
window.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu.c