From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [PATCH 0/5] tcg: Issue memory barriers for guest memory model
Date: Fri, 25 Jun 2021 23:06:30 -0700 [thread overview]
Message-ID: <90884d4e-f057-5035-b21c-653ce6203a81@linaro.org> (raw)
In-Reply-To: <20210316220735.2048137-1-richard.henderson@linaro.org>
Ping. A local rebase seems to apply clean.
r~
On 3/16/21 3:07 PM, Richard Henderson wrote:
> This is intending to fix the current aarch64 host failure
> for s390x guest cdrom-test. This is caused by the io thread
> issuing memory barriers that are supposed to be matched by
> the vcpu, but are elided by tcg in rr mode as "unnecessary".
>
> I know Peter would like a smaller patch to sync the io thread
> with the vcpu thread. I've made a couple of attempts at this,
> but havn't managed to get something reliable (although now
> irritatingly infrequent -- about 1 in 500).
>
> I have further patches to further optimize barriers, and to
> generate load-acquire/store-release instructions in tcg.
> But it's late in the release cycle, etc etc.
>
> I've done nothing to measure the performance impact of this.
> I quit the cdtom-test cycle after 4000 passes.
>
>
> r~
>
>
> Richard Henderson (5):
> tcg: Decode the operand to INDEX_op_mb in dumps
> tcg: Do not elide memory barriers for CF_PARALLEL
> tcg: Elide memory barriers implied by the host memory model
> tcg: Create tcg_req_mo
> tcg: Add host memory barriers to cpu_ldst.h interfaces
>
> include/exec/cpu_ldst.h | 7 ++++
> include/tcg/tcg.h | 20 +++++++++++
> accel/tcg/cputlb.c | 2 ++
> accel/tcg/tcg-all.c | 6 +---
> accel/tcg/user-exec.c | 17 +++++++++
> tcg/tcg-op.c | 19 +++++-----
> tcg/tcg.c | 79 +++++++++++++++++++++++++++++++++++++++++
> 7 files changed, 137 insertions(+), 13 deletions(-)
>
prev parent reply other threads:[~2021-06-26 6:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 22:07 [PATCH 0/5] tcg: Issue memory barriers for guest memory model Richard Henderson
2021-03-16 22:07 ` [PATCH 1/5] tcg: Decode the operand to INDEX_op_mb in dumps Richard Henderson
2021-03-17 13:32 ` Philippe Mathieu-Daudé
2021-03-16 22:07 ` [PATCH 2/5] tcg: Do not elide memory barriers for CF_PARALLEL Richard Henderson
2021-03-16 22:07 ` [PATCH 3/5] tcg: Elide memory barriers implied by the host memory model Richard Henderson
2021-03-16 22:07 ` [PATCH 4/5] tcg: Create tcg_req_mo Richard Henderson
2021-03-16 22:07 ` [PATCH 5/5] tcg: Add host memory barriers to cpu_ldst.h interfaces Richard Henderson
2021-03-16 22:30 ` [PATCH 0/5] tcg: Issue memory barriers for guest memory model no-reply
2021-06-26 6:06 ` Richard Henderson [this message]
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=90884d4e-f057-5035-b21c-653ce6203a81@linaro.org \
--to=richard.henderson@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.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).