[POWERPC] Add support to cell_iommu_setup_page_tables() for multiple windows
commit41347917280bcd96619441dae20507711608b4b8
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 29 Jan 2008 14:14:01 +0000 (30 01:14 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 31 Jan 2008 01:11:11 +0000 (31 12:11 +1100)
tree61d9f6fbfef4453ec72f7ff04cec4e5c3f0cf40a
parent86865771ea213d756b03e1f2ff44d3f811672762
[POWERPC] Add support to cell_iommu_setup_page_tables() for multiple windows

Add support to cell_iommu_setup_page_tables() for handling two windows,
the dynamic window and the fixed window.  A fixed window size of 0
indicates that there is no fixed window at all.

Currently there are no callers who pass a non-zero fixed window, but the
upcoming fixed IOMMU mapping patch will change that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/iommu.c