We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f08739 commit 1541a21Copy full SHA for 1541a21
arch/powerpc/kernel/eeh_pe.c
@@ -671,9 +671,8 @@ static void eeh_bridge_check_link(struct eeh_dev *edev)
671
eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val);
672
673
/* Check link */
674
- eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val);
675
- if (!(val & PCI_EXP_LNKCAP_DLLLARC)) {
676
- eeh_edev_dbg(edev, "No link reporting capability (0x%08x) \n", val);
+ if (!edev->pdev->link_active_reporting) {
+ eeh_edev_dbg(edev, "No link reporting capability\n");
677
msleep(1000);
678
return;
679
}
0 commit comments