Fixing PCIe issues on Armada XP
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Tue Apr 22 10:56:05 PDT 2014
> mvebu-pcie pcie-controller.2: PCIe0.0: performing link reset
> mvebu-pcie pcie-controller.2: PCIe0.0: link went down after 20 tries
> mvebu-pcie pcie-controller.2: PCIe0.0: link came back up after 100 tries
So the '100' here says the timeout expired. My first stab would be to
set the timeout longer.. Maybe your chip takes longer to train the
link.
You also mentioned that setting Conf_TrainingDisable doesn't cause the
link to go down? That would be useful to verify (in a clean
environment without clock gating weirdness..)
> # /usr/sbin/lspci
> 00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6710
> 00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6710
I'm guessing:
echo 1 > /sys/bus/pci/rescan
Will make it appear?
Jason
More information about the linux-arm-kernel
mailing list