]> git.baikalelectronics.ru Git - kernel.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)
commit96f4adad1f6711d0d695861d78062ea5bff3e274
treeca6a93dbe5f6adb821a292cc6915356041c9bf13
parentf0756149d0f71ce7cb01ed25111967bce07b32f5
[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