Skip to content

target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h'

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/ppc/spapr: Restrict PPCTimebase structure declaration to sPAPRhw/ppc/ppc.c hw/ppc/spapr.c include/hw/ppc/spapr.h +1 more+122 -1295 replies
2/7target/ppc: Define powerpc_pm_insn_t in 'internal.h'target/ppc/cpu-qom.h target/ppc/internal.h+9 -102 replies
3/7target/ppc: Move ppc_cpu_class_by_name() declaration to 'cpu.h'target/ppc/cpu-qom.h target/ppc/cpu.h+1 -22 replies
4/7target/ppc: Move PowerPCCPUClass definition to 'cpu.h'include/hw/ppc/ppc.h target/ppc/cpu-qom.h target/ppc/cpu.h+52 -571 reply
5/7target/ppc: Move powerpc_excp_t definition to 'cpu.h'target/ppc/cpu-qom.h target/ppc/cpu.h+27 -292 replies
6/7target/ppc: Move powerpc_mmu_t definition to 'cpu.h'target/ppc/cpu-qom.h target/ppc/cpu.h+42 -432 replies
7/7target/ppc: Move powerpc_input_t definition to 'cpu.h'target/ppc/cpu-qom.h target/ppc/cpu.h+20 -212 replies

Reviews trailers per patch

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

PatchRichard HendersonCédric Le Goater
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-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/7] target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h'

Hi,

I'm going to post a v2 of "target: Make 'cpu-qom.h' really target agnostic" [*]. Since the series is already big enough, I extracted the PPC specific patches in their own preliminary series.

In short, "cpu-qom.h" exposes QOM definitions and must be target agnostic. This series moves the PPC specific definitions to target/ppc/cpu.h.

Please review,

Phil.

[*] https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (7):
hw/ppc/spapr: Restrict PPCTimebase structure declaration to sPAPR target/ppc: Define powerpc_pm_insn_t in 'internal.h' target/ppc: Move ppc_cpu_class_by_name() declaration to 'cpu.h' target/ppc: Move PowerPCCPUClass definition to 'cpu.h' target/ppc: Move powerpc_excp_t definition to 'cpu.h' target/ppc: Move powerpc_mmu_t definition to 'cpu.h' target/ppc: Move powerpc_input_t definition to 'cpu.h'

 include/hw/ppc/ppc.h   |   2 +-
 include/hw/ppc/spapr.h |   6 ++
 target/ppc/cpu-qom.h   | 183 -----------------------------------------
 target/ppc/cpu.h       | 141 +++++++++++++++++++++++++++++++
 target/ppc/internal.h  |   9 ++
 hw/ppc/ppc.c           | 107 ------------------------
 hw/ppc/spapr.c         | 116 ++++++++++++++++++++++++++
 7 files changed, 273 insertions(+), 291 deletions(-)
Signature · 1 line
2.41.0