Re: [PATCH 3/3] selftests/powerpc: Add transactional syscall test

2015-03-29 Thread Sam Bobroff
On 24/03/15 13:02, Michael Ellerman wrote: > On Tue, 2015-03-24 at 12:52 +1100, Sam Bobroff wrote: >> On 20/03/15 20:25, Anshuman Khandual wrote: >>> On 03/19/2015 10:13 AM, Sam Bobroff wrote: Check that a syscall made during an active transaction will fail with the correct failure code a

Re: [PATCH 3/3] selftests/powerpc: Add transactional syscall test

2015-03-23 Thread Michael Ellerman
On Tue, 2015-03-24 at 12:52 +1100, Sam Bobroff wrote: > On 20/03/15 20:25, Anshuman Khandual wrote: > > On 03/19/2015 10:13 AM, Sam Bobroff wrote: > >> Check that a syscall made during an active transaction will fail with > >> the correct failure code and that one made during a suspended > >> trans

Re: [PATCH 3/3] selftests/powerpc: Add transactional syscall test

2015-03-23 Thread Sam Bobroff
On 20/03/15 20:25, Anshuman Khandual wrote: > On 03/19/2015 10:13 AM, Sam Bobroff wrote: >> Check that a syscall made during an active transaction will fail with >> the correct failure code and that one made during a suspended >> transaction will succeed. >> >> Signed-off-by: Sam Bobroff > > The

Re: [PATCH 3/3] selftests/powerpc: Add transactional syscall test

2015-03-20 Thread Anshuman Khandual
On 03/19/2015 10:13 AM, Sam Bobroff wrote: > Check that a syscall made during an active transaction will fail with > the correct failure code and that one made during a suspended > transaction will succeed. > > Signed-off-by: Sam Bobroff The test works. > + > +int tm_syscall(void) > +{ > +

[PATCH 3/3] selftests/powerpc: Add transactional syscall test

2015-03-18 Thread Sam Bobroff
Check that a syscall made during an active transaction will fail with the correct failure code and that one made during a suspended transaction will succeed. Signed-off-by: Sam Bobroff --- tools/testing/selftests/powerpc/tm/Makefile |3 +- tools/testing/selftests/powerpc/tm/tm-syscall.c