qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [PATCH 4/8] linux-user: Pass CPUArchState to target_restore_altstack
Date: Sun, 25 Apr 2021 12:12:16 -0600	[thread overview]
Message-ID: <CANCZdfrg-ndpvf+ZyUQrRY1afV2-41biQxdyGcvsh8tppoG2RA@mail.gmail.com> (raw)
In-Reply-To: <20210425155749.896330-5-richard.henderson@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

On Sun, Apr 25, 2021 at 10:08 AM Richard Henderson <
richard.henderson@linaro.org> wrote:

> In most cases we were already passing get_sp_from_cpustate
> directly to the function.  In other cases, we were passing
> a local variable which already contained the same value.
> In the rest of the cases, we were passing the stack pointer
> out of env directly.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  linux-user/signal-common.h     | 2 +-
>  linux-user/aarch64/signal.c    | 2 +-
>  linux-user/alpha/signal.c      | 2 +-
>  linux-user/arm/signal.c        | 4 ++--
>  linux-user/hexagon/signal.c    | 2 +-
>  linux-user/hppa/signal.c       | 2 +-
>  linux-user/i386/signal.c       | 2 +-
>  linux-user/m68k/signal.c       | 2 +-
>  linux-user/microblaze/signal.c | 2 +-
>  linux-user/mips/signal.c       | 2 +-
>  linux-user/nios2/signal.c      | 2 +-
>  linux-user/openrisc/signal.c   | 2 +-
>  linux-user/ppc/signal.c        | 2 +-
>  linux-user/riscv/signal.c      | 2 +-
>  linux-user/s390x/signal.c      | 2 +-
>  linux-user/sh4/signal.c        | 2 +-
>  linux-user/signal.c            | 6 +++---
>  linux-user/xtensa/signal.c     | 2 +-
>  18 files changed, 21 insertions(+), 21 deletions(-)
>

Reviewed by: Warner Losh <imp@bsdimp.com>

[-- Attachment #2: Type: text/html, Size: 1896 bytes --]

  reply	other threads:[~2021-04-25 18:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-25 15:57 [PATCH 0/8] linux-user/sparc64: Implement signals Richard Henderson
2021-04-25 15:57 ` [PATCH 1/8] linux-user: Split out target_restore_altstack Richard Henderson
2021-04-25 15:57 ` [PATCH 2/8] linux-user: Use target_restore_altstack in all sigreturn Richard Henderson
2021-04-25 15:57 ` [PATCH 3/8] linux-user: Pass CPUArchState to do_sigaltstack Richard Henderson
2021-04-25 15:57 ` [PATCH 4/8] linux-user: Pass CPUArchState to target_restore_altstack Richard Henderson
2021-04-25 18:12   ` Warner Losh [this message]
2021-04-25 15:57 ` [PATCH 5/8] linux-user/sparc64: Move sparc64 code out of sparc32 signal.c Richard Henderson
2021-04-25 18:10   ` Warner Losh
2021-04-25 15:57 ` [PATCH 6/8] linux-user/sparc: Clean up init_thread Richard Henderson
2021-04-25 15:57 ` [PATCH 7/8] linux-user/sparc64: Include TARGET_STACK_BIAS in get_sp_from_cpustate Richard Henderson
2021-04-25 15:57 ` [PATCH 8/8] linux-user/sparc64: Implement signals Richard Henderson
2021-04-25 16:08   ` Richard Henderson

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=CANCZdfrg-ndpvf+ZyUQrRY1afV2-41biQxdyGcvsh8tppoG2RA@mail.gmail.com \
    --to=imp@bsdimp.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 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).