linux/arch/powerpc/platforms/cell/spufs
arnd@arndb.de 7b1a701480 [POWERPC] spufs: add a phys-id attribute to each SPU context
For performance analysis, it is often interesting to know
which physical SPE a thread is currently running on, and,
more importantly, if it is running at all.

This patch adds a simple attribute to each SPU directory
with that information.
The attribute is read-only and called 'phys-id'. It contains
an ascii string with the number of the physical SPU (e.g.
"0x5"), or alternatively the string "0xffffffff" (32 bit -1)
when it is not running at all at the time that the file
is read.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-21 15:01:30 +10:00
..
Makefile [POWERPC] cell: always build spu base into the kernel 2006-06-21 15:01:30 +10:00
backing_ops.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
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 [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
inode.c [POWERPC] spufs: fix deadlock in spu_create error path 2006-06-21 15:01:30 +10:00
run.c [PATCH] powerpc/cell: compile fixes 2006-04-01 22:37:14 +11:00
sched.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11: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 [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_save.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 [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
switch.c [POWERPC] spufs: set up correct SLB entries for 64k pages 2006-06-21 15:01:30 +10:00
syscalls.c [PATCH] powerpc: cell namespace cleanup 2006-01-12 20:39:14 +11:00