qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com
Subject: [PATCH v2 0/5] tcg: Issue memory barriers for guest memory model
Date: Sun,  5 Mar 2023 17:57:05 -0800	[thread overview]
Message-ID: <20230306015710.1868853-1-richard.henderson@linaro.org> (raw)

Version 1 was very nearly 2 years ago:
https://lore.kernel.org/qemu-devel/20210316220735.2048137-1-richard.henderson@linaro.org/

I didn't persue it at the time because at the time it didn't actually
fix the s390x-on-aarch64 problems.  I'm re-posting this now because
of Paolo's "missing barriers on ARM" patch set.

It was never very easy to trigger the s390x problem, but with the two
patch sets I've been unable to do so all day.



r~


Richard Henderson (5):
  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
  accel/tcg: Remove check_tcg_memory_orders_compatible

 include/tcg/tcg.h     | 34 ++++++++++++++++++++++++++++++++++
 accel/tcg/cputlb.c    |  2 ++
 accel/tcg/tcg-all.c   | 38 ++++++++------------------------------
 accel/tcg/user-exec.c | 14 ++++++++++++++
 tcg/tcg-op.c          | 19 +++++++++++--------
 5 files changed, 69 insertions(+), 38 deletions(-)

-- 
2.34.1



             reply	other threads:[~2023-03-06  1:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06  1:57 Richard Henderson [this message]
2023-03-06  1:57 ` [PATCH v2 1/5] tcg: Do not elide memory barriers for !CF_PARALLEL Richard Henderson
2023-03-06  7:21   ` Philippe Mathieu-Daudé
2023-03-06  1:57 ` [PATCH v2 2/5] tcg: Elide memory barriers implied by the host memory model Richard Henderson
2023-03-06  7:10   ` Philippe Mathieu-Daudé
2023-03-06  1:57 ` [PATCH v2 3/5] tcg: Create tcg_req_mo Richard Henderson
2023-03-06  7:14   ` Philippe Mathieu-Daudé
2023-03-06  1:57 ` [PATCH v2 4/5] tcg: Add host memory barriers to cpu_ldst.h interfaces Richard Henderson
2023-03-06  1:57 ` [PATCH v2 5/5] accel/tcg: Remove check_tcg_memory_orders_compatible Richard Henderson
2023-03-06  7:20   ` Philippe Mathieu-Daudé

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=20230306015710.1868853-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=pbonzini@redhat.com \
    --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).