]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PPC64: Fix boot for some pre-POWER4 systems
authorOlof Johansson <olof@lixom.net>
Wed, 21 Sep 2005 16:55:31 +0000 (09:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 21 Sep 2005 17:11:54 +0000 (10:11 -0700)
commit3c2822ccb1f8cc96fc006aa82e68e1944290014a
tree3834b0004ef12b96f699529ca8008a0644531fa3
parent31f6d9d628739c097964b8dbae939ea997da94a3
[PATCH] PPC64: Fix boot for some pre-POWER4 systems

Some RS64 systems (such as F80) have non-python host bridges with EADS.
However, they have two EADS with 4 buses each under them, so the old logic
that assumed no more than 7 busses per PHB failed miserably.

Big thanks to Olaf Hering for helping me test this, he's got one of the few
machines that broke from the previous logic.

Also, to be a bit smarter at detecting the need for a PHB-level IOMMU table
by checking for the presence of an ISA bus.  Only PHBs with ISA bridges
should need the PHB-level table.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_iommu.c