qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Ahmed Karaman <ahmedkhaledkaraman@gmail.com>,
	qemu-devel@nongnu.org, rth@twiddle.net,
	ysato@users.sourceforge.jp
Cc: aleksandar.qemu.devel@gmail.com, alex.bennee@linaro.org,
	stefanha@redhat.com
Subject: Re: [PATCH v2 1/1] target/rx: Check for page crossings in use_goto_tb()
Date: Mon, 1 Jun 2020 15:19:43 -0700	[thread overview]
Message-ID: <cd8ade6a-904c-ed35-2695-8865536eb40e@linaro.org> (raw)
In-Reply-To: <20200531134512.7923-2-ahmedkhaledkaraman@gmail.com>

On 5/31/20 6:45 AM, Ahmed Karaman wrote:
> Add the page crossings check in use_goto_tb(). If this check is not
> applied, a number of bugs may occasionally occur during target rx
> system mode emulation.
> Also, this check is needed in user mode related to emulation of system
> call mmap(). rx target does not currently support user mode, but it is
> better to prepare use_goto_tb() in that sense in advance.
> 
> Rename parameter dc of type DisasContext* to the more common name ctx,
> to keep consistency with other targets.
> 
> Add detailed comments.
> 
> Buglink: https://bugs.launchpad.net/qemu/+bug/1880763
> Signed-off-by: Ahmed Karaman <ahmedkhaledkaraman@gmail.com>
> ---
>  target/rx/translate.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Although I note that this failure is not currently visible because RX does not
have an MMU.  So there are no page permissions to change or fail.


r~



  reply	other threads:[~2020-06-01 22:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 13:45 [PATCH v2 0/1] Check for page crossings in use_goto_tb() for rx target Ahmed Karaman
2020-05-31 13:45 ` [PATCH v2 1/1] target/rx: Check for page crossings in use_goto_tb() Ahmed Karaman
2020-06-01 22:19   ` Richard Henderson [this message]
2020-06-24 11:46     ` Aleksandar Markovic

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=cd8ade6a-904c-ed35-2695-8865536eb40e@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=ahmedkhaledkaraman@gmail.com \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=stefanha@redhat.com \
    --cc=ysato@users.sourceforge.jp \
    /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).