Skip to content

ppc: move the interrupt presenters under the CPU machine_data

Cédric Le Goater qemu-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4xive: add a get_tctx() method to the XiveRouterhw/intc/spapr_xive.c hw/intc/xive.c include/hw/ppc/xive.h+47 -342 replies
2/4ppc/pnv: introduce a CPU machine_datahw/ppc/pnv.c hw/ppc/pnv_core.c include/hw/ppc/pnv_core.h+24 -42 replies
3/4spapr: move the interrupt presenters under machine_datahw/intc/spapr_xive.c hw/intc/xics_spapr.c hw/ppc/spapr.c +3 more+25 -182 replies
4/4ppc: remove the interrupt presenters from under PowerPCCPUtarget/ppc/cpu.h+0 -95 replies

Reviews trailers per patch

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

PatchGreg Kurz
1/4R-b
2/4R-b
3/4R-b
4/4R-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 [Qemu-devel] [PATCH 0/4] ppc: move the interrupt presenters under the CPU machine_data

Hello,

Currently the interrupt presenters of the sPAPR and PowerNV machines are stored directly under PowerPCCPU which can be problematic as this model is shared by all PPC machines.

The following patches move the interrupt presenters under the CPU machine_data pointer which is a private field of the CPU that the machine can use of its own needs.

To be applied on top of Thomas -std=gnu99 patchset.

Thanks,

C.

Cédric Le Goater (4):
xive: add a get_tctx() method to the XiveRouter ppc/pnv: introduce a CPU machine_data
spapr: move the interrupt presenters under machine_data
ppc: remove the interrupt presenters from under PowerPCCPU

 include/hw/ppc/pnv_core.h       |  9 ++++++
 include/hw/ppc/spapr_cpu_core.h |  2 ++
 include/hw/ppc/xive.h           | 57 +++++++++++++++++----------------
 target/ppc/cpu.h                |  9 ------
 hw/intc/spapr_xive.c            |  9 ++++++
 hw/intc/xics_spapr.c            | 11 ++++---
 hw/intc/xive.c                  | 16 +++++----
 hw/ppc/pnv.c                    |  7 ++--
 hw/ppc/pnv_core.c               | 12 ++++++-
 hw/ppc/spapr.c                  |  2 +-
 hw/ppc/spapr_cpu_core.c         |  8 ++---
 hw/ppc/spapr_irq.c              | 17 ++++++----
 12 files changed, 95 insertions(+), 64 deletions(-)
Signature · 1 line
2.20.1