[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 00/13] pseries: Consolidate guest device tree construc
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCH 00/13] pseries: Consolidate guest device tree construction |
Date: |
Thu, 20 Oct 2016 16:11:57 +1100 |
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.
David Gibson (13):
pseries: Remove unused callbacks from sPAPR VIO bus state
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
spapr: Move construction of /interrupt-controller fdt node
spapr: Consolidate construction of /chosen device tree node
pseries: Consolidate construction of /rtas device tree node
spapr: Move /event-sources construction to spapr_build_fdt()
spapr: Move /hypervisor node construction to fdt_build_fdt()
spapr: Consolidate construction of /vdevice device tree node
spapr: Remove spapr_create_fdt_skel()
hw/intc/xics_spapr.c | 22 ++
hw/ppc/spapr.c | 559 +++++++++++++++++++++------------------------
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 | 6 +-
include/hw/ppc/xics.h | 1 +
8 files changed, 360 insertions(+), 392 deletions(-)
--
2.7.4
- [Qemu-ppc] [PATCH 00/13] pseries: Consolidate guest device tree construction,
David Gibson <=
- [Qemu-ppc] [PATCH 01/13] pseries: Remove unused callbacks from sPAPR VIO bus state, David Gibson, 2016/10/20
- [Qemu-ppc] [PATCH 03/13] pseries: Remove rtas_addr and fdt_addr fields from machinestate, David Gibson, 2016/10/20
- [Qemu-ppc] [PATCH 02/13] pseries: Split device tree construction from device tree load, David Gibson, 2016/10/20
- [Qemu-ppc] [PATCH 06/13] pseries: Consolidate RTAS loading, David Gibson, 2016/10/20
- [Qemu-ppc] [PATCH 04/13] pseries: Make spapr_create_fdt_skel() get information from machine state, David Gibson, 2016/10/20
- [Qemu-ppc] [PATCH 05/13] pseries: Move adding of fdt reserve map entries, David Gibson, 2016/10/20