PCI/AER: Reset link for devices below Root Port or Downstream Port
authorBetty Dall <betty.dall@hp.com>
Thu, 6 Jun 2013 18:10:51 +0000 (12:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Jun 2013 21:00:04 +0000 (15:00 -0600)
commit081d0fe0ef60c258b67428a8fdf2d14f8ce392ef
treed5a9566d1ae7cedcef0c8599edac890076aaa409
parent0ba98ec9196746dd6abfa7bb9856ef4f29ffb9be
PCI/AER: Reset link for devices below Root Port or Downstream Port

When a PCIe device reports a fatal error, we reset the link leading
to it.  Previously we only did this for devices below Downstream Ports,
not for devices directly below Root Ports.

This patch changes that so we reset the link leading to devices below
Root Ports just like we do for those below Downstream Ports.

[bhelgaas: changelog, keep dev_printk(KERN_DEBUG)]
Signed-off-by: Betty Dall <betty.dall@hp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv_core.c