Re: [PATCH v8 16/30] powerpc: Define and use __get_user_instr{, inatomic}()

2020-05-13 Thread Jordan Niethe
Hi mpe, could you please take this. arch/powerpc/include/asm/uaccess.h | 3 +++ arch/powerpc/kernel/vecemu.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h --- a/arch/powerpc/include/asm/uaccess.h

Re: [PATCH v8 16/30] powerpc: Define and use __get_user_instr{, inatomic}()

2020-05-13 Thread Jordan Niethe
On Thu, May 14, 2020 at 12:17 AM Michael Ellerman wrote: > > Jordan Niethe writes: > > Define specific __get_user_instr() and __get_user_instr_inatomic() > > macros for reading instructions from user space. > > At least for fix_alignment() we could be coming from the kernel, not > sure about the

Re: [PATCH v8 16/30] powerpc: Define and use __get_user_instr{, inatomic}()

2020-05-13 Thread Michael Ellerman
Jordan Niethe writes: > Define specific __get_user_instr() and __get_user_instr_inatomic() > macros for reading instructions from user space. At least for fix_alignment() we could be coming from the kernel, not sure about the other cases. I can tweak the change log. > diff --git a/arch/powerpc/

[PATCH v8 16/30] powerpc: Define and use __get_user_instr{, inatomic}()

2020-05-05 Thread Jordan Niethe
Define specific __get_user_instr() and __get_user_instr_inatomic() macros for reading instructions from user space. Reviewed-by: Alistair Popple Signed-off-by: Jordan Niethe --- arch/powerpc/include/asm/uaccess.h | 5 + arch/powerpc/kernel/align.c | 2 +- arch/powerpc/kernel/hw_bre