Message ID | 20181107005236.30971-1-oohall@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | phb4_creset: Skip the freset presence detect check | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/make_check | success | Test make_check on branch master |
diff --git a/hw/phb4.c b/hw/phb4.c index 49ce1cdfd959..2de7c71ba353 100644 --- a/hw/phb4.c +++ b/hw/phb4.c @@ -3264,7 +3264,8 @@ static int64_t phb4_creset(struct pci_slot *slot) pci_slot_set_state(slot, PHB4_SLOT_CRESET_FRESET); return pci_slot_set_sm_timeout(slot, msecs_to_tb(100)); case PHB4_SLOT_CRESET_FRESET: - pci_slot_set_state(slot, PHB4_SLOT_NORMAL); + pci_slot_set_state(slot, PHB4_SLOT_FRESET_START); + return slot->ops.freset(slot); default: PHBERR(p, "CRESET: Unexpected slot state %08x, resetting...\n",