Thread (15 messages) 15 messages, 7 authors, 2017-04-09

[PATCH v3 0/2] Tango PCIe controller support

From: Mason <hidden>
Date: 2017-03-30 20:57:32
Also in: linux-pci, lkml

On 29/03/2017 13:11, Marc Gonzalez wrote:
  PCI: Add tango MSI controller support
  PCI: Add tango PCIe host bridge support
I've run into an issue.

If I boot the system with earlyprintk enabled (as I've
been doing throughout my dev), things work as expected.

But if I boot with earlyprintk disabled, then the system
does not "see" the PCIe board, because reading the vendor
ID returns 0xffffffff.

What we think is happening, is that when earlyprintk is
disabled, the system proceeds much faster through the
various inits, and the PCIe init happens when PCIe
link training has not completed yet.

If that is the case, then it seems I would need to check
the link state in my probe function.

Or would there be some other solution I haven't thought
about?

Regards.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help