android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
Benjamin Herrenschmidt 94b2a4393c [POWERPC] Fix spu SLB invalidations
The SPU code doesn't properly invalidate SPUs SLBs when necessary,
for example when changing a segment size from the hugetlbfs code. In
addition, it saves and restores the SLB content on context switches
which makes it harder to properly handle those invalidations.

This patch removes the saving & restoring for now, something more
efficient might be found later on. It also adds a spu_flush_all_slbs(mm)
that can be used by the core mm code to flush the SLBs of all SPEs that
are running a given mm at the time of the flush.

In order to do that, it adds a spinlock to the list of all SPEs and move
some bits & pieces from spufs to spu_base.c

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2007-03-10 00:07:50 +01:00
..
spufs [POWERPC] Fix spu SLB invalidations 2007-03-10 00:07:50 +01:00
cbe_cpufreq.c
cbe_regs.c [POWERPC] cell: Add oprofile support 2006-12-04 20:40:14 +11:00
cbe_regs.h [POWERPC] cell: Add routines for managing PMU interrupts 2006-12-04 20:40:12 +11:00
cbe_thermal.c [POWERPC] cbe_thermal: Fix initialization of sysfs attribute_group 2006-12-08 17:21:02 +11:00
interrupt.c [POWERPC] cell: Add routines for managing PMU interrupts 2006-12-04 20:40:12 +11:00
interrupt.h [POWERPC] cell: Add routines for managing PMU interrupts 2006-12-04 20:40:12 +11:00
io-workarounds.c [POWERPC] cell: Enable spider workarounds on all PCI buses 2006-12-19 15:35:37 +01:00
iommu.c [PATCH] arch/powerpc trivial annotations 2007-02-09 09:14:06 -08:00
Kconfig
Makefile [POWERPC] Celleb: consolidate spu management ops 2007-02-07 14:03:21 +11:00
pervasive.c [POWERPC] cell: hard disable interrupts in power_save() 2006-12-04 20:40:21 +11:00
pervasive.h
pmu.c [POWERPC] cell: PPU Oprofile cleanup patch 2007-02-13 22:03:06 +01:00
ras.c
ras.h
setup.c [POWERPC] cell: abstract spu management routines 2006-12-04 20:40:39 +11:00
smp.c
spider-pic.c
spu_base.c [POWERPC] Fix spu SLB invalidations 2007-03-10 00:07:50 +01:00
spu_callbacks.c
spu_coredump.c [POWERPC] coredump: Add SPU elf notes to coredump. 2006-12-04 20:40:19 +11:00
spu_manage.c [POWERPC] spufs: remove need for struct page for SPEs 2007-02-13 15:35:53 +11:00
spu_priv1_mmio.c [POWERPC] Celleb: consolidate spu management ops 2007-02-07 14:03:21 +11:00
spu_priv1_mmio.h [POWERPC] cell: abstract spu management routines 2006-12-04 20:40:39 +11:00
spu_syscalls.c