Re: [PATCH] powerpc: Use asm_goto_volatile for put_user()

2020-11-08 Thread Michael Ellerman
On Wed, 4 Nov 2020 22:17:42 +1100, Michael Ellerman wrote: > Andreas reported that commit ee0a49a6870e ("powerpc/uaccess: Switch > __put_user_size_allowed() to __put_user_asm_goto()") broke > CLONE_CHILD_SETTID. > > Further inspection showed that the put_user() in schedule_tail() was > missing ent

Re: [PATCH] powerpc: Use asm_goto_volatile for put_user()

2020-11-04 Thread Andreas Schwab
With that patch the kernel is working again. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[PATCH] powerpc: Use asm_goto_volatile for put_user()

2020-11-04 Thread Michael Ellerman
Andreas reported that commit ee0a49a6870e ("powerpc/uaccess: Switch __put_user_size_allowed() to __put_user_asm_goto()") broke CLONE_CHILD_SETTID. Further inspection showed that the put_user() in schedule_tail() was missing entirely, the store not emitted by the compiler. <.schedule_tail>: