Re: powerpc: Only do ERAT invalidate on radix context switch on P9 DD1

2017-06-29 Thread Michael Ellerman
On Sun, 2017-06-25 at 20:08:46 UTC, Benjamin Herrenschmidt wrote: > From: Michael Neuling > > On P9 (Nimbus) DD2 and later, in radix mode, the move to the PID > register will implicitly invalidate the user space ERAT entries > and leave the kernel ones alone. Thus the only thing needed is > an i

[PATCH] powerpc: Only do ERAT invalidate on radix context switch on P9 DD1

2017-06-25 Thread Benjamin Herrenschmidt
From: Michael Neuling On P9 (Nimbus) DD2 and later, in radix mode, the move to the PID register will implicitly invalidate the user space ERAT entries and leave the kernel ones alone. Thus the only thing needed is an isync() to synchronize this with subsequent uaccess's Signed-off-by: Michael N