[PATCH v2 1/2] powerpc/64s: move machine check SLB flushing to mm/slb.c

2018-08-09 Thread Nicholas Piggin
The machine check code that flushes and restores bolted segments in real mode belongs in mm/slb.c. This will also be used by pseries machine check and idle code in future changes. Signed-off-by: Nicholas Piggin Since v1: - Restore the test for slb_shadow (mpe) --- arch/powerpc/include/asm/book3

Re: [v2, 1/2] powerpc/64s: move machine check SLB flushing to mm/slb.c

2018-08-13 Thread Michael Ellerman
On Fri, 2018-08-10 at 06:42:48 UTC, Nicholas Piggin wrote: > The machine check code that flushes and restores bolted segments in > real mode belongs in mm/slb.c. This will also be used by pseries > machine check and idle code in future changes. > > Signed-off-by: Nicholas Piggin Applied to power

Re: [PATCH v2 1/2] powerpc/64s: move machine check SLB flushing to mm/slb.c

2018-08-12 Thread Mahesh Jagannath Salgaonkar
On 08/10/2018 12:12 PM, Nicholas Piggin wrote: > The machine check code that flushes and restores bolted segments in > real mode belongs in mm/slb.c. This will also be used by pseries > machine check and idle code in future changes. > > Signed-off-by: Nicholas Piggin > > Since v1: > - Restore th

Re: [PATCH v2 1/2] powerpc/64s: move machine check SLB flushing to mm/slb.c

2018-08-13 Thread Nicholas Piggin
On Mon, 13 Aug 2018 09:57:33 +0530 Mahesh Jagannath Salgaonkar wrote: > On 08/10/2018 12:12 PM, Nicholas Piggin wrote: > > The machine check code that flushes and restores bolted segments in > > real mode belongs in mm/slb.c. This will also be used by pseries > > machine check and idle code in fu