Re: [PATCH v14 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-14 Thread Michael Ellerman
Cyril Bur writes: > Its messy but I think the accepted solution for kselftests is to do: > > #include "../../../../../usr/include/linux/elf.h" > > which I believe will get the headers generated for the target by `make > headers_install` and therefore should match that for which the > kselftests ar

Re: [PATCH v14 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-13 Thread Cyril Bur
On Tue, 2016-09-13 at 01:01 +0800, Simon Guo wrote: > Hi Cyril, > On Tue, Sep 13, 2016 at 03:49:10PM +1000, Cyril Bur wrote: > > > > Thanks for putting the effort in to get these merged! I have a few > > remarks that apply to more than one patch which I'll say here. > > > > I'm not sure #defining

Re: [PATCH v14 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-13 Thread Simon Guo
Hi Cyril, On Tue, Sep 13, 2016 at 03:49:10PM +1000, Cyril Bur wrote: > Thanks for putting the effort in to get these merged! I have a few > remarks that apply to more than one patch which I'll say here. > > I'm not sure #defining the TM instructions as .long for the selftests > is useful. Compiler

Re: [PATCH v14 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-12 Thread Cyril Bur
On Mon, 2016-09-12 at 15:33 +0800, wei.guo.si...@gmail.com wrote: > From: Simon Guo > > This selftest suite is for PPC register ptrace functionality. It > is also useful for Transaction Memory functionality verification. > > Signed-off-by: Anshuman Khandual > Signed-off-by: Simon Guo > Hi Si

[PATCH v14 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-12 Thread wei . guo . simon
From: Simon Guo This selftest suite is for PPC register ptrace functionality. It is also useful for Transaction Memory functionality verification. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo Test Result (All tests pass on both BE and LE)