linux/arch/powerpc/platforms/cell/spufs
Jeremy Kerr 14f693eeb5 powerpc/spufs: Don't require full buffer in switch_log read
Currently, read() on the sputrace log will block until the read buffer
is full. This makes it difficult to retrieve the end of the buffer, as
the user will need to read with the right-sized buffer.

In a similar method as 91553a1b5e0df006a3573a88d98ee7cd48a3818a, this
change makes the switch_log return if there has already been data
read.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-10-21 11:13:30 +11:00
..
.gitignore [POWERPC] spufs: add .gitignore for spu_save_dump.h & spu_restore_dump.h 2008-04-30 16:29:30 +10:00
backing_ops.c [POWERPC] spufs: Update SPU_Status[CISHP] in backing runcntl write 2008-02-08 19:52:35 +11:00
context.c powerpc/spufs: avoid magic numbers for mapping sizes 2008-07-09 10:13:40 +10:00
coredump.c [PATCH] split linux/file.h 2008-05-01 13:08:16 -04:00
fault.c [POWERPC] spufs: fix concurrent delivery of class 0 & 1 exceptions 2008-05-05 13:33:44 +10:00
file.c powerpc/spufs: Don't require full buffer in switch_log read 2008-10-21 11:13:30 +11: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 Merge commit 'origin' 2008-10-15 11:31:54 +11: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: Use state_mutex for switch_log locking, and prevent multiple openers 2008-10-21 11:13:19 +11:00
sched.c powerpc/spufs: Fix possible scheduling of a context to multiple SPEs 2008-09-08 09:44:43 +10:00
spu_restore.c
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_save.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_utils.h
spufs.h powerpc/spufs: Use state_mutex for switch_log locking, and prevent multiple openers 2008-10-21 11:13:19 +11:00
sputrace.c powerpc/spufs: sputrace: Don't block until the read buffer is full 2008-10-21 11:13:07 +11:00
switch.c [POWERPC] spufs: handle faults while the context switch pending flag is set 2008-05-05 13:33:44 +10:00
syscalls.c Introduce path_put() 2008-02-14 21:13:33 -08:00