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: Riku Voipio <riku.voipio@iki.fi>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH v2 6/9] linux-user: Split safe-syscall macro into its own header
Date: Mon, 13 Sep 2021 09:20:03 +0100	[thread overview]
Message-ID: <CAFEAcA9CKg7-LfpiqLY4EsaPo3Vnu8gV-7buDoiyv7c+xB8R_w@mail.gmail.com> (raw)
In-Reply-To: <b38d4f0b-4adb-ae02-c90a-83cf4b4a21d8@linaro.org>

On Sun, 12 Sept 2021 at 17:23, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 9/8/21 8:44 AM, Peter Maydell wrote:
> > Split the safe-syscall macro from qemu.h into a new safe-syscall.h.
> >
> > Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
> > Reviewed-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
> > ---
> >   linux-user/qemu.h         | 135 ---------------------------------
> >   linux-user/safe-syscall.h | 154 ++++++++++++++++++++++++++++++++++++++
> >   linux-user/syscall.c      |   1 +
> >   3 files changed, 155 insertions(+), 135 deletions(-)
> >   create mode 100644 linux-user/safe-syscall.h
>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
>
>
> > +#else
> > +
> > +/*
> > + * Fallback for architectures which don't yet provide a safe-syscall assembly
> > + * fragment; note that this is racy!
> > + * This should go away when all host architectures have been updated.
> > + */
> > +#define safe_syscall syscall
>
> All native tcg hosts have been updated.  All that is left are those for which we fall back
> to tci.  At what point do we drop the fallback and simply make this a build error?

We should probably do that now, or at least once this cleanup has got into
master...

-- PMM


  reply	other threads:[~2021-09-13  8:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-08 15:43 [PATCH v2 0/9] linux-user: split internals out of qemu.h Peter Maydell
2021-09-08 15:43 ` [PATCH v2 1/9] linux-user: Fix coding style nits in qemu.h Peter Maydell
2021-09-12 16:07   ` Richard Henderson
2021-09-08 15:43 ` [PATCH v2 2/9] linux-user: Split strace prototypes into strace.h Peter Maydell
2021-09-12 16:16   ` Richard Henderson
2021-09-08 15:43 ` [PATCH v2 3/9] linux-user: Split signal-related prototypes into signal-common.h Peter Maydell
2021-09-08 15:59   ` Philippe Mathieu-Daudé
2021-09-12 16:16   ` Richard Henderson
2021-09-08 15:44 ` [PATCH v2 4/9] linux-user: Split loader-related prototypes into loader.h Peter Maydell
2021-09-08 16:00   ` Philippe Mathieu-Daudé
2021-09-12 16:17   ` Richard Henderson
2021-09-08 15:44 ` [PATCH v2 5/9] linux-user: Split mmap prototypes into user-mmap.h Peter Maydell
2021-09-08 16:01   ` Philippe Mathieu-Daudé
2021-09-12 16:18   ` Richard Henderson
2021-09-08 15:44 ` [PATCH v2 6/9] linux-user: Split safe-syscall macro into its own header Peter Maydell
2021-09-12 16:23   ` Richard Henderson
2021-09-13  8:20     ` Peter Maydell [this message]
2021-09-08 15:44 ` [PATCH v2 7/9] linux-user: Split linux-user internals out of qemu.h Peter Maydell
2021-09-12 16:28   ` Richard Henderson
2021-09-08 15:44 ` [PATCH v2 8/9] linux-user: Don't include gdbstub.h in qemu.h Peter Maydell
2021-09-12 16:35   ` Richard Henderson
2021-09-08 15:44 ` [PATCH v2 9/9] linux-user: Drop unneeded includes from qemu.h Peter Maydell
2021-09-12 16:36   ` Richard Henderson
2021-09-13 19:07 ` [PATCH v2 0/9] linux-user: split internals out of qemu.h Laurent Vivier

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=CAFEAcA9CKg7-LfpiqLY4EsaPo3Vnu8gV-7buDoiyv7c+xB8R_w@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=riku.voipio@iki.fi \
    /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.