Re: [PATCH 01/15] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-09-25 Thread Anton Blanchard
> From: Ian Munsie > > Currently spu_handle_mm_fault() is in the cell platform. > > This code is generically useful for other non-cell co-processors on > powerpc. > > This patch moves this function out of the cell platform into > arch/powerpc/mm so that others may use it. > > Signed-off-by: Ia

Re: [PATCH 01/15] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-09-18 Thread Michael Neuling
> > @@ -58,12 +56,12 @@ int spu_handle_mm_fault(struct mm_struct *mm, unsigned > > long ea, > > goto out_unlock; > > } > > > > - is_write = dsisr & MFC_DSISR_ACCESS_PUT; > > + is_write = dsisr & DSISR_ISSTORE; > > if (is_write) { > > if (!(vma->vm_flag

Re: [PATCH 01/15] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-09-18 Thread Jeremy Kerr
Hi Mikey & Ian, > Currently spu_handle_mm_fault() is in the cell platform. > > This code is generically useful for other non-cell co-processors on powerpc. > > This patch moves this function out of the cell platform into arch/powerpc/mm > so > that others may use it. Makes sense. Acked-by: Je

[PATCH 01/15] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-09-18 Thread Michael Neuling
From: Ian Munsie Currently spu_handle_mm_fault() is in the cell platform. This code is generically useful for other non-cell co-processors on powerpc. This patch moves this function out of the cell platform into arch/powerpc/mm so that others may use it. Signed-off-by: Ian Munsie Signed-off-b