core/pci: Update PCI topology after power change
core/pci: Update PCI topology after power change

When OPAL_SUCCESS is returned from slot->ops.set_power_state(),
we need update the PCI toplogy accordingly. This scenario can
happen when builtin power control functionality is ignored to
accomodate PCI surprise hotplug or not supported at all by the
hardware.

Signed-off-by: Gavin Shan <0398910e4f4970259b451f0f9d0686cc5e961b81@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <efc2d7c347a094a6ec1d918179e819039044c564@au1.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

shenki/skiboot,shenki/skiboot,mikey/skiboot,mikey/skiboot,qemu/skiboot,legoater/skiboot,stewart-ibm/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,qemu/skiboot,open-power/skiboot,stewart-ibm/skiboot,shenki/skiboot,open-power/skiboot,open-power/skiboot,qemu/skiboot,mikey/skiboot,legoater/skiboot,shenki/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,stewart-ibm/skiboot,legoater/skiboot