From: Sandipan Das <sandipan@linux.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: naveen.n.rao@linux.ibm.com, paulus@samba.org,
linuxppc-dev@lists.ozlabs.org, ravi.bangoria@linux.ibm.com,
dja@axtens.net
Subject: Re: [PATCH 1/3] powerpc: sstep: Add tests for compute type instructions
Date: Fri, 22 Feb 2019 12:19:07 +0530 [thread overview]
Message-ID: <23929c85-db2c-de3d-6716-215a8c95c4cb@linux.ibm.com> (raw)
In-Reply-To: <87r2c15r8w.fsf@concordia.ellerman.id.au>
Hi Michael,
On 21/02/19 4:43 PM, Michael Ellerman wrote:
> Sandipan Das <sandipan@linux.ibm.com> writes:
>> This enhances the current selftest framework for validating
>> the in-kernel instruction emulation infrastructure by adding
>> support for compute type instructions i.e. integer ALU-based
>> instructions. Originally, this framework was limited to only
>> testing load and store instructions.
>>
>> While most of the GPRs can be validated, support for SPRs is
>> limited to LR, CR and XER for now.
>>
>> When writing the test cases, one must ensure that the Stack
>> Pointer (GPR1) or the Thread Pointer (GPR13) are not touched
>> by any means as these are vital non-volatile registers.
>>
>> Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
>> ---
>> arch/powerpc/lib/Makefile | 3 +-
>> arch/powerpc/lib/test_emulate_step.c | 167 +++++++++++++++++-
>> .../lib/test_emulate_step_exec_instr.S | 150 ++++++++++++++++
>> 3 files changed, 315 insertions(+), 5 deletions(-)
>> create mode 100644 arch/powerpc/lib/test_emulate_step_exec_instr.S
>
> Hi Sandipan,
>
> Thanks for the exceptionally well written asm, I wish all our asm code
> was that neat and well commented :)
>
> I'd like to get this merged today so I tweaked it slightly when
> applying to use the new patch_site helpers we added recently, see diff
> below.
>
> cheers
>
>
Thanks for modernizing it :)
- Sandipan
next prev parent reply other threads:[~2019-02-22 6:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 6:56 [PATCH 0/3] powerpc: sstep: Emulation test infrastructure Sandipan Das
2019-02-20 6:56 ` [PATCH 1/3] powerpc: sstep: Add tests for compute type instructions Sandipan Das
2019-02-21 11:13 ` Michael Ellerman
2019-02-22 6:49 ` Sandipan Das [this message]
2019-02-26 3:27 ` [1/3] " Michael Ellerman
2019-02-20 6:56 ` [PATCH 2/3] powerpc: sstep: Add tests for add[.] instruction Sandipan Das
2019-02-20 6:57 ` [PATCH 3/3] powerpc: sstep: Add tests for addc[.] instruction Sandipan Das
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=23929c85-db2c-de3d-6716-215a8c95c4cb@linux.ibm.com \
--to=sandipan@linux.ibm.com \
--cc=dja@axtens.net \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=naveen.n.rao@linux.ibm.com \
--cc=paulus@samba.org \
--cc=ravi.bangoria@linux.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).