summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/pcie-slot.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/pcie-slot.c b/core/pcie-slot.c
index 8696129f..e7013d1e 100644
--- a/core/pcie-slot.c
+++ b/core/pcie-slot.c
@@ -234,10 +234,11 @@ static int64_t pcie_slot_set_power_state_ext(struct pci_slot *slot, uint8_t val,
if (val == PCI_SLOT_POWER_OFF)
return OPAL_SUCCESS;
- if (!pci_slot_has_flags(slot, PCI_SLOT_FLAG_FORCE_POWERON)) {
- pci_slot_set_state(slot, PCI_SLOT_STATE_SPOWER_DONE);
- return OPAL_ASYNC_COMPLETION;
- }
+ /*
+ * Some systems have the slot power disabled by default
+ * so we always perform the power-on step. This is not
+ * *strictly* required, but it's probably a good idea.
+ */
}
pci_slot_set_state(slot, PCI_SLOT_STATE_SPOWER_START);
OpenPOWER on IntegriCloud