<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446451#M68867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing 99% the same issue. We're just using a wifi module on the pcie.&lt;/P&gt;&lt;P&gt;Has this ever been looked at?&lt;/P&gt;&lt;P&gt;What caused this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 13:44:44 GMT</pubDate>
    <dc:creator>mathieuslabbinc</dc:creator>
    <dc:date>2016-02-08T13:44:44Z</dc:date>
    <item>
      <title>i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446449#M68865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using imx6Q custom platform based on sabresd platform.&amp;nbsp; For our development we are using Linux 3.14.28_1.0.0-GA BSP but initially we used Linux 3.10.53_1.0.0-GA BSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have seen&amp;nbsp; that the pcie driver file is updated in&amp;nbsp; Linux 3.14.28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem we are facing is,&amp;nbsp; we have a PCIe device which is SSD SATA.&lt;/P&gt;&lt;P&gt;With Linux 3.14.28_1.0.0-GA BSP, the PCIe-SATA is not getting detected and it is showing below error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6q-pcie 1ffc000.pcie: phy link never came up&lt;/P&gt;&lt;P&gt;imx6q-pcie 1ffc000.pcie: Failed to bring link up!&lt;/P&gt;&lt;P&gt;imx6q-pcie 1ffc000.pcie: failed to initialize host&lt;/P&gt;&lt;P&gt;imx6q-pcie: probe of 1ffc000.pcie failed with error -22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Linux 3.10.53_1.0.0-GA BSP, the same PCIe-SATA is getting detected and mounted as block device.&lt;/P&gt;&lt;P&gt;Here we have not changed any hardware.&amp;nbsp; We just replaced the booting SD card which contains Linux 3.10.53_1.0.0-GA BSP binaries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, ,&amp;nbsp; we have checked with several PCIe devices (network PCIe devices) with Linux 3.14.28_1.0.0-GA BSP.&amp;nbsp; Only some of the PCIe devices are getting detected.&lt;/P&gt;&lt;P&gt;Please note that, all the devices are getting detected in the Linux 3.10.53_1.0.0-GA BSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help us to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ansari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 16:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446449#M68865</guid>
      <dc:creator>Ansari</dc:creator>
      <dc:date>2015-05-19T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446450#M68866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I have forwarded request to the team.&lt;/P&gt;&lt;P&gt;Hope they help soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 06:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446450#M68866</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-05-26T06:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446451#M68867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing 99% the same issue. We're just using a wifi module on the pcie.&lt;/P&gt;&lt;P&gt;Has this ever been looked at?&lt;/P&gt;&lt;P&gt;What caused this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 13:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446451#M68867</guid>
      <dc:creator>mathieuslabbinc</dc:creator>
      <dc:date>2016-02-08T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446452#M68868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the following discussion &lt;A href="https://community.nxp.com/message/537250"&gt;Re: PCIe, diagnosing and improving eye diagram&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Also, please try adjust parameters of PCIe_PHY&amp;nbsp; by changing the IOMUXC_GPR8 register.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;You may refer to app note &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.nxp.com/files/32bit/doc/app_note/AN4784.pdf" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #017bba;"&gt;http://cache.nxp.com/files/32bit/doc/app_note/AN4784.pdf&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446452#M68868</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-10T02:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 - PCIe not detecting some devices in Linux 3.14.28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446453#M68869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Dear Mathieu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; We have fixed the issue with below change and we are able to detect &lt;/P&gt;&lt;P&gt;&amp;nbsp; all devices which we have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We would like to know, why the below usleep delay removed in the &lt;/P&gt;&lt;P&gt;&amp;nbsp; 3.14.28 kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "usleep_range(100, 1000)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; diff a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; --- a/drivers/pci/host/pci-imx6.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; +++ b/drivers/pci/host/pci-imx6.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; static int imx6_pcie_wait_for_link(struct pcie_port *pp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int count = 200;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!dw_pcie_link_up(pp)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; udelay(100);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; +&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; usleep_range(100, 1000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (--count)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev_err(pp-&amp;gt;dev, "phy link never came up\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Regards,&lt;/P&gt;&lt;P&gt; Ansari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 05:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-not-detecting-some-devices-in-Linux-3-14-28/m-p/446453#M68869</guid>
      <dc:creator>Ansari</dc:creator>
      <dc:date>2016-02-12T05:32:43Z</dc:date>
    </item>
  </channel>
</rss>

