android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
Benjamin Herrenschmidt 27d5bf2a35 [POWERPC] spufs: cell spu problem state mapping updates
This patch adds a new "psmap" file to spufs that allows mmap of all of
the problem state mapping of SPEs. It is compatible with 64k pages. In
addition, it removes mmap ability of individual files when using 64k
pages, with the exception of signal1 and signal2 which will both map the
entire 64k page holding both registers. It also removes
CONFIG_SPUFS_MMAP as there is no point in not building mmap support in
spufs.

It goes along a separate patch to libspe implementing usage of that new
file to access problem state registers.

Another patch will follow up to fix races opened up by accessing
the 'runcntl' register directly, which is made possible with this
patch.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-05 09:21:00 +10:00
..
spufs [POWERPC] spufs: cell spu problem state mapping updates 2006-10-05 09:21:00 +10:00
cbe_regs.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
cbe_regs.h
interrupt.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
iommu.c [POWERPC] cell: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
iommu.h
Kconfig [POWERPC] spufs: cell spu problem state mapping updates 2006-10-05 09:21:00 +10:00
Makefile
pervasive.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pervasive.h
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h
setup.c [POWERPC] powerpc: Make RTAS console init generic 2006-08-25 13:27:35 +10:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
spu_base.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
spu_callbacks.c
spu_priv1_mmio.c
spu_syscalls.c