From: Fabiano Rosas <farosas@linux.ibm.com>
To: Richard Henderson <richard.henderson@linaro.org>,
Leandro Lupori <leandro.lupori@eldorado.org.br>,
qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: danielhb413@gmail.com, groug@kaod.org, clg@kaod.org,
pbonzini@redhat.com, alex.bennee@linaro.org,
david@gibson.dropbear.id.au
Subject: Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU
Date: Mon, 28 Mar 2022 11:54:39 -0300 [thread overview]
Message-ID: <878rsuf7ps.fsf@linux.ibm.com> (raw)
In-Reply-To: <b232c4e6-61ba-0dc9-e2d0-53b4ad7cc93a@linaro.org>
Richard Henderson <richard.henderson@linaro.org> writes:
> On 3/24/22 13:08, Leandro Lupori wrote:
>> To be able to finish the test and return an exit code to the
>> calling process, the Processor Attention instruction is used.
>> As its behavior is implementation dependent, in QEMU PowerNV
>> it just calls exit with GPR[3] value, truncated to an uint8_t.
>
> I think you're simply thinking too small here, and should consider using the attn
> instruction to implement a full -semihosting interface. You might as well join arm and
> riscv with CONFIG_ARM_COMPATIBLE_SEMIHOSTING.
I can't reach the semihosting docs at:
https://static.docs.arm.com/100863/0200/semihosting.pdf
Do we need to replace that URL with something else?
>
>
> r~
next prev parent reply other threads:[~2022-03-28 14:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-24 19:08 [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU Leandro Lupori
2022-03-24 19:08 ` [RFC PATCH 1/6] target/ppc: Add support for the Processor Attention instruction Leandro Lupori
2022-03-25 15:11 ` Fabiano Rosas
2022-03-26 3:15 ` David Gibson
2022-03-26 13:04 ` Richard Henderson
2022-03-28 15:46 ` Cédric Le Goater
2022-03-24 19:08 ` [RFC PATCH 2/6] ppc/pnv: Activate " Leandro Lupori
2022-03-24 19:08 ` [RFC PATCH 3/6] tests/tcg/ppc64: add basic softmmu test support Leandro Lupori
2022-03-24 19:08 ` [RFC PATCH 4/6] tests/tcg: add support for ppc64le softmmu tests Leandro Lupori
2022-03-24 20:34 ` Alex Bennée
2022-03-24 21:11 ` Leandro Lupori
2022-03-25 9:50 ` Alex Bennée
2022-03-31 14:27 ` Leandro Lupori
2022-03-24 19:08 ` [RFC PATCH 5/6] tests/tcg/ppc64: add MMU test sources Leandro Lupori
2022-03-24 19:08 ` [RFC PATCH 6/6] tests/tcg/ppc64: add rules to build PowerNV tests Leandro Lupori
2022-03-26 13:13 ` [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU Richard Henderson
2022-03-28 14:54 ` Fabiano Rosas [this message]
2022-03-28 14:59 ` Richard Henderson
2022-03-28 16:24 ` Cédric Le Goater
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=878rsuf7ps.fsf@linux.ibm.com \
--to=farosas@linux.ibm.com \
--cc=alex.bennee@linaro.org \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=groug@kaod.org \
--cc=leandro.lupori@eldorado.org.br \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=richard.henderson@linaro.org \
/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).