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
--
2.43.0