spapr_rtas: add get/set-power-level RTAS interfaces
commit094d20585ecdcd31959b1b88a390b4d2c4cfeab7
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Thu, 7 May 2015 05:33:44 +0000 (7 15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:52 +0000 (3 23:56 +0200)
tree6e7a5844efa00990844d6fb8f71e94f1edd116ee
parentbbf5c878ab76a74f6277f99082c77bbdb1ad4c5b
spapr_rtas: add get/set-power-level RTAS interfaces

These interfaces manage the power domains that guest devices are
assigned to and are used to power on/off devices. Currently we
only utilize 1 power domain, the 'live-insertion' domain, which
automates power management of plugged/unplugged devices, essentially
making these calls no-ops, but the RTAS interfaces are still required
by guest hotplug code and PAPR+.

See docs/specs/ppc-spapr-hotplug.txt for a complete description of
these interfaces.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_rtas.c