From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org,
Beata Michalska <beata.michalska@linaro.org>,
quintela@redhat.com, richard.henderson@linaro.org,
dgilbert@redhat.com, shameerali.kolothum.thodi@huawei.com,
eric.auger@redhat.com, qemu-arm@nongnu.org, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/4] tcg: cputlb: Add probe_read
Date: Tue, 24 Sep 2019 00:54:16 +0100 [thread overview]
Message-ID: <87ef06bmc7.fsf@linaro.org> (raw)
In-Reply-To: <20190910095610.4546-2-beata.michalska@linaro.org>
Beata Michalska <beata.michalska@linaro.org> writes:
> Add probe_read alongside the write probing equivalent.
>
> Signed-off-by: Beata Michalska <beata.michalska@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> include/exec/exec-all.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
> index 81b02eb2fe..e1785700c3 100644
> --- a/include/exec/exec-all.h
> +++ b/include/exec/exec-all.h
> @@ -319,6 +319,12 @@ static inline void *probe_write(CPUArchState *env, target_ulong addr, int size,
> return probe_access(env, addr, size, MMU_DATA_STORE, mmu_idx, retaddr);
> }
>
> +static inline void *probe_read(CPUArchState *env, target_ulong addr, int size,
> + int mmu_idx, uintptr_t retaddr)
> +{
> + return probe_access(env, addr, size, MMU_DATA_LOAD, mmu_idx, retaddr);
> +}
> +
> #define CODE_GEN_ALIGN 16 /* must be >= of the size of a icache line */
>
> /* Estimated block size for TB allocation. */
--
Alex Bennée
next prev parent reply other threads:[~2019-09-23 23:54 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 9:56 [Qemu-devel] [PATCH 0/4] target/arm: Support for Data Cache Clean up to PoP Beata Michalska
2019-09-10 9:56 ` [Qemu-devel] [PATCH 1/4] tcg: cputlb: Add probe_read Beata Michalska
2019-09-23 23:54 ` Alex Bennée [this message]
2019-09-10 9:56 ` [Qemu-devel] [PATCH 2/4] Memory: Enable writeback for given memory region Beata Michalska
2019-09-24 0:00 ` Alex Bennée
2019-10-09 11:40 ` Beata Michalska
2019-10-09 11:40 ` Beata Michalska
2019-09-24 16:28 ` Richard Henderson
2019-10-09 11:44 ` Beata Michalska
2019-09-24 16:30 ` Richard Henderson
2019-10-09 11:45 ` Beata Michalska
2019-09-10 9:56 ` [Qemu-devel] [PATCH 3/4] migration: ram: Switch to ram block writeback Beata Michalska
2019-09-10 10:26 ` [Qemu-arm] " Dr. David Alan Gilbert
2019-09-10 10:26 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-09-10 11:28 ` Beata Michalska
2019-09-10 13:16 ` [Qemu-arm] " Dr. David Alan Gilbert
2019-09-10 13:16 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-09-10 14:21 ` [Qemu-arm] " Beata Michalska
2019-09-10 14:21 ` [Qemu-devel] " Beata Michalska
2019-09-11 10:36 ` [Qemu-arm] " Dr. David Alan Gilbert
2019-09-11 10:36 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-09-12 9:10 ` [Qemu-arm] " Beata Michalska
2019-09-12 9:10 ` [Qemu-devel] " Beata Michalska
2019-09-24 16:30 ` Richard Henderson
2019-09-10 9:56 ` [Qemu-devel] [PATCH 4/4] target/arm: Add support for DC CVAP & DC CVADP ins Beata Michalska
2019-09-23 23:54 ` Alex Bennée
2019-10-09 11:47 ` Beata Michalska
2019-10-09 11:47 ` Beata Michalska
2019-09-24 1:16 ` Alex Bennée
2019-10-09 11:49 ` Beata Michalska
2019-10-09 11:49 ` Beata Michalska
2019-09-24 17:22 ` Richard Henderson
2019-10-09 11:53 ` Beata Michalska
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=87ef06bmc7.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=beata.michalska@linaro.org \
--cc=dgilbert@redhat.com \
--cc=eric.auger@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=richard.henderson@linaro.org \
--cc=shameerali.kolothum.thodi@huawei.com \
/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.