2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/arch/powerpc/platforms/cell/spufs
Benjamin Herrenschmidt 94b2a4393c [POWERPC] Fix spu SLB invalidations
The SPU code doesn't properly invalidate SPUs SLBs when necessary,
for example when changing a segment size from the hugetlbfs code. In
addition, it saves and restores the SLB content on context switches
which makes it harder to properly handle those invalidations.

This patch removes the saving & restoring for now, something more
efficient might be found later on. It also adds a spu_flush_all_slbs(mm)
that can be used by the core mm code to flush the SLBs of all SPEs that
are running a given mm at the time of the flush.

In order to do that, it adds a spinlock to the list of all SPEs and move
some bits & pieces from spufs to spu_base.c

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2007-03-10 00:07:50 +01:00
..
backing_ops.c [POWERPC] spufs: Add runcntrl read accessors 2006-12-04 20:40:04 +11:00
context.c [POWERPC] spu sched: static timeslicing for SCHED_RR contexts 2007-02-13 21:55:43 +01:00
coredump.c [POWERPC] Fix SPU coredump code for max_fdset removal 2006-12-11 15:13:37 +11:00
file.c [POWERPC] spufs: fix possible memory corruption is spufs_mem_write 2007-03-10 00:07:48 +01:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c [POWERPC] spufs: Add runcntrl read accessors 2006-12-04 20:40:04 +11:00
inode.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
Makefile [POWERPC] coredump: Add SPU elf notes to coredump. 2006-12-04 20:40:19 +11:00
run.c [POWERPC] avoid SPU_ACTIVATE_NOWAKE optimization 2007-03-10 00:07:49 +01:00
sched.c [POWERPC] Fix spu SLB invalidations 2007-03-10 00:07:50 +01:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [POWERPC] avoid SPU_ACTIVATE_NOWAKE optimization 2007-03-10 00:07:49 +01:00
switch.c [POWERPC] Fix spu SLB invalidations 2007-03-10 00:07:50 +01:00
syscalls.c [PATCH] struct path: convert powerpc 2006-12-08 08:28:48 -08:00