[PATCH] ppc64: Fix LPAR regression
authorAnton Blanchard <anton@samba.org>
Fri, 23 Sep 2005 04:44:04 +0000 (21:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:35 +0000 (22:17 -0700)
commit586a90eb4c0b512df766e08a7718af7c6b9b2dcf
tree0472f79c20c605141abf4790faa4cbc4e41f8fd2
parent275abf5b06676ca057cf3e15f0d027eafcb204a0
[PATCH] ppc64: Fix LPAR regression

The recent iommu fix broke booting on some POWER4 and POWER5 LPAR boxes.

It looks like we have been calling the non LPAR iommu_dev_setup on LPAR
machines for a while. The recent iommu fix caused that code path to
fail.

It looks like we just need to hook up the devices iommu_table to the
parents one, so do that instead of calling iommu_dev_setup_pSeries and
crossing the streams.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_iommu.c