kernel_optimize_test/arch/powerpc/platforms/cell/spufs
Andre Detsch 61b36fc1f7 [POWERPC] cell: fix spurious false return from spu_trap_data_{map,seg}
At present, the __spufs_trap_data_map and __spu_trap_data_seq functions
exit if spu->flags has the SPU_CONTEXT_SWITCH_ACTIVE set. This was
resulting in suprious returns from these functions, as they may be
legitimately called when we have this bit set.

We only use it in these two sanity checks, so this change removes the
flag completely. This fixes hangs in the page-fault path of SPE apps.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-02-20 14:57:36 +11:00
..
backing_ops.c [POWERPC] spufs: Update SPU_Status[CISHP] in backing runcntl write 2008-02-08 19:52:35 +11:00
context.c Merge branch 'linux-2.6' 2008-01-24 10:07:21 +11:00
coredump.c [POWERPC] spufs: make state_mutex interruptible 2007-12-21 19:46:21 +11:00
fault.c [POWERPC] spufs: Fix state_mutex leaks 2008-02-08 19:52:35 +11:00
file.c Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-02-08 09:31:42 -08:00
gang.c
hw_ops.c [POWERPC] spufs: use #defines for SPU class [012] exception status 2007-12-21 19:46:20 +11:00
inode.c Embed a struct path into struct nameidata instead of nd->{dentry,mnt} 2008-02-14 21:13:33 -08:00
lscsa_alloc.c [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module 2007-12-21 19:46:19 +11:00
Makefile [POWERPC] spufs: Add marker-based tracing facility 2008-02-06 16:26:59 +11:00
run.c [POWERPC] spufs: fix scheduler starvation by idle contexts 2008-02-19 10:12:02 +11:00
sched.c [POWERPC] spufs: fix scheduler starvation by idle contexts 2008-02-19 10:12:02 +11:00
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_save.c
spu_utils.h
spufs.h [POWERPC] spufs: Fix state_mutex leaks 2008-02-08 19:52:35 +11:00
sputrace.c Linux Kernel Markers: support multiple probes 2008-02-13 16:21:20 -08:00
switch.c [POWERPC] cell: fix spurious false return from spu_trap_data_{map,seg} 2008-02-20 14:57:36 +11:00
syscalls.c Introduce path_put() 2008-02-14 21:13:33 -08:00