|
@@ -1061,6 +1061,9 @@ void eeh_add_device_early(struct pci_dn *pdn)
|
|
|
if (!edev || !eeh_enabled())
|
|
|
return;
|
|
|
|
|
|
+ if (!eeh_has_flag(EEH_PROBE_MODE_DEVTREE))
|
|
|
+ return;
|
|
|
+
|
|
|
/* USB Bus children of PCI devices will not have BUID's */
|
|
|
phb = edev->phb;
|
|
|
if (NULL == phb ||
|
|
@@ -1115,6 +1118,9 @@ void eeh_add_device_late(struct pci_dev *dev)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (eeh_has_flag(EEH_PROBE_MODE_DEV))
|
|
|
+ eeh_ops->probe(pdn, NULL);
|
|
|
+
|
|
|
/*
|
|
|
* The EEH cache might not be removed correctly because of
|
|
|
* unbalanced kref to the device during unplug time, which
|