android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
Arnd Bergmann ac91cb8dae [POWERPC] spufs: use correct pg_prot for mapping SPU local store
This hopefully fixes a long-standing bug in the spu file system.
An spu context comes with local memory that can be either saved
in kernel pages or point directly to a physical SPE.

When mapping the physical SPE, that mapping needs to be cache-inhibited.
For simplicity, we used to map the kernel backing memory that way
too, but unfortunately that was not only inefficient, but also incorrect
because the same page could then be accessed simultaneously through
a cacheable and a cache-inhibited mapping, which is not allowed
by the powerpc specification and in our case caused data inconsistency
for which we did a really ugly workaround in user space.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-05 09:21:01 +10:00
..
spufs [POWERPC] spufs: use correct pg_prot for mapping SPU local store 2006-10-05 09:21:01 +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
iommu.h
Kconfig [POWERPC] spufs: cell spu problem state mapping updates 2006-10-05 09:21:00 +10:00
Makefile
pervasive.c
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] spufs: implement error event delivery to user space 2006-10-05 09:21:01 +10:00
spu_callbacks.c
spu_priv1_mmio.c
spu_syscalls.c