All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: Alistair Francis <alistair.francis@wdc.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Michael Clark <mjc@sifive.com>,
	Alistair Francis <alistair23@gmail.com>
Subject: Re: [Qemu-devel] [PATCH v1 1/1] configure: Add RISC-V host support
Date: Sun, 29 Jul 2018 12:28:20 +0100	[thread overview]
Message-ID: <CAFEAcA_NaTDYPb_-w2mO-Y8xZ45=zkBQRA=XwHu4ioH+N8Y52g@mail.gmail.com> (raw)
In-Reply-To: <383842e2-9d91-ff2d-642d-c3cb003895b7@linaro.org>

On 28 July 2018 at 17:36, Richard Henderson
<richard.henderson@linaro.org> wrote:
> On 07/27/2018 04:49 PM, Alistair Francis wrote:
>> Allow QEMU to be built to run on a RISC-V host.
>>
>> QEMU does not yet have a RISC-V TCG or user mode target port, but
>> running other architectures on RISC-V using TCI does work.
>>
>> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
>> ---
>>  configure | 18 +++++++++++++++++-
>>  1 file changed, 17 insertions(+), 1 deletion(-)
>
> This is ok as far as it goes.
>
> Even for TCI, you need some more.
>
> At minimum, see Michael Clark's branch changes to accel/tcg/user-exec.c for
> host signal handling.  While you can run *-softmmu without this, none of
> *-linux-user will work reliably.
>
> Another piece that even Michael Clark does not have is
> linux-user/host/*/safe-syscall.S.

It might be nice to complete the safe-syscall stuff for all hosts,
and then remove the fallback that lets you build an unreliable
linux-user binary without it...

thanks
-- PMM

  reply	other threads:[~2018-07-29 11:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 23:49 [Qemu-devel] [PATCH v1 1/1] configure: Add RISC-V host support Alistair Francis
2018-07-28  4:14 ` Michael Clark
2018-07-28 16:36 ` Richard Henderson
2018-07-29 11:28   ` Peter Maydell [this message]
2018-07-30 17:24     ` Alistair Francis
2018-07-30 18:33       ` Peter Maydell
2018-07-30 18:20 ` Philippe Mathieu-Daudé
2018-07-30 18:37   ` Peter Maydell
2018-07-31  9:30     ` Daniel P. Berrangé
2018-07-31  9:39       ` Peter Maydell

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='CAFEAcA_NaTDYPb_-w2mO-Y8xZ45=zkBQRA=XwHu4ioH+N8Y52g@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=alistair.francis@wdc.com \
    --cc=alistair23@gmail.com \
    --cc=mjc@sifive.com \
    --cc=qemu-devel@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 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.