Re: [PATCH v2] powerpc: Wire up clone3 syscall

2019-07-30 Thread Michael Ellerman
On Wed, 2019-07-24 at 14:02:59 UTC, Michael Ellerman wrote: > Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: > add clone3"). > > This requires a ppc_clone3 wrapper, in order to save the non-volatile > GPRs before calling into the generic syscall code. Otherwise we hit > the BU

Re: [PATCH v2] powerpc: Wire up clone3 syscall

2019-07-24 Thread Christian Brauner
On Thu, Jul 25, 2019 at 12:02:59AM +1000, Michael Ellerman wrote: > Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: > add clone3"). > > This requires a ppc_clone3 wrapper, in order to save the non-volatile > GPRs before calling into the generic syscall code. Otherwise we hit >

[PATCH v2] powerpc: Wire up clone3 syscall

2019-07-24 Thread Michael Ellerman
Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: add clone3"). This requires a ppc_clone3 wrapper, in order to save the non-volatile GPRs before calling into the generic syscall code. Otherwise we hit the BUG_ON in CHECK_FULL_REGS in copy_thread(). Lightly tested using Christia