[POWERPC] Spufs support for 64K LS mappings on 4K kernels
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 May 2007 06:27:29 +0000 (16:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 9 May 2007 06:35:00 +0000 (16:35 +1000)
commitf1fa74f4afe96b0e4ac2beaa61fa4f4667acdcbb
tree287c3b73db9d871565b453c91b0a00559300306b
parent16c2d476232523260c495eafbf9cdc1be984b7df
[POWERPC] Spufs support for 64K LS mappings on 4K kernels

This adds an option to spufs when the kernel is configured for
4K page to give it the ability to use 64K pages for SPE local store
mappings.

Currently, we are optimistic and try order 4 allocations when creating
contexts. If that fails, the code will fallback to 4K automatically.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/spufs/Makefile
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/lscsa_alloc.c [new file with mode: 0644]
arch/powerpc/platforms/cell/spufs/switch.c
include/asm-powerpc/spu_csa.h