From: David Hildenbrand <david@redhat.com>
To: Richard Henderson <rth@twiddle.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/4] target/s390x: Use ILEN_UNWIND in trivial cases
Date: Tue, 25 Jul 2017 09:18:40 +0200 [thread overview]
Message-ID: <1cc32ae6-5c7e-7452-d730-605fd68dd3a1@redhat.com> (raw)
In-Reply-To: <20170725023611.9169-3-rth@twiddle.net>
> /* FIXME: a) LAP
> diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c
> index 452b2bd902..376dbd68c2 100644
> --- a/target/s390x/misc_helper.c
> +++ b/target/s390x/misc_helper.c
> @@ -57,7 +57,7 @@ void QEMU_NORETURN runtime_exception(CPUS390XState *env, int excp,
>
> cs->exception_index = EXCP_PGM;
> env->int_pgm_code = excp;
> - env->int_pgm_ilen = ILEN_AUTO;
> + env->int_pgm_ilen = ILEN_UNWIND;
This is the only place where int_pgm_ilen is ever set to ILEN_UNWIND.
Think it would be better to drop setting int_pgm_ilen here completely.
>
> /* Use the (ultimate) callers address to find the insn that trapped. */
> cpu_restore_state(cs, retaddr);
>
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David
next prev parent reply other threads:[~2017-07-25 7:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 2:36 [Qemu-devel] [PATCH 0/4] target/s390x ilen via unwinding Richard Henderson
2017-07-25 2:36 ` [Qemu-devel] [PATCH 1/4] target/s390x: Add ilen to unwind data Richard Henderson
2017-07-25 7:15 ` David Hildenbrand
2017-07-25 2:36 ` [Qemu-devel] [PATCH 2/4] target/s390x: Use ILEN_UNWIND in trivial cases Richard Henderson
2017-07-25 7:18 ` David Hildenbrand [this message]
2017-07-25 2:36 ` [Qemu-devel] [PATCH 3/4] target/s390x: Use unwind info in STSI Richard Henderson
2017-07-25 7:19 ` David Hildenbrand
2017-07-25 2:36 ` [Qemu-devel] [PATCH 4/4] target/s390x: Use ilen from unwind in tlb_fill 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=1cc32ae6-5c7e-7452-d730-605fd68dd3a1@redhat.com \
--to=david@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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.