All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anshuman Khandual <khandual@linux.vnet.ibm.com>
To: Shuah Khan <shuahkh@osg.samsung.com>,
	linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Cc: mikey@neuling.org, james.hogan@imgtec.com, avagin@openvz.org,
	Paul.Clothier@imgtec.com, peterz@infradead.org,
	palves@redhat.com, oleg@redhat.com, davem@davemloft.net,
	dhowells@redhat.com, kirjanov@gmail.com, davej@redhat.com,
	akpm@linux-foundation.org, sukadev@linux.vnet.ibm.com,
	tglx@linutronix.de, sam.bobroff@au1.ibm.com
Subject: Re: [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface
Date: Wed, 26 Nov 2014 10:40:27 +0530	[thread overview]
Message-ID: <547560C3.1090907@linux.vnet.ibm.com> (raw)
In-Reply-To: <5474B72A.7040403@osg.samsung.com>

On 11/25/2014 10:36 PM, Shuah Khan wrote:
> On 11/25/2014 01:05 AM, Anshuman Khandual wrote:
>> > This patch adds one more test case called 'tm-ptrace' targeting TM
>> > related ptrace interface. This test creates one child process to
>> > run some basic TM transactions and the parent process attaches the
>> > child to do some ptrace probing using the recently added regset
>> > interfaces. The parent process then compares the received values
>> > against the expected values to verify whether it has passed the
>> > given test or not.
>> > 
>> > Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
>> > ---
>> >  tools/testing/selftests/powerpc/tm/Makefile    |   2 +-
>> >  tools/testing/selftests/powerpc/tm/tm-ptrace.c | 542 +++++++++++++++++++++++++
>> >  2 files changed, 543 insertions(+), 1 deletion(-)
>> >  create mode 100644 tools/testing/selftests/powerpc/tm/tm-ptrace.c
>> > 
>> > diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile
>> > index 2cede23..71d400a 100644
>> > --- a/tools/testing/selftests/powerpc/tm/Makefile
>> > +++ b/tools/testing/selftests/powerpc/tm/Makefile
>> > @@ -1,4 +1,4 @@
>> > -PROGS := tm-resched-dscr
>> > +PROGS := tm-resched-dscr tm-ptrace
>> >  
> Could you please add .gitignore for the binaries in this directory
> to avoid git status including the binaries it in its output.

Sure, will add one.

WARNING: multiple messages have this Message-ID (diff)
From: Anshuman Khandual <khandual@linux.vnet.ibm.com>
To: Shuah Khan <shuahkh@osg.samsung.com>,
	linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Cc: peterz@infradead.org, akpm@linux-foundation.org,
	tglx@linutronix.de, james.hogan@imgtec.com, avagin@openvz.org,
	Paul.Clothier@imgtec.com, palves@redhat.com, oleg@redhat.com,
	dhowells@redhat.com, davej@redhat.com, davem@davemloft.net,
	mikey@neuling.org, benh@kernel.crashing.org,
	sukadev@linux.vnet.ibm.com, mpe@ellerman.id.au,
	sam.bobroff@au1.ibm.com, kirjanov@gmail.com
Subject: Re: [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface
Date: Wed, 26 Nov 2014 10:40:27 +0530	[thread overview]
Message-ID: <547560C3.1090907@linux.vnet.ibm.com> (raw)
In-Reply-To: <5474B72A.7040403@osg.samsung.com>

On 11/25/2014 10:36 PM, Shuah Khan wrote:
> On 11/25/2014 01:05 AM, Anshuman Khandual wrote:
>> > This patch adds one more test case called 'tm-ptrace' targeting TM
>> > related ptrace interface. This test creates one child process to
>> > run some basic TM transactions and the parent process attaches the
>> > child to do some ptrace probing using the recently added regset
>> > interfaces. The parent process then compares the received values
>> > against the expected values to verify whether it has passed the
>> > given test or not.
>> > 
>> > Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
>> > ---
>> >  tools/testing/selftests/powerpc/tm/Makefile    |   2 +-
>> >  tools/testing/selftests/powerpc/tm/tm-ptrace.c | 542 +++++++++++++++++++++++++
>> >  2 files changed, 543 insertions(+), 1 deletion(-)
>> >  create mode 100644 tools/testing/selftests/powerpc/tm/tm-ptrace.c
>> > 
>> > diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile
>> > index 2cede23..71d400a 100644
>> > --- a/tools/testing/selftests/powerpc/tm/Makefile
>> > +++ b/tools/testing/selftests/powerpc/tm/Makefile
>> > @@ -1,4 +1,4 @@
>> > -PROGS := tm-resched-dscr
>> > +PROGS := tm-resched-dscr tm-ptrace
>> >  
> Could you please add .gitignore for the binaries in this directory
> to avoid git status including the binaries it in its output.

Sure, will add one.


  reply	other threads:[~2014-11-26  5:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25  8:05 [V5 0/7] Add new powerpc specific ELF core notes Anshuman Khandual
2014-11-25  8:05 ` Anshuman Khandual
2014-11-25  8:05 ` [V5 1/7] elf: Add new powerpc specifc core note sections Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 2/7] powerpc, process: Add the function flush_tmregs_to_thread Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 3/7] powerpc, ptrace: Enable fpr_(get/set) for transactional memory Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 4/7] powerpc, ptrace: Enable vr_(get/set) " Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 5/7] powerpc, ptrace: Enable support for transactional memory register sets Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 6/7] powerpc, ptrace: Enable support for miscellaneous debug registers Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25  8:05 ` [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface Anshuman Khandual
2014-11-25  8:05   ` Anshuman Khandual
2014-11-25 17:06   ` Shuah Khan
2014-11-25 17:06     ` Shuah Khan
2014-11-26  5:10     ` Anshuman Khandual [this message]
2014-11-26  5:10       ` Anshuman Khandual

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=547560C3.1090907@linux.vnet.ibm.com \
    --to=khandual@linux.vnet.ibm.com \
    --cc=Paul.Clothier@imgtec.com \
    --cc=akpm@linux-foundation.org \
    --cc=avagin@openvz.org \
    --cc=davej@redhat.com \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=james.hogan@imgtec.com \
    --cc=kirjanov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mikey@neuling.org \
    --cc=oleg@redhat.com \
    --cc=palves@redhat.com \
    --cc=peterz@infradead.org \
    --cc=sam.bobroff@au1.ibm.com \
    --cc=shuahkh@osg.samsung.com \
    --cc=sukadev@linux.vnet.ibm.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.