Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC

2016-07-28 Thread Mathieu Desnoyers
- On Jul 28, 2016, at 12:43 AM, Boqun Feng boqun.f...@gmail.com wrote: > On Thu, Jul 28, 2016 at 02:59:45AM +, Mathieu Desnoyers wrote: >> - On Jul 27, 2016, at 11:05 AM, Boqun Feng boqun.f...@gmail.com wrote: >> >> > As rseq syscall is enabled on PPC, implement the self-tests on PPC

Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC

2016-07-27 Thread Boqun Feng
On Thu, Jul 28, 2016 at 02:59:45AM +, Mathieu Desnoyers wrote: > - On Jul 27, 2016, at 11:05 AM, Boqun Feng boqun.f...@gmail.com wrote: > > > As rseq syscall is enabled on PPC, implement the self-tests on PPC to > > verify the implementation of the syscall. > > > > Please note we only sup

Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC

2016-07-27 Thread Mathieu Desnoyers
- On Jul 27, 2016, at 11:05 AM, Boqun Feng boqun.f...@gmail.com wrote: > As rseq syscall is enabled on PPC, implement the self-tests on PPC to > verify the implementation of the syscall. > > Please note we only support 32bit userspace on BE kernel. > > Signed-off-by: Boqun Feng > --- > tool

[RFC 4/4] Restartable sequences: Add self-tests for PPC

2016-07-27 Thread Boqun Feng
As rseq syscall is enabled on PPC, implement the self-tests on PPC to verify the implementation of the syscall. Please note we only support 32bit userspace on BE kernel. Signed-off-by: Boqun Feng --- tools/testing/selftests/rseq/param_test.c | 14 tools/testing/selftests/rseq/rseq.h