linux/arch/powerpc/platforms/cell
Ian Munsie 73d16a6e0e powerpc/cell: Move data segment faulting code out of cell platform
__spu_trap_data_seg() currently contains code to determine the VSID and ESID
required for a particular EA and mm struct.

This code is generically useful for other co-processors. This moves the code of
the cell platform so it can be used by other powerpc code. It also adds 1TB
segment handling which Cell didn't support.  The new function is called
copro_calculate_slb().

This also moves the internal struct spu_slb to a generic struct copro_slb which
is now used in the Cell and copro code.  We use this new struct instead of
passing around esid and vsid parameters.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-10-08 20:14:55 +11:00
..
spufs powerpc/cell: Move spu_handle_mm_fault() out of cell platform 2014-10-08 20:14:54 +11:00
axon_msi.c powerpc/irqdomain: Fix broken NR_IRQ references 2012-04-30 10:45:26 +10:00
beat_htab.c powerpc/mm: Use HPTE constants when updating hpte bits 2013-12-09 11:40:27 +11:00
beat_hvCall.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
beat_interrupt.c irqdomain: Clean up aftermath of irq_domain refactoring 2013-06-10 11:52:09 +01:00
beat_interrupt.h
beat_iommu.c
beat_spu_priv1.c
beat_syscall.h
beat_udbg.c
beat_wrapper.h
beat.c powerpc: Rework set_dabr so it can take a DABRX value as well 2012-09-10 09:59:10 +10:00
beat.h powerpc: Rework set_dabr so it can take a DABRX value as well 2012-09-10 09:59:10 +10:00
cbe_powerbutton.c
cbe_regs.c
cbe_thermal.c powerpc/cell: cbe_thermal.c: Cleaning up a variable is of the wrong type 2014-06-24 14:05:59 +10:00
celleb_pci.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
celleb_pci.h
celleb_scc_epci.c
celleb_scc_pciex.c of/irq: Use irq_of_parse_and_map() 2013-10-24 11:50:35 +01:00
celleb_scc_sio.c of/irq: simplify args to irq_create_of_mapping 2013-10-24 11:42:57 +01:00
celleb_scc_uhc.c
celleb_scc.h
celleb_setup.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
cpufreq_spudemand.c workqueue: make deferrable delayed_work initializer names consistent 2012-08-21 13:18:23 -07:00
interrupt.c powerpc: Implement tick broadcast IPI as a fixed IPI message 2014-03-05 15:55:04 +11:00
interrupt.h
iommu.c powerpc/iommu: Add it_page_shift field to determine iommu page size 2013-12-30 14:17:13 +11:00
Kconfig powerpc/cell: Move spu_handle_mm_fault() out of cell platform 2014-10-08 20:14:54 +11:00
Makefile powerpc/cell: Move spu_handle_mm_fault() out of cell platform 2014-10-08 20:14:54 +11:00
pervasive.c powerpc: More fixes for lazy IRQ vs. idle 2012-07-10 19:16:07 +10:00
pervasive.h
pmu.c powerpc/cell: Only iterate over online nodes in cbe_init_pm_irq() 2013-04-24 14:22:30 +10:00
qpace_setup.c powerpc: Mark const init data with __initconst instead of __initdata 2012-04-02 14:00:03 +10:00
ras.c mm: fix GFP_THISNODE callers and clarify 2014-03-10 17:26:19 -07:00
ras.h
setup.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
smp.c powerpc: Fix SMP issues with ppc64le ABIv2 2014-04-23 10:05:26 +10:00
spider-pci.c
spider-pic.c of/irq: Use irq_of_parse_and_map() 2013-10-24 11:50:35 +01:00
spu_base.c powerpc/cell: Move data segment faulting code out of cell platform 2014-10-08 20:14:55 +11:00
spu_callbacks.c powerpc: Convert print_symbol to %pSR 2013-01-10 17:01:16 +11:00
spu_manage.c of/irq: simplify args to irq_create_of_mapping 2013-10-24 11:42:57 +01:00
spu_notify.c
spu_priv1_mmio.c
spu_priv1_mmio.h
spu_syscalls.c powerpc/cell: Fix compilation with CONFIG_COREDUMP=n 2014-07-11 12:55:05 +10:00