<?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: pcie &amp;quot;phy link never came up&amp;quot; on sabresd running dora 3.10.17_beta in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262673#M26678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems better with this patch, If if wakes up the first time after a cold boot (power cycle) I can't make it fail after that, it wakes up every time until I cycle power.&amp;nbsp; It sometimes still will not wake up the first time after a cold boot though.&amp;nbsp; It looks like the board hangs prior to the new resume function running.&amp;nbsp; Here's the console output when it wakes up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # echo enabled &amp;gt; /sys/class/tty/ttymxc4/power/wakeup&lt;/P&gt;&lt;P&gt;/ # echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 17.365 msecs&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.235 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.390 msecs&lt;/P&gt;&lt;P&gt;start pci_update_current_state&lt;/P&gt;&lt;P&gt;end pci_update_current_state&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 5.635 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.202 msecs&lt;/P&gt;&lt;P&gt;start mx6_pcie_resume&lt;/P&gt;&lt;P&gt;end mx6_pcie_resume&lt;/P&gt;&lt;P&gt;dpm_run_callback(): platform_pm_resume+0x0/0x4c returns 19&lt;/P&gt;&lt;P&gt;PM: Device 1ffc000.pcie failed to resume: error 19&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 187.477 msecs&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here is what I see when it hangs (consistent with what I saw prior to the patch):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # echo enabled &amp;gt; /sys/class/tty/ttymxc4/power/wakeup&lt;/P&gt;&lt;P&gt;/ # echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 24.890 msecs&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.238 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.358 msecs&lt;/P&gt;&lt;P&gt;start pci_update_current_state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomorrow I'll work more on this to see if I can narrow down when it hangs.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 21:54:29 GMT</pubDate>
    <dc:creator>scottwarner</dc:creator>
    <dc:date>2014-05-28T21:54:29Z</dc:date>
    <item>
      <title>pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262642#M26647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to enable pcie support on a sabresd board running the dora 3.10.17 beta bsp.&amp;nbsp; I enabled PCI support and the freescale i.MX6 PCIe controller, but did not enable EP or RC support.&amp;nbsp; When the system boots I see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i2c i2c-0: IMX I2C adapter registered&lt;/P&gt;&lt;P&gt;i2c i2c-1: IMX I2C adapter registered&lt;/P&gt;&lt;P&gt;i2c i2c-2: IMX I2C adapter registered&lt;/P&gt;&lt;P&gt;pps_core: LinuxPPS API ver. 1 registered&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:giometti@linux.it"&gt;giometti@linux.it&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PTP clock support registered&lt;/P&gt;&lt;P&gt;MIPI CSI2 driver module loaded&lt;/P&gt;&lt;P&gt;Switching to clocksource mxc_timer1&lt;/P&gt;&lt;P&gt;imx6q-pcie 1ffc000.pcie: phy link never came up&lt;/P&gt;&lt;P&gt;PCI host bridge to bus 0000:00&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [io&amp;nbsp; 0x1000-0x10000]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]&lt;/P&gt;&lt;P&gt;PCI: bus0: Fast back to back transfers disabled&lt;/P&gt;&lt;P&gt;PCI: bus1: Fast back to back transfers enabled&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: PCI bridge to [bus 01]&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked under the 3.10.9 alpha bsp, not sure what I'm missing on the beta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 21:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262642#M26647</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-02-26T21:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262643#M26648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I know that we have some problems with the EP on the PCIE bus, so I escalated your question so we are working to provide a response .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 15:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262643#M26648</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2014-03-12T15:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262644#M26649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will build the environment and try to reproduce it on my side. At the same time, I have two questions:&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 427px;"&gt;&lt;SPAN class="pasted-list-info"&gt;(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Do you insert some pcie card into the slot? If yes, which one you are used?&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 427px;"&gt;&lt;SPAN class="pasted-list-info"&gt;(2)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Can you share your changes to enable PCIE support? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 03:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262644#M26649</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-14T03:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262645#M26650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with and without a card, the card I tried with is a SparkLan WPEA-121N wifi card.&amp;nbsp; I get the same error with and without the card attached.&amp;nbsp; This card worked fine on the 3.10.9_alpha bsp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have the following enabled (although I tried many variations):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under Bus Support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCI Support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message Signaled Interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCI Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under PCI host controller drivers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Freescale i.MX6 PCIe controller (only this was enabled, EP and RC were not enabled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that is sufficient, I could attach the entire .config if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 13:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262645#M26650</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-17T13:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262646#M26651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to the club.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between the git repository and the LKML, PCIe support for the 3.10 kernel series seems to be highly active (there was a massive re-write between 3.10.9 and 3.10.17).&amp;nbsp; It's been three months since 3.10.17 was made available.&amp;nbsp; My PCIe-fu is not strong, so I've been waiting patiently for the next release in the hope it's better and that it enumerates and supports PCIe switches out of the box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schwab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 21:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262646#M26651</guid>
      <dc:creator>leoschwab</dc:creator>
      <dc:date>2014-03-17T21:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262647#M26652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was finally able to get our i.MX6Solo based custom board to link with the beta bsp, no luck on the Sabresd though.&amp;nbsp; I was only using the Sabresd to validate what I was doing on our custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still seeing the same problem I saw with the alpha bsp, where the system would not resume from suspend to memory.&amp;nbsp; It hangs in the pcie_pm_resume_noirq.&amp;nbsp; I'm post more info regarding this tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 21:23:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262647#M26652</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-18T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262648#M26653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw some of your earlier posts, it's what prompted me to port the beta since there were so many changes.&amp;nbsp; Glad I'm not the only one having problems with PCIe.&amp;nbsp; We are getting close now, just need to get the board to wake from suspend to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 21:28:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262648#M26653</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-18T21:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262649#M26654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this patch on your side:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c&lt;BR /&gt;index 0b963c8..bd7fa53 100644&lt;BR /&gt;--- a/drivers/pci/host/pci-imx6.c&lt;BR /&gt;+++ b/drivers/pci/host/pci-imx6.c&lt;BR /&gt;@@ -240,15 +240,18 @@ static int imx6_pcie_deassert_core_reset(struct pcie_port *pp)&lt;BR /&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; goto err_pcie_ref;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;+/*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!IS_ENABLED(CONFIG_EP_MODE_IN_EP_RC_SYS)&lt;BR /&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;amp;&amp;amp; !IS_ENABLED(CONFIG_RC_MODE_IN_EP_RC_SYS)) {&lt;BR /&gt;+*/&lt;BR /&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; ret = clk_prepare_enable(imx6_pcie-&amp;gt;lvds_gate);&lt;BR /&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; if (ret) {&lt;BR /&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; dev_err(pp-&amp;gt;dev, "unable to enable lvds_gate\n");&lt;BR /&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; goto err_lvds_gate;&lt;BR /&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; }&lt;BR /&gt;+/*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;-&lt;BR /&gt;+*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = clk_prepare_enable(imx6_pcie-&amp;gt;pcie_axi);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ret) {&lt;BR /&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; dev_err(pp-&amp;gt;dev, "unable to enable pcie_axi\n");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262649#M26654</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-19T06:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262650#M26655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the patch, I tried it, but I still see the same problem.&amp;nbsp; I've traced where the board hangs, as the system wakes from suspend to memory and the noirq resume functions are called:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pci-driver.c:pci_pm_resume_noirq()&lt;/P&gt;&lt;P&gt; - calls -&lt;/P&gt;&lt;P&gt;pci-driver.c:pci_pm_default_resume_early()&lt;/P&gt;&lt;P&gt; - calls - &lt;/P&gt;&lt;P&gt;pci.c:pci_power_up() &lt;/P&gt;&lt;P&gt;- calls -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;pci.c:pci_update_current_state()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - the board then hangs on -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pci_read_config_word(dev, dev-&amp;gt;pm_cap + PCI_PM_CTRL, &amp;amp;pmcsr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it hangs on the 1st config space access.&amp;nbsp; Sometimes it works and the board will wake, thought there may be a timing issue so I tried putting some delays in, but that didn't help either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 13:08:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262650#M26655</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-19T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262651#M26656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little confused, it seems that you are not talking about “phy link never came up” issue. The link between host and device has been linked up, but there are some issues in suspend and resume process?&lt;/P&gt;&lt;P&gt;Could you please share the steps how to reproduce the issue, if so? My pcie wifi card can be enumerated on sabersd 6q board on my side,  with dora 3.10.17_beta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhao Yuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262651#M26656</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-19T14:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262652#M26657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the confusion, I was able to get the card to link on our i.MX6Solo based custom board, but still have a resume issue with PCIe.&amp;nbsp; I had the exact same issue with the alpha bsp.&amp;nbsp; I just do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;echo enabled &amp;gt; /sys/class/tty/ttymxc0/power/wakeup&lt;/P&gt;&lt;P&gt;&amp;gt;echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then hit a key on the keyboard to wake.&amp;nbsp; Most times it hangs, as noted above, seems the same with or without a card in the pcie slot.&amp;nbsp; If I disable pcie in the kernel config, the system wakes fine.&amp;nbsp; Originally we were running the 3.0.35 kernel on this board and it would resume fine without a card in the pcie slot.&amp;nbsp; That bsp had a known issue when a card was attached, I see the fix for that in this bsp, but this is a different issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262652#M26657</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-19T19:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262653#M26658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With intel wifi card 4965 and yocto 3.10.17 beta version, my mx6q reference board did not reproduced your issue on my side, following your reproduce instruction. But I did not have hardware to&amp;nbsp; verify it on i.MX6Solo. &lt;/P&gt;&lt;P&gt;I think you can back to 3.10.17 beta version, and apply the patch I pasted above to take one try, if you still have the issue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# lspci&lt;/P&gt;&lt;P&gt;00:00.0 PCI bridge: Device 16c3:abcd (rev 01)&lt;/P&gt;&lt;P&gt;01:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedr)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~# echo enabled &amp;gt; /sys/class/tty/ttymxc0/power/wakeup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~# echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 74.189 msecs&lt;/P&gt;&lt;P&gt;PM: suspend devices took 0.080 seconds&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.404 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.674 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;CPU2: shutdown&lt;/P&gt;&lt;P&gt;CPU3: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;CPU2: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU2 is up&lt;/P&gt;&lt;P&gt;CPU3: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU3 is up&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: Refused to change power state, currently in D3&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 0.450 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.323 msecs&lt;/P&gt;&lt;P&gt;PCI: enabling device 0000:00:00.0 (0000 -&amp;gt; 0003)&lt;/P&gt;&lt;P&gt;ata1: SATA link down (SStatus 0 SControl 300)&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 556.902 msecs&lt;/P&gt;&lt;P&gt;PM: resume devices took 0.560 seconds&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~# echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 71.784 msecs&lt;/P&gt;&lt;P&gt;PM: suspend devices took 0.070 seconds&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.396 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.636 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;CPU2: shutdown&lt;/P&gt;&lt;P&gt;CPU3: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;CPU2: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU2 is up&lt;/P&gt;&lt;P&gt;CPU3: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU3 is up&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: Refused to change power state, currently in D3&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 14.648 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.321 msecs&lt;/P&gt;&lt;P&gt;ata1: SATA link down (SStatus 0 SControl 300)&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 555.601 msecs&lt;/P&gt;&lt;P&gt;PM: resume devices took 0.550 seconds&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~# echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 81.807 msecs&lt;/P&gt;&lt;P&gt;PM: suspend devices took 0.080 seconds&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.394 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.630 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;CPU2: shutdown&lt;/P&gt;&lt;P&gt;CPU3: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;CPU2: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU2 is up&lt;/P&gt;&lt;P&gt;CPU3: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU3 is up&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: Refused to change power state, currently in D3&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 14.818 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.315 msecs&lt;/P&gt;&lt;P&gt;ata1: SATA link down (SStatus 0 SControl 300)&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 545.576 msecs&lt;/P&gt;&lt;P&gt;PM: resume devices took 0.540 seconds&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~#&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# lspci&lt;/P&gt;&lt;P&gt;00:00.0 PCI bridge: Device 16c3:abcd (rev 01)&lt;/P&gt;&lt;P&gt;01:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedr)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~# cat /proc/version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Linux version 3.10.17+gec1af9f (b47504@mpuapae) (gcc version 4.8.1 (GCC) ) #14 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;root@imx6qsabresd:~#&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 02:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262653#M26658</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-24T02:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262654#M26659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the same behavior with the patch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # cat proc/version&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Linux version 3.10.17-1.0.0_beta+gec1af9f (&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:swarner@embedded.corp.carestreamhealth.com"&gt;swarner@embedded.corp.carestreamhealth.com&lt;/A&gt;&lt;SPAN&gt;) (gcc version 4.8.1 (GCC) ) #48 Mon Mar 24 16:21:42 EDT 2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/ # lspci&lt;/P&gt;&lt;P&gt;00:00.0 Class 0604: 16c3:abcd&lt;/P&gt;&lt;P&gt;01:00.0 Class 0280: 168c:0034&lt;/P&gt;&lt;P&gt;/ # echo enabled &amp;gt; /sys/class/tty/ttymxc0/power/wakeup&lt;/P&gt;&lt;P&gt;/ # echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 9.197 msecs&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.204 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.444 msecs&lt;/P&gt;&lt;P&gt;imx6_pm_enter start&lt;/P&gt;&lt;P&gt;imx6_pm back from sleep&lt;/P&gt;&lt;P&gt;imx6_pm completed imx6_pm_enter&lt;/P&gt;&lt;P&gt;dpm_resume_noirq: 445&lt;/P&gt;&lt;P&gt;pci_pm_resume_noirq: 720 bus:0:0&lt;/P&gt;&lt;P&gt;pci_pm_default_resume_early: 428&lt;/P&gt;&lt;P&gt;pci_power_up: 632&lt;/P&gt;&lt;P&gt;pci_power_up: 635&lt;/P&gt;&lt;P&gt;pci_power_up: 638&lt;/P&gt;&lt;P&gt;pci_update_current_state: 616&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some extra lines of debug to try to trace where it hangs; 'pci_update_current_state: 616' is in file pci.c, the line following this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pci_read_config_word(dev, dev-&amp;gt;pm_cap + PCI_PM_CTRL, &amp;amp;pmcsr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a printk following this line that is not printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 20:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262654#M26659</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-24T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262655#M26660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your kernel message, it seems the device was not resumed from suspend state normally, and the device configuration space was not allowed to access. So lead to the hang issue.&lt;/P&gt;&lt;P&gt;Do you pcie protocol packet data captured on the pcie wire to help &lt;SPAN style="font-family: 'Arial','sans-serif'; color: #323232; font-size: 10.5pt;"&gt;analysis&lt;/SPAN&gt;? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 09:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262655#M26660</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-25T09:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262656#M26661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I thought at first also, but the wifi card in on bus 1, and it's hanging on bus 0.&amp;nbsp; I also see the same problem if the card is not plugged in, here's the pcie info as the board boots without the wifi card plugged in, so there is nothing on the pcie bus for this boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switching to clocksource mxc_timer1&lt;/P&gt;&lt;P&gt;imx6q-pcie 1ffc000.pcie: phy link never came up&lt;/P&gt;&lt;P&gt;PCI host bridge to bus 0000:00&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [io&amp;nbsp; 0x1000-0x10000]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]&lt;/P&gt;&lt;P&gt;PCI: bus0: Fast back to back transfers disabled&lt;/P&gt;&lt;P&gt;PCI: bus1: Fast back to back transfers enabled&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: PCI bridge to [bus 01]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then lspci shows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # lspci&lt;/P&gt;&lt;P&gt;00:00.0 Class 0604: 16c3:abcd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and waking from sleep without a card (looks the same as with the card):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6_pm_enter start&lt;/P&gt;&lt;P&gt;imx6_pm back from sleep&lt;/P&gt;&lt;P&gt;imx6_pm completed imx6_pm_enter&lt;/P&gt;&lt;P&gt;dpm_resume_noirq: 445&lt;/P&gt;&lt;P&gt;pci_pm_resume_noirq: 720 bus:0:0&lt;/P&gt;&lt;P&gt;pci_pm_default_resume_early: 428&lt;/P&gt;&lt;P&gt;pci_power_up: 632&lt;/P&gt;&lt;P&gt;pci_power_up: 635&lt;/P&gt;&lt;P&gt;pci_power_up: 638&lt;/P&gt;&lt;P&gt;pci_update_current_state: 616&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To compare, here's the pcie info at boot and lspci with the card inserted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switching to clocksource mxc_timer1&lt;/P&gt;&lt;P&gt;PCI host bridge to bus 0000:00&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [io&amp;nbsp; 0x1000-0x10000]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]&lt;/P&gt;&lt;P&gt;PCI: bus0: Fast back to back transfers disabled&lt;/P&gt;&lt;P&gt;PCI: bus1: Fast back to back transfers disabled&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x011fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 9: assigned [mem 0x01200000-0x012fffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 6: assigned [mem 0x01300000-0x0130ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x0117ffff 64bit]&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: PCI bridge to [bus 01]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0:&amp;nbsp;&amp;nbsp; bridge window [mem 0x01100000-0x011fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0:&amp;nbsp;&amp;nbsp; bridge window [mem 0x01200000-0x012fffff pref]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # lspci&lt;/P&gt;&lt;P&gt;00:00.0 Class 0604: 16c3:abcd&lt;/P&gt;&lt;P&gt;01:00.0 Class 0280: 168c:0034&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what 00:00.0 Class 0604: 16c3:abcd is, since it shows up when there is no card inserted.&amp;nbsp; When we were running the 3.0.35 kernel on this board it would wake from suspend to memory if there was no card inserted, so this is new with the 3.10.x based bsps.&amp;nbsp; lspci shows the same results on the 3.0.35 based bsp also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ # cat /proc/version&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Linux version 3.0.35-2310-gc27cb38-svn6353 (&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:swarner@embedded.corp.carestreamhealth.com"&gt;swarner@embedded.corp.carestreamhealth.com&lt;/A&gt;&lt;SPAN&gt;) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #23 PREEMPT Wed Mar 19 16:45:46 EDT 2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/ # lspci&lt;/P&gt;&lt;P&gt;00:00.0 Class 0604: 16c3:abcd&lt;/P&gt;&lt;P&gt;01:00.0 Class 0280: 168c:0034&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 20:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262656#M26661</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-25T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262657#M26662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I agree with you, if you can reproduce the issue without any pcie card, we don’t need to think about the pcie wifi card side.&lt;/P&gt;&lt;P&gt;But it is somewhat &lt;SPAN style="font-family: 'Arial','sans-serif'; color: #323232; font-size: 10.5pt;"&gt;weird&lt;/SPAN&gt;, without extra pci card, we should be on the page about the environment of hardware and software, at least for 6q board and 3.10.17_beta.&lt;/P&gt;&lt;P&gt;And my 6q board cannot reproduce the issue in the situation. As you know, I do not have 6Solo hardware to verify if it can work.Could you please try with other 6q board or with my image? &lt;/P&gt;&lt;P&gt;If it can work on 6q,&amp;nbsp; maybe the issue is special for 6Solo, we can focus on the difference of the two on software, as it can work on your previous versions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhao Yuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:34:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262657#M26662</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-03-26T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262658#M26663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not see this issue on my sabresd board, I could wake successfully with both the 3.10.9_alpha and 3.10.17_beta bsp, and our 6Solo based board hung on the config space access for both versions of the bsp.&amp;nbsp; So I agree that we should look at the difference between the Solo and Quad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262658#M26663</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-03-26T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262659#M26664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scoot&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 07:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262659#M26664</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-04-10T07:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262660#M26665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not closed yet, I am working this issue in the background waiting on advice on what we should look at regarding quad vs solo differences. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262660#M26665</guid>
      <dc:creator>scottwarner</dc:creator>
      <dc:date>2014-04-14T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: pcie "phy link never came up" on sabresd running dora 3.10.17_beta</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262661#M26666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Warner,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no solo board to address the issue. I requested one dl board, in the theroy, for PCIe modle, they should be the same.&lt;/P&gt;&lt;P&gt;I tried with intel pcie wifi card, it seems work well. I am thinking how I can&amp;nbsp; align to your environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Poky (Yocto Project Reference Distro) 1.5 imx6dlsabresd /dev/ttymxc0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6dlsabresd login: root&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~# dmesg | grep pcie&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~# dmesg | grep pci&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [io&amp;nbsp; 0x1000-0x10000]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: reg 10: [mem 0x00000000-0x000fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: reg 38: [mem 0x00000000-0x0000ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: supports D1&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: [8086:4229] type 00 class 0x028000&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00001fff 64bit]&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: PME# supported from D0 D3hot D3cold&lt;/P&gt;&lt;P&gt;pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x011fffff]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x01101fff 64bit]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0: PCI bridge to [bus 01]&lt;/P&gt;&lt;P&gt;pci 0000:00:00.0:&amp;nbsp;&amp;nbsp; bridge window [mem 0x01100000-0x011fffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: resource 4 [io&amp;nbsp; 0x1000-0x10000]&lt;/P&gt;&lt;P&gt;pci_bus 0000:00: resource 5 [mem 0x01000000-0x01efffff]&lt;/P&gt;&lt;P&gt;pci_bus 0000:01: resource 1 [mem 0x01100000-0x011fffff]&lt;/P&gt;&lt;P&gt;ehci-pci: EHCI PCI platform driver&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~# echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 81.805 msecs&lt;/P&gt;&lt;P&gt;PM: suspend devices took 0.080 seconds&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.498 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.723 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: Refused to change power state, currently in D3&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 0.463 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.350 msecs&lt;/P&gt;&lt;P&gt;PCI: enabling device 0000:00:00.0 (0000 -&amp;gt; 0003)&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 211.968 msecs&lt;/P&gt;&lt;P&gt;PM: resume devices took 0.210 seconds&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~#&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~# echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 71.871 msecs&lt;/P&gt;&lt;P&gt;PM: suspend devices took 0.070 seconds&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.425 msecs&lt;/P&gt;&lt;P&gt;PM: noirq suspend of devices complete after 0.627 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;pci 0000:01:00.0: Refused to change power state, currently in D3&lt;/P&gt;&lt;P&gt;PM: noirq resume of devices complete after 17.447 msecs&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.348 msecs&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 205.462 msecs&lt;/P&gt;&lt;P&gt;PM: resume devices took 0.200 seconds&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~# cat /proc/version&lt;/P&gt;&lt;P&gt;Linux version 3.10.17-1.0.0_beta+gec1af9f (b47504@mpuapae) (gcc version 4.8.1 (G&lt;/P&gt;&lt;P&gt;CC) ) #3 SMP Thu Apr 24 01:40:18 HKT 2014&lt;/P&gt;&lt;P&gt;root@imx6dlsabresd:~#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 10:16:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/pcie-quot-phy-link-never-came-up-quot-on-sabresd-running-dora-3/m-p/262661#M26666</guid>
      <dc:creator>b47504</dc:creator>
      <dc:date>2014-04-23T10:16:22Z</dc:date>
    </item>
  </channel>
</rss>

