[U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up

York Sun york.sun at nxp.com
Mon Aug 28 16:55:06 UTC 2017


On 08/28/2017 09:48 AM, Joakim Tjernlund wrote:
> FSL PCIe controller drivers before REV 3 has this test for link up:
>    enabled = ltssm >= PCI_LTSSM_L0;
> 
> We have a PCIe dev. that stays in LTSSM=0x51 (Polling Compliance) when non ready
> for PCI transaktions. When FSL PCIe controller tries to access this device, it
> hangs forever.
> 
> Is LTSSM=0x51 really a "legal" state for link up?
> If not, what is a suitable range(maybe LO <= ltssm <= L0s(0x27)) ?
> 
>   Jocke
> 
> BTW, the same test is valid in Linux too.
> 

Jocke,

I am not an expert on PCIe. Please if this thread is helpful, 
http://patchwork.ozlabs.org/patch/801519/.

York





More information about the U-Boot mailing list