tile PCI RC: handle case that PCI link is already up
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 2 Aug 2013 15:56:44 +0000 (11:56 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 5 Aug 2013 20:13:08 +0000 (16:13 -0400)
commit26cde05a2cb7d4c0f4cd1d4aeeadc2939c972786
tree889f4d44329ce9125cee94f01d7ab07a25ca699a
parentb3ad73a33ebfd585b3ab551a9fc65d684b82adc3
tile PCI RC: handle case that PCI link is already up

If we are rebooting (e.g. via kexec) then the PCI RC link may
already be up.  In that case, we don't want to do the software
fixup to force the link up, since that can degrade it to Gen1.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c