Re: [PATCH RFC rebase 2/9] powerpc: Use barrier_nospec in copy_from_user

2018-03-16 Thread Michael Ellerman
Linus Torvalds writes: > On Thu, Mar 15, 2018 at 12:15 PM, Michal Suchanek wrote: >> This is based on x86 patch doing the same. >> >> Signed-off-by: Michal Suchanek >> --- >> --- a/arch/powerpc/include/asm/uaccess.h >> +++ b/arch/powerpc/include/asm/uaccess.h >> @@ -258,8 +259,10 @@ do {

Re: [PATCH RFC rebase 2/9] powerpc: Use barrier_nospec in copy_from_user

2018-03-15 Thread Linus Torvalds
On Thu, Mar 15, 2018 at 12:15 PM, Michal Suchanek wrote: > This is based on x86 patch doing the same. > > Signed-off-by: Michal Suchanek > --- > --- a/arch/powerpc/include/asm/uaccess.h > +++ b/arch/powerpc/include/asm/uaccess.h > @@ -258,8 +259,10 @@ do {

[PATCH RFC rebase 2/9] powerpc: Use barrier_nospec in copy_from_user

2018-03-15 Thread Michal Suchanek
This is based on x86 patch doing the same. Signed-off-by: Michal Suchanek --- arch/powerpc/include/asm/uaccess.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h index 51bfeb8777f0..af9b0e731f