Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Michael Ellerman
Mathieu Desnoyers writes: > - On Oct 17, 2017, at 6:36 AM, Michael Ellerman m...@ellerman.id.au wrote: > >> Mathieu Desnoyers writes: >> >>> Hi Michael, >>> >>> With your changes integrated, both rseq and cpu-opv selftests fail to >>> build if I pass e.g. -j32 to make. >>> >>> cd tools/test

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Mathieu Desnoyers
- On Oct 17, 2017, at 6:38 AM, Michael Ellerman m...@ellerman.id.au wrote: > Mathieu Desnoyers writes: > >> - On Oct 15, 2017, at 10:51 PM, Michael Ellerman m...@ellerman.id.au >> wrote: >> >>> Mathieu Desnoyers writes: >>> Implements two basic tests of RSEQ functionality, and on

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Mathieu Desnoyers
- On Oct 17, 2017, at 6:36 AM, Michael Ellerman m...@ellerman.id.au wrote: > Mathieu Desnoyers writes: > >> Hi Michael, >> >> With your changes integrated, both rseq and cpu-opv selftests fail to >> build if I pass e.g. -j32 to make. >> >> cd tools/testing/selftests/cpu-opv >> >> efficios@co

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Michael Ellerman
Mathieu Desnoyers writes: > - On Oct 15, 2017, at 10:51 PM, Michael Ellerman m...@ellerman.id.au > wrote: > >> Mathieu Desnoyers writes: >> >>> Implements two basic tests of RSEQ functionality, and one more >>> exhaustive parameterizable test. >>> >>> The first, "basic_test" only asserts t

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Michael Ellerman
Mathieu Desnoyers writes: > Hi Michael, > > With your changes integrated, both rseq and cpu-opv selftests fail to > build if I pass e.g. -j32 to make. > > cd tools/testing/selftests/cpu-opv > > efficios@compudjdev:~/git/linux-percpu-dev/tools/testing/selftests/cpu-opv$ > make clean; make > rm -f

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-16 Thread Mathieu Desnoyers
Hi Michael, With your changes integrated, both rseq and cpu-opv selftests fail to build if I pass e.g. -j32 to make. cd tools/testing/selftests/cpu-opv efficios@compudjdev:~/git/linux-percpu-dev/tools/testing/selftests/cpu-opv$ make clean; make rm -f -r /home/efficios/git/linux-percpu-dev/tool

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-16 Thread Mathieu Desnoyers
- On Oct 15, 2017, at 10:51 PM, Michael Ellerman m...@ellerman.id.au wrote: > Mathieu Desnoyers writes: > >> Implements two basic tests of RSEQ functionality, and one more >> exhaustive parameterizable test. >> >> The first, "basic_test" only asserts that RSEQ works moderately >> correctly.

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-16 Thread Michael Ellerman
Boqun Feng writes: > On Mon, Oct 16, 2017 at 02:00:33PM +1100, Michael Ellerman wrote: > >> I'm having trouble testing these, I get: ... >> >> ~/linus/tools/testing/selftests/rseq$ ./basic_percpu_ops_test >> ./basic_percpu_ops_test: error while loading shared libraries: >> R_PPC64_ADDR16_HI

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Boqun Feng
On Mon, Oct 16, 2017 at 02:00:33PM +1100, Michael Ellerman wrote: > Mathieu Desnoyers writes: > > > Implements two basic tests of RSEQ functionality, and one more > > exhaustive parameterizable test. > > > > The first, "basic_test" only asserts that RSEQ works moderately > > correctly. > > E.g. t

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Michael Ellerman
Mathieu Desnoyers writes: > Implements two basic tests of RSEQ functionality, and one more > exhaustive parameterizable test. > > The first, "basic_test" only asserts that RSEQ works moderately > correctly. > E.g. that: > - The CPUID pointer works > - Code infinitely looping within a critical sec

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Michael Ellerman
Mathieu Desnoyers writes: > Implements two basic tests of RSEQ functionality, and one more > exhaustive parameterizable test. > > The first, "basic_test" only asserts that RSEQ works moderately > correctly. > E.g. that: > - The CPUID pointer works > - Code infinitely looping within a critical sec