<?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>topic Re: Linux iMX6 PCIe driver not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458091#M71679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for prompt answer to my question.&lt;/P&gt;&lt;P&gt;It looks like we might have a problem somewhere else. It is not just PHY timing...&lt;/P&gt;&lt;P&gt;We observe instant iMX6Q SoC hang when accessing memory mapped PCI BARs when LTSSM not in L0 (0x11) state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it also happens during PM suspend/resume that we get:&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;on resume call and then followed by immediate SoC hang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like iMX6Q PCIe core is full of errata!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Primož&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2017 08:08:21 GMT</pubDate>
    <dc:creator>wooosaiiii</dc:creator>
    <dc:date>2017-02-02T08:08:21Z</dc:date>
    <item>
      <title>Linux iMX6 PCIe driver not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458088#M71676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having difficulties with the iMX6 PCIe bus working.&amp;nbsp; Although the card shows up with lspci, the iMX6 pcie driver always shows the following error message, and the first access to the PCI address space after driver initialization hangs the kernel, requiring a power-cycle to recover.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.922384] imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.932455] imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.942542] imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.952603] imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.962674] imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$ sudo lspci -v&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Password: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01) (prog-if 00 [Normal decode])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Flags: fast devsel, IRQ 384&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Memory at 01200000 (64-bit, prefetchable) [disabled] [size=1M]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Bus: primary=00, secondary=00, subordinate=00, sec-latency=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; I/O behind bridge: 00000000-00000fff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Memory behind bridge: 00000000-000fffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Prefetchable memory behind bridge: 00000000-000fffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; [virtual] Expansion ROM at 01300000 [disabled] [size=64K]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [40] Power Management version 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [70] Express Root Port (Slot-), MSI 00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [100] Advanced Error Reporting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [140] Virtual Channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Kernel driver in use: pcieport&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;01:00.0 Multimedia video controller: Conexant Systems, Inc. Device 5851 (rev 01)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Subsystem: Conexant Systems, Inc. Device 0952&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Flags: fast devsel, IRQ 155&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Memory at 01000000 (64-bit, non-prefetchable) [disabled] [size=2M]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [40] Express Endpoint, MSI 00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [80] Power Management version 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [90] Vital Product Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [100] Advanced Error Reporting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; Capabilities: [200] Virtual Channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hardware and software configuration is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Linux kernel 3.14.54&lt;/LI&gt;&lt;LI&gt;Hummingboard Edge with iMX6Q CPU&lt;/LI&gt;&lt;LI&gt;Vecow VMX-200 PCIe video capture card&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kernel configurations associated with the PCI bus are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# Bus support&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;CONFIG_PCI=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_DOMAINS=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_SYSCALL=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_MSI=y&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_DEBUG is not set&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_STUB is not set&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_DISABLE_COMMON_QUIRKS is not set&lt;/P&gt;&lt;P&gt;CONFIG_PCI_ATS=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_IOV=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_PRI=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_PASID=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# PCI host controller drivers&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;CONFIG_PCIE_DW=y&lt;/P&gt;&lt;P&gt;CONFIG_PCI_IMX6=y&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_IMX6SX_EXTREMELY_PWR_SAVE is not set&lt;/P&gt;&lt;P&gt;# CONFIG_EP_MODE_IN_EP_RC_SYS is not set&lt;/P&gt;&lt;P&gt;# CONFIG_RC_MODE_IN_EP_RC_SYS is not set&lt;/P&gt;&lt;P&gt;# CONFIG_PCI_HOST_GENERIC is not set&lt;/P&gt;&lt;P&gt;CONFIG_PCIEPORTBUS=y&lt;/P&gt;&lt;P&gt;# CONFIG_PCIEAER is not set&lt;/P&gt;&lt;P&gt;# CONFIG_PCIEASPM is not set&lt;/P&gt;&lt;P&gt;CONFIG_PCIE_PME=y&lt;/P&gt;&lt;P&gt;# CONFIG_PCCARD is not set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the above pcie errors occur at system boot before any driver initialization.&amp;nbsp; Has anyone had success with PCIe cards on iMX6?&amp;nbsp;&amp;nbsp; How can I get past the "transition to gen2 is stuck" error in the iMX6 PCIe driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 19:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458088#M71676</guid>
      <dc:creator>jonathanolson</dc:creator>
      <dc:date>2015-12-02T19:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linux iMX6 PCIe driver not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458089#M71677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="220566" data-username="jonathanolson" href="https://community.nxp.com/people/jonathanolson" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;JONATHAN OLSON&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you solve the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any information,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primoz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 13:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458089#M71677</guid>
      <dc:creator>wooosaiiii</dc:creator>
      <dc:date>2017-02-01T13:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linux iMX6 PCIe driver not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458090#M71678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, in fact I found the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing out the following changes which were made to the imx6qdl clocking&lt;/P&gt;&lt;P&gt;fixed the PCIe problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi&lt;/P&gt;&lt;P&gt;b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi&lt;/P&gt;&lt;P&gt;index 5ab7a4d..4a18203 100644&lt;/P&gt;&lt;P&gt;--- a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi&lt;/P&gt;&lt;P&gt;+++ b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi&lt;/P&gt;&lt;P&gt;@@ -49,8 +49,6 @@&lt;/P&gt;&lt;P&gt;  phy-reset-duration = &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 21:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458090#M71678</guid>
      <dc:creator>jonathanolson</dc:creator>
      <dc:date>2017-02-01T21:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linux iMX6 PCIe driver not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458091#M71679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for prompt answer to my question.&lt;/P&gt;&lt;P&gt;It looks like we might have a problem somewhere else. It is not just PHY timing...&lt;/P&gt;&lt;P&gt;We observe instant iMX6Q SoC hang when accessing memory mapped PCI BARs when LTSSM not in L0 (0x11) state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it also happens during PM suspend/resume that we get:&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;imx6q-pcie 1ffc000.pcie: transition to gen2 is stuck, reset PHY!&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;on resume call and then followed by immediate SoC hang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like iMX6Q PCIe core is full of errata!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Primož&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 08:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-iMX6-PCIe-driver-not-working/m-p/458091#M71679</guid>
      <dc:creator>wooosaiiii</dc:creator>
      <dc:date>2017-02-02T08:08:21Z</dc:date>
    </item>
  </channel>
</rss>

