]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Split setup of IOMMU stab and ptab, allocate dynamic/fixed ptabs separately
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 29 Feb 2008 07:33:25 +0000 (18:33 +1100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 3 Mar 2008 07:03:15 +0000 (08:03 +0100)
commit7d432ff1b7db87e78eb74d42631d2a23ca6f26f2
treeca6a93dbe5f6adb821a292cc6915356041c9bf13
parentedf441fb80f9d7a962c298e8da94c8c64802fffa
[POWERPC] Split setup of IOMMU stab and ptab, allocate dynamic/fixed ptabs separately

Currently the cell IOMMU code allocates the entire IOMMU page table in a
contiguous chunk. This is nice and tidy, but for machines with larger
amounts of RAM the page table allocation can fail due to it simply being
too large.

So split the segment table and page table setup routine, and arrange to
have the dynamic and fixed page tables allocated separately.

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