android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell/spufs
arnd@arndb.de 379507181a [POWERPC] spufs: one more fix for 64k pages
The SPU context save/restore code is currently built
for a 4k page size and we provide a _shipped version
of it since most people don't have the spu toolchain
that is needed to rebuild that code.

This patch hardcodes the data structures to a 64k
page alignment, which also guarantees 4k alignment
but unfortunately wastes 60k of memory per SPU
context that is created in the running system.

We will follow up on this with another patch to
reduce that overhead or maybe redo the context
save/restore logic to do this part entirely different,
but for now it should make experimental systems
work with either page size.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-21 15:01:32 +10:00
..
backing_ops.c
context.c [PATCH] powerpc: cell: use kzalloc in alloc_spu_context() 2006-04-29 18:08:03 +10:00
file.c [POWERPC] spufs: add a phys-id attribute to each SPU context 2006-06-21 15:01:30 +10:00
hw_ops.c [POWERPC] spufs: further abstract priv1 register access 2006-06-21 15:01:31 +10:00
inode.c [POWERPC] spufs: fail spu_create with invalid flags 2006-06-21 15:01:32 +10:00
Makefile [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
run.c [PATCH] powerpc/cell: compile fixes 2006-04-01 22:37:14 +11:00
sched.c [POWERPC] spufs: fix spu irq affinity setting 2006-06-21 15:01:31 +10:00
spu_restore_crt0.S
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c
spu_utils.h
spufs.h
switch.c [POWERPC] spufs: remove stop_code from struct spu 2006-06-21 15:01:31 +10:00
syscalls.c