From: Murillo Fernandes Bernardes Date: Fri, 10 Aug 2007 20:31:00 +0000 (+0200) Subject: x86_64: Calgary - Fix mis-handled PCI topology X-Git-Tag: v2.6.23-rc3~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f055a0619aae795832ef6a783021184925758b67;p=pandora-kernel.git x86_64: Calgary - Fix mis-handled PCI topology Current code assumed that devices were directly connected to a Calgary bridge, as it tried to get the iommu table directly from the parent bus controller. When we have another bridge between the Calgary/CalIOC2 bridge and the device we should look upwards until we get to the top (Calgary/CalIOC2 bridge), where the iommu table resides. Signed-off-by: Murillo Fernandes Bernardes Signed-off-by: Muli Ben-Yehuda Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed