Skip to content

target/ppc: CPU families split

Fabiano Rosas qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17target/ppc: Add a tracepoint for System Callstarget/ppc/excp_helper.c target/ppc/trace-events target/ppc/trace.h+27 -460 replies
2/17target/ppc: Use trace-events instead of CPU_LOG_INTtarget/ppc/excp_helper.c target/ppc/misc_helper.c target/ppc/trace-events+10 -50 replies
3/17target/ppc: Move 40x CPUs code to their own filetarget/ppc/cpu_40x.c target/ppc/cpu_init.c target/ppc/meson.build+264 -2502 replies
4/17target/ppc: Move 6xx CPUs code to their own filetarget/ppc/cpu_6xx.c target/ppc/cpu_init.c target/ppc/meson.build+1147 -11290 replies
5/17target/ppc: Move 7xx CPUs code to their own filetarget/ppc/cpu_7xx.c target/ppc/cpu_init.c target/ppc/meson.build+897 -8730 replies
6/17target/ppc: Move 74xx CPUs code to their own filetarget/ppc/cpu_74xx.c target/ppc/cpu_init.c target/ppc/meson.build+1168 -11360 replies
7/17target/ppc: Move BookE CPUs code to their own filetarget/ppc/cpu_booke.c target/ppc/cpu_init.c target/ppc/meson.build+1423 -14100 replies
8/17target/ppc: Move BookS CPUs to their own filetarget/ppc/cpu_books.c target/ppc/cpu_init.c target/ppc/meson.build+1771 -17610 replies
9/17target/ppc: Remove leftover comments from cpu_inittarget/ppc/cpu_init.c+0 -340 replies
10/17target/ppc: Expose some excp_helper functionstarget/ppc/cpu.h target/ppc/excp_helper.c+9 -40 replies
11/17target/ppc: Move powerpc_excp_40x into cpu_40x.ctarget/ppc/cpu.h target/ppc/cpu_40x.c target/ppc/excp_helper.c+150 -1390 replies
12/17target/ppc: Move powerpc_excp_6xx into cpu_6xx.ctarget/ppc/cpu.h target/ppc/cpu_6xx.c target/ppc/excp_helper.c+190 -1770 replies
13/17target/ppc: Move powerpc_excp_7xx into cpu_7xx.ctarget/ppc/cpu.h target/ppc/cpu_7xx.c target/ppc/excp_helper.c+193 -1820 replies
14/17target/ppc: Move powerpc_excp_74xx into cpu_74xx.ctarget/ppc/cpu.h target/ppc/cpu_74xx.c target/ppc/excp_helper.c+185 -1740 replies
15/17target/ppc: Move powerpc_excp_booke into cpu_booke.ctarget/ppc/cpu.h target/ppc/cpu_booke.c target/ppc/excp_helper.c+216 -2050 replies
16/17target/ppc: Move powerpc_excp_books into cpu_books.ctarget/ppc/cpu.h target/ppc/cpu_books.c target/ppc/excp_helper.c+527 -5300 replies
17/17target/ppc: Move powerpc_excp* to the PowerPCCPU Classtarget/ppc/cpu-qom.h target/ppc/cpu.h target/ppc/cpu_40x.c +6 more+57 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] target/ppc: CPU families split

This series introduces 6 new files, one for each big CPU family and moves most the specific code from cpu_init and excp_helper into these files.

We're left with cpu_init containing only generic CPU initialization routines and QOM-related functions.

The excp_helper file still needs more work but we're close to having only TCG-specific code in it, as the file name implies. I left this for the next series.

Based on legoater/ppc-7.0

Fabiano Rosas (17):
target/ppc: Add a tracepoint for System Calls target/ppc: Use trace-events instead of CPU_LOG_INT target/ppc: Move 40x CPUs code to their own file target/ppc: Move 6xx CPUs code to their own file target/ppc: Move 7xx CPUs code to their own file target/ppc: Move 74xx CPUs code to their own file target/ppc: Move BookE CPUs code to their own file target/ppc: Move BookS CPUs to their own file target/ppc: Remove leftover comments from cpu_init target/ppc: Expose some excp_helper functions target/ppc: Move powerpc_excp_40x into cpu_40x.c target/ppc: Move powerpc_excp_6xx into cpu_6xx.c target/ppc: Move powerpc_excp_7xx into cpu_7xx.c target/ppc: Move powerpc_excp_74xx into cpu_74xx.c target/ppc: Move powerpc_excp_booke into cpu_booke.c target/ppc: Move powerpc_excp_books into cpu_books.c target/ppc: Move powerpc_excp* to the PowerPCCPU Class

 target/ppc/cpu-qom.h     |    1 +
 target/ppc/cpu.h         |    6 +
 target/ppc/cpu_40x.c     |  412 +++
 target/ppc/cpu_6xx.c     | 1341 ++++++++
 target/ppc/cpu_74xx.c    | 1358 ++++++++
 target/ppc/cpu_7xx.c     | 1095 +++++++
 target/ppc/cpu_booke.c   | 1647 ++++++++++
 target/ppc/cpu_books.c   | 2299 +++++++++++++
 target/ppc/cpu_init.c    | 6593 --------------------------------------
 target/ppc/excp_helper.c | 1486 +--------
 target/ppc/meson.build   |    6 +
 target/ppc/misc_helper.c |    4 +-
 target/ppc/trace-events  |    4 +
 target/ppc/trace.h       |   18 +
 14 files changed, 8202 insertions(+), 8068 deletions(-)
 create mode 100644 target/ppc/cpu_40x.c
 create mode 100644 target/ppc/cpu_6xx.c
 create mode 100644 target/ppc/cpu_74xx.c
 create mode 100644 target/ppc/cpu_7xx.c
 create mode 100644 target/ppc/cpu_booke.c
 create mode 100644 target/ppc/cpu_books.c
Signature · 1 line
2.34.1