qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/10] ppc/pnv: remove the use of qdev_get_machine() and get_syst


From: Cédric Le Goater
Subject: [PATCH 00/10] ppc/pnv: remove the use of qdev_get_machine() and get_system_memory()
Date: Thu, 19 Dec 2019 08:29:51 +0100

Hello,

The PowerNV and sPAPR machine use qdev_get_machine() and
get_system_memory() in some places. This is not a good modeling
pratice and it should be avoided. This series replaces the uses of
these routines with a set of QOM properties and aliases.

The work is mostly complete. We still need to link the XiveTCTX to its
XiveRouter or XivePresenter under the sPAPR machine.

Thanks,

C.

Cédric Le Goater (4):
  ppc/pnv: Modify the powerdown notifier to get the PowerNV machine
  ppc/pnv: Introduce a "system-memory" property
  ppc/pnv: Introduce a "xics" property alias under the PSI model
  ppc/pnv: Introduce a "xics" property under the POWER8 chip

Greg Kurz (6):
  spapr/xive: Use device_class_set_parent_realize()
  pnv/xive: Use device_class_set_parent_realize()
  spapr, pnv, xive: Add a "xive-fabric" link to the XIVE router
  xive: Use the XIVE fabric link under the XIVE router
  ppc/pnv: Add an "nr-threads" property to the base chip class
  ppc/pnv: Add a "pnor" const link property to the BMC internal
    simulator

 include/hw/ppc/pnv.h        |  7 +++-
 include/hw/ppc/pnv_psi.h    |  1 +
 include/hw/ppc/pnv_xive.h   | 12 ++++++
 include/hw/ppc/spapr_xive.h | 10 +++++
 include/hw/ppc/xive.h       |  5 ++-
 hw/intc/pnv_xive.c          | 15 +++++++-
 hw/intc/spapr_xive.c        | 12 +++++-
 hw/intc/xive.c              | 22 +++++++++--
 hw/ppc/pnv.c                | 75 ++++++++++++++++++++++++++++---------
 hw/ppc/pnv_bmc.c            |  8 ++--
 hw/ppc/pnv_psi.c            | 22 +++++------
 hw/ppc/spapr_irq.c          |  2 +
 12 files changed, 151 insertions(+), 40 deletions(-)

-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]