mbox series

[v2,00/12] target/ppc: Various TCG emulation patches

Message ID 20240521013029.30082-1-npiggin@gmail.com
Headers show
Series target/ppc: Various TCG emulation patches | expand

Message

Nicholas Piggin May 21, 2024, 1:30 a.m. UTC
This is a bunch of instruction and register additions, improved SMT
support, etc. for TCG.

Since v1:
- Not reposting the trivial memop patches that got reviews.
- Fix checkstop reason printing (Richard)
- Fix the attn instruction checks (Richard)
- Don't allocate tcg temp before SMT and serialization checks
  in spr_core_write_generic32() (Richard)
- Move attn to decodetree.

Thanks
Nick

Nicholas Piggin (12):
  target/ppc: Make checkstop actually stop the system
  target/ppc: improve checkstop logging
  target/ppc: Implement attn instruction on BookS 64-bit processors
  target/ppc: BookE DECAR SPR is 32-bit
  target/ppc: Wire up BookE ATB registers for e500 family
  target/ppc: Add PPR32 SPR
  target/ppc: add helper to write per-LPAR SPRs
  target/ppc: Add SMT support to simple SPRs
  target/ppc: Add SMT support to PTCR SPR
  target/ppc: Implement LDBAR, TTR SPRs
  target/ppc: Implement SPRC/SPRD SPRs
  target/ppc: add SMT support to msgsnd broadcast

 target/ppc/cpu.h                              |  28 +++-
 target/ppc/helper.h                           |   6 +-
 target/ppc/spr_common.h                       |   7 +
 target/ppc/insn32.decode                      |   4 +
 target/ppc/cpu_init.c                         | 132 +++++++++++++++++-
 target/ppc/excp_helper.c                      | 114 +++++++++++----
 target/ppc/misc_helper.c                      |  82 ++++++++++-
 target/ppc/translate.c                        |  66 +++++++++
 target/ppc/translate/misc-impl.c.inc          |  10 ++
 .../ppc/translate/processor-ctrl-impl.c.inc   |   2 +-
 10 files changed, 409 insertions(+), 42 deletions(-)