linux/arch/powerpc/platforms/cell/spufs
Mark Nutter 6df10a82f8 [PATCH] spufs: enable SPE problem state MMIO access.
This patch is layered on top of CONFIG_SPARSEMEM
and is patterned after direct mapping of LS.

This patch allows mmap() of the following regions:
"mfc", which represents the area from [0x3000 - 0x3fff];
"cntl", which represents the area from [0x4000 - 0x4fff];
"signal1" which begins at offset 0x14000; "signal2" which
begins at offset 0x1c000.

The signal1 & signal2 files may be mmap()'d by regular user
processes.  The cntl and mfc file, on the other hand, may
only be accessed if the owning process has CAP_SYS_RAWIO,
because they have the potential to confuse the kernel
with regard to parallel access to the same files with
regular file operations: the kernel always holds a spinlock
when accessing registers in these areas to serialize them,
which can not be guaranteed with user mmaps,

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:28 +11:00
..
backing_ops.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
context.c [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
file.c [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
hw_ops.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
inode.c [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
Makefile [PATCH] spufs: move spu_run call to its own file 2006-01-09 15:44:45 +11:00
run.c [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +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 [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
syscalls.c [PATCH] powerpc: cell namespace cleanup 2006-01-12 20:39:14 +11:00