Skip to content

ppc: improve some memory ordering issues

Nicholas Piggin qemu-devel 1 version Applied

Status from this message: Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4target/ppc: Fix eieio memory ordering semanticstarget/ppc/translate.c+26 -11 reply
2/4tcg/ppc: ST_ST memory ordering is not provided with eieiotcg/ppc/tcg-target.c.inc+0 -20 replies
3/4tcg/ppc: Optimize memory ordering generation with lwsynctcg/ppc/tcg-target.c.inc+6 -31 reply
4/4target/ppc: Implement lwsync with weaker memory orderingtarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/machine.c +1 more+19 -91 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonNicholas Piggin
1/4R-b
2/4R-b Signed-of-by
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ppc: improve some memory ordering issues

Since RFC[*], this fixes a compile issue noticed by Richard, and has survived some basic stressing with mttcg.

Thanks,
Nick

[*] https://lists.nongnu.org/archive/html/qemu-ppc/2022-05/msg00046.html

Nicholas Piggin (4):
target/ppc: Fix eieio memory ordering semantics tcg/ppc: ST_ST memory ordering is not provided with eieio tcg/ppc: Optimize memory ordering generation with lwsync target/ppc: Implement lwsync with weaker memory ordering

 target/ppc/cpu.h         |  4 +++-
 target/ppc/cpu_init.c    | 13 +++++++------
 target/ppc/machine.c     |  3 ++-
 target/ppc/translate.c   | 35 +++++++++++++++++++++++++++++++++--
 tcg/ppc/tcg-target.c.inc | 11 ++++++-----
 5 files changed, 51 insertions(+), 15 deletions(-)
Signature · 1 line
2.35.1