From: "Emilio G. Cota" <cota@braap.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: patches@linaro.org, qemu-devel@nongnu.org,
"KONRAD Frederic" <frederic.konrad@adacore.com>,
qemu-arm@nongnu.org, "Cédric Le Goater" <clg@kaod.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-arm] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups
Date: Fri, 13 Jul 2018 12:44:25 -0400 [thread overview]
Message-ID: <20180713164425.GB22074@flamenco> (raw)
In-Reply-To: <20180710160013.26559-3-peter.maydell@linaro.org>
On Tue, Jul 10, 2018 at 17:00:09 +0100, Peter Maydell wrote:
> When we support execution from non-RAM MMIO regions, get_page_addr_code()
> will return -1 to indicate that there is no RAM at the requested address.
> Handle this in the cpu-exec TB hashtable lookup code, treating it as
> "no match found".
>
> Note that the call to get_page_addr_code() in tb_lookup_cmp() needs
> no changes -- a return of -1 will already correctly result in the
> function returning false.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
E.
WARNING: multiple messages have this Message-ID (diff)
From: "Emilio G. Cota" <cota@braap.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, patches@linaro.org,
"Richard Henderson" <rth@twiddle.net>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Cédric Le Goater" <clg@kaod.org>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"KONRAD Frederic" <frederic.konrad@adacore.com>
Subject: Re: [Qemu-devel] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups
Date: Fri, 13 Jul 2018 12:44:25 -0400 [thread overview]
Message-ID: <20180713164425.GB22074@flamenco> (raw)
In-Reply-To: <20180710160013.26559-3-peter.maydell@linaro.org>
On Tue, Jul 10, 2018 at 17:00:09 +0100, Peter Maydell wrote:
> When we support execution from non-RAM MMIO regions, get_page_addr_code()
> will return -1 to indicate that there is no RAM at the requested address.
> Handle this in the cpu-exec TB hashtable lookup code, treating it as
> "no match found".
>
> Note that the call to get_page_addr_code() in tb_lookup_cmp() needs
> no changes -- a return of -1 will already correctly result in the
> function returning false.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
E.
next prev parent reply other threads:[~2018-07-13 16:44 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 16:00 [Qemu-arm] [PATCH 0/6] accel/tcg: Support execution from MMIO and small MMU regions Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 16:00 ` [Qemu-arm] [PATCH 1/6] accel/tcg: Pass read access type through to io_readx() Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 18:19 ` Richard Henderson
2018-07-10 18:19 ` Richard Henderson
2018-07-11 14:06 ` [Qemu-arm] " Philippe Mathieu-Daudé
2018-07-11 14:06 ` [Qemu-devel] " Philippe Mathieu-Daudé
2018-07-10 16:00 ` [Qemu-devel] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups Peter Maydell
2018-07-10 16:00 ` Peter Maydell
2018-07-10 18:23 ` [Qemu-arm] " Richard Henderson
2018-07-10 18:23 ` [Qemu-devel] " Richard Henderson
2018-07-13 16:44 ` Emilio G. Cota [this message]
2018-07-13 16:44 ` Emilio G. Cota
2018-07-10 16:00 ` [Qemu-arm] [PATCH 3/6] accel/tcg: Handle get_page_addr_code() returning -1 in tb_check_watchpoint() Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 18:27 ` [Qemu-arm] " Richard Henderson
2018-07-10 18:27 ` [Qemu-devel] " Richard Henderson
2018-07-10 16:00 ` [Qemu-arm] [PATCH 4/6] accel/tcg: tb_gen_code(): Create single-insn TB for execution from non-RAM Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 18:30 ` [Qemu-arm] " Richard Henderson
2018-07-10 18:30 ` [Qemu-devel] " Richard Henderson
2018-07-13 16:41 ` [Qemu-arm] " Emilio G. Cota
2018-07-13 16:41 ` [Qemu-devel] " Emilio G. Cota
2018-07-10 16:00 ` [Qemu-arm] [PATCH 5/6] accel/tcg: Return -1 for execution from MMIO regions in get_page_addr_code() Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 18:33 ` [Qemu-arm] " Richard Henderson
2018-07-10 18:33 ` [Qemu-devel] " Richard Henderson
2018-07-11 14:36 ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-11-14 17:19 ` [Qemu-arm] [Qemu-devel] " Thomas Huth
2018-11-14 17:19 ` Thomas Huth
2018-11-15 7:32 ` [Qemu-arm] " Richard Henderson
2018-11-15 7:32 ` Richard Henderson
2018-11-15 13:53 ` Peter Maydell
2018-11-15 13:53 ` Peter Maydell
2018-11-15 16:00 ` Richard Henderson
2018-11-15 16:00 ` Richard Henderson
2018-07-10 16:00 ` [Qemu-arm] [PATCH 6/6] target/arm: Allow execution from small regions Peter Maydell
2018-07-10 16:00 ` [Qemu-devel] " Peter Maydell
2018-07-10 18:34 ` [Qemu-arm] " Richard Henderson
2018-07-10 18:34 ` [Qemu-devel] " Richard Henderson
2018-07-11 15:09 ` [Qemu-arm] " Philippe Mathieu-Daudé
2018-07-11 15:09 ` [Qemu-devel] " Philippe Mathieu-Daudé
2018-07-11 4:21 ` [Qemu-arm] [PATCH 0/6] accel/tcg: Support execution from MMIO and small MMU regions Philippe Mathieu-Daudé
2018-07-11 4:21 ` [Qemu-devel] " Philippe Mathieu-Daudé
2018-07-12 16:37 ` Peter Maydell
2018-07-12 16:37 ` Peter Maydell
2018-07-13 15:13 ` Peter Maydell
2018-07-13 15:13 ` [Qemu-devel] " Peter Maydell
2018-07-16 12:30 ` KONRAD Frederic
2018-07-16 12:30 ` [Qemu-devel] " KONRAD Frederic
2018-07-16 13:02 ` Peter Maydell
2018-07-16 13:02 ` Peter Maydell
2018-07-23 14:57 ` [Qemu-arm] " Cédric Le Goater
2018-07-23 14:57 ` [Qemu-devel] " Cédric Le Goater
2018-07-23 15:17 ` Peter Maydell
2018-07-23 15:17 ` Peter Maydell
2018-07-23 15:51 ` [Qemu-arm] " Cédric Le Goater
2018-07-23 15:51 ` [Qemu-devel] " Cédric Le Goater
2018-07-23 15:11 ` [Qemu-arm] " Cédric Le Goater
2018-07-23 15:11 ` [Qemu-devel] " Cédric Le Goater
2018-07-24 12:23 ` [Qemu-arm] " Peter Maydell
2018-07-24 12:23 ` [Qemu-devel] " 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=20180713164425.GB22074@flamenco \
--to=cota@braap.org \
--cc=clg@kaod.org \
--cc=frederic.konrad@adacore.com \
--cc=patches@linaro.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--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.