Skip to content

target/ppc: Fixes and updates for sync instructions

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc: Move sync instructions to decodetreetarget/ppc/insn32.decode target/ppc/translate.c target/ppc/translate/misc-impl.c.inc+144 -1001 reply
2/3target/ppc: Fix embedded memory barrierstarget/ppc/translate/misc-impl.c.inc+2 -21 reply
3/3target/ppc: Add ISA v3.1 variants of sync instructiontarget/ppc/insn32.decode target/ppc/translate/misc-impl.c.inc+32 -151 reply

Reviews trailers per patch

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

PatchChinmay Rath
1/3R-b
2/3R-b
3/3R-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/3] target/ppc: Fixes and updates for sync instructions

I forgot I needed to do this, I tried adding new POWER10 sync instructions to the kernel and patch got nacked because it crashed with TCG.

Unfortuantely I don't think our old decoder does a great job with handling reserved bits like this, but decodetree makes this kind of thing much easier.

I'll probably add at least patch 1 to -stable, so the Linux changes can be upstreamed a bit sooner.

Thanks,
Nick

Nicholas Piggin (3):
target/ppc: Move sync instructions to decodetree target/ppc: Fix embedded memory barriers target/ppc: Add ISA v3.1 variants of sync instruction

 target/ppc/insn32.decode             |   7 ++
 target/ppc/translate.c               | 102 +-----------------
 target/ppc/translate/misc-impl.c.inc | 152 +++++++++++++++++++++++++++
 3 files changed, 161 insertions(+), 100 deletions(-)
 create mode 100644 target/ppc/translate/misc-impl.c.inc
Signature · 1 line
2.43.0