From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Tjernlund Date: Mon, 28 Aug 2017 16:48:29 +0000 Subject: [U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up Message-ID: <1503938907.4350.28.camel@infinera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.