[Skiboot] [PATCH v11 22/23] core/opal: Extend opal_pci_set_power_state()

Russell Currey ruscur at russell.cc
Thu Jun 2 14:46:34 AEST 2016

On Fri, 2016-05-20 at 16:32 +1000, Gavin Shan wrote:
> The API opal_pci_set_power_state() applied PCI hotplug on target
> slot. The power supply to the slot is changed accordingly. It's
> not the expected behaviour for CAPI developers. They want one
> specific slot offline or online without affecting the power supply.
> This extends opal_pci_set_power_state() to meet the requirement.
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> ---

Having power off/on and offline/online seems very silly, but if CAPI needs it
for some reason...

Reviewed-by: Russell Currey <ruscur at russell.cc>

More information about the Skiboot mailing list