OSDN Git Service

pseries: Move construction of /interrupt-controller fdt node
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Oct 2016 05:07:56 +0000 (16:07 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:38:26 +0000 (09:38 +1100)
commit9b9a19080a6e548b91420ce7925f2ac81ef63ae8
tree13eb07b4184a9e733f22751e5c53b2d9f2d5fab4
parent2cac78c12ade9a87b6251f8d854c2e43a30f41bf
pseries: Move construction of /interrupt-controller fdt node

Currently the device tree node for the XICS interrupt controller is in
spapr_create_fdt_skel().  As part of consolidating device tree construction
to reset time, this moves it to a function called from spapr_build_fdt().

In addition we move the actual code into hw/intc/xics_spapr.c with the
rest of the PAPR specific interrupt controller code.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/intc/xics_spapr.c
hw/ppc/spapr.c
include/hw/ppc/xics.h