All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv3 00/12] pseries: Consolidate guest device tree construction
@ 2016-10-24  5:04 David Gibson
  2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 01/12] pseries: Split device tree construction from device tree load David Gibson
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: David Gibson @ 2016-10-24  5:04 UTC (permalink / raw)
  To: aik, mdroth, groug
  Cc: agraf, lvivier, thuth, qemu-ppc, qemu-devel, David Gibson

For historical reasons construction of the guest device tree in spapr
is divided between spapr_create_fdt_skel() which is called at init
time, and spapr_build_fdt() which runs at reset time.  Over time, more
and more things have needed to be moved to reset time.

This series consolidates all the device tree construction to reset
time, with some minor cleanups along the way.  This will help to make
it more maintainable in future.

Changes since v2:
  * Removed a leftover reference to a variable called 'stdout',
    shadowing the standard library stdout
Changes since v1:
  * Fixed a memory leak introduced by 1/12 (spotted by Thomas Huth)
  * Removed one patch that's already merged in ppc-for-2.8

David Gibson (12):
  pseries: Split device tree construction from device tree load
  pseries: Remove rtas_addr and fdt_addr fields from machinestate
  pseries: Make spapr_create_fdt_skel() get information from machine
    state
  pseries: Move adding of fdt reserve map entries
  pseries: Consolidate RTAS loading
  pseries: Move construction of /interrupt-controller fdt node
  pseries: Consolidate construction of /chosen device tree node
  pseries: Consolidate construction of /rtas device tree node
  pseries: Move /event-sources construction to spapr_build_fdt()
  pseries: Move /hypervisor node construction to fdt_build_fdt()
  pseries: Consolidate construction of /vdevice device tree node
  pseries: Remove spapr_create_fdt_skel()

 hw/intc/xics_spapr.c       |  22 ++
 hw/ppc/spapr.c             | 560 +++++++++++++++++++++------------------------
 hw/ppc/spapr_events.c      |  21 +-
 hw/ppc/spapr_rtas.c        |  91 +++-----
 hw/ppc/spapr_vio.c         |  40 ++--
 include/hw/ppc/spapr.h     |  12 +-
 include/hw/ppc/spapr_vio.h |   4 +-
 include/hw/ppc/xics.h      |   1 +
 8 files changed, 361 insertions(+), 390 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-10-25  3:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24  5:04 [Qemu-devel] [PATCHv3 00/12] pseries: Consolidate guest device tree construction David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 01/12] pseries: Split device tree construction from device tree load David Gibson
2016-10-24 19:03   ` Michael Roth
2016-10-25  0:57   ` Alexey Kardashevskiy
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 02/12] pseries: Remove rtas_addr and fdt_addr fields from machinestate David Gibson
2016-10-24 19:06   ` Michael Roth
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 03/12] pseries: Make spapr_create_fdt_skel() get information from machine state David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 04/12] pseries: Move adding of fdt reserve map entries David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 05/12] pseries: Consolidate RTAS loading David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 06/12] pseries: Move construction of /interrupt-controller fdt node David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 07/12] pseries: Consolidate construction of /chosen device tree node David Gibson
2016-10-24 19:10   ` Michael Roth
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 08/12] pseries: Consolidate construction of /rtas " David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 09/12] pseries: Move /event-sources construction to spapr_build_fdt() David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 10/12] pseries: Move /hypervisor node construction to fdt_build_fdt() David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 11/12] pseries: Consolidate construction of /vdevice device tree node David Gibson
2016-10-24  5:04 ` [Qemu-devel] [PATCHv3 12/12] pseries: Remove spapr_create_fdt_skel() David Gibson
2016-10-25  2:50 ` [Qemu-devel] [PATCHv3 00/12] pseries: Consolidate guest device tree construction David Gibson
2016-10-25  3:23   ` David Gibson
2016-10-25  3:41     ` Bharata B Rao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.