[PATCH 0/7] target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h'

Philippe Mathieu-Daudé posted 7 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231013125630.95116-1-philmd@linaro.org
Maintainers: Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>
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(-)
[PATCH 0/7] target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h'
Posted by Philippe Mathieu-Daudé 7 months ago
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/20231010092901.99189-1-philmd@linaro.org/

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(-)

-- 
2.41.0