Skip to content

target/ppc: Various TCG emulation patches

Nicholas Piggin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 18 repliesIn review
  2. v114 patches 9 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12target/ppc: Make checkstop actually stop the systemtarget/ppc/excp_helper.c+13 -31 reply
2/12target/ppc: improve checkstop loggingtarget/ppc/excp_helper.c+8 -63 replies
3/12target/ppc: Implement attn instruction on BookS 64-bit processorstarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/excp_helper.c +3 more+130 -94 replies
4/12target/ppc: BookE DECAR SPR is 32-bittarget/ppc/cpu_init.c+1 -11 reply
5/12target/ppc: Wire up BookE ATB registers for e500 familytarget/ppc/cpu_init.c+17 -00 replies
6/12target/ppc: Add PPR32 SPRtarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/spr_common.h +1 more+31 -03 replies
7/12target/ppc: add helper to write per-LPAR SPRstarget/ppc/spr_common.h target/ppc/translate.c+30 -01 reply
8/12target/ppc: Add SMT support to simple SPRstarget/ppc/cpu_init.c+6 -61 reply
9/12target/ppc: Add SMT support to PTCR SPRtarget/ppc/misc_helper.c target/ppc/translate.c+18 -21 reply
10/12target/ppc: Implement LDBAR, TTR SPRstarget/ppc/cpu.h target/ppc/cpu_init.c+12 -01 reply
11/12target/ppc: Implement SPRC/SPRD SPRstarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/helper.h +3 more+105 -21 reply
12/12target/ppc: add SMT support to msgsnd broadcasttarget/ppc/cpu.h target/ppc/excp_helper.c target/ppc/helper.h +1 more+46 -211 reply

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchGlenn MilesRichard Henderson
1/12R-b
2/12R-b R-b
3/12R-b
4/12R-b
5/12
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/12] target/ppc: Various TCG emulation patches

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(-)
Signature · 1 line
2.43.0