<?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 Problems with PCIe devices on LS1021A in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332997#M827</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 get some problem while trying to enable a Marvell PCIe to SATA card.&lt;/P&gt;&lt;P&gt;It can be recognized in system,&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;# lspci&lt;/P&gt;
&lt;P&gt;0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0c (rev 10)&lt;/P&gt;
&lt;P&gt;0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0c (rev 10)&lt;/P&gt;
&lt;P&gt;0001:01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;but I get some error to enable it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;ahci 0001:01:00.0: BAR 0: can't reserve [io&amp;nbsp; 0x4810000020-0x4810000027]&lt;/P&gt;
&lt;P&gt;ahci: probe of 0001:01:00.0 failed with error -16&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;This error code means resource busy, right? But there is only one PCIe device.&lt;/P&gt;&lt;P&gt;I have tried an Intel PCIe NIC and it can work normally.&lt;/P&gt;&lt;P&gt;Can anyone give me some ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 20:05:09 GMT</pubDate>
    <dc:creator>hwei</dc:creator>
    <dc:date>2014-12-08T20:05:09Z</dc:date>
    <item>
      <title>Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332997#M827</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 get some problem while trying to enable a Marvell PCIe to SATA card.&lt;/P&gt;&lt;P&gt;It can be recognized in system,&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;# lspci&lt;/P&gt;
&lt;P&gt;0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0c (rev 10)&lt;/P&gt;
&lt;P&gt;0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0c (rev 10)&lt;/P&gt;
&lt;P&gt;0001:01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;but I get some error to enable it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;ahci 0001:01:00.0: BAR 0: can't reserve [io&amp;nbsp; 0x4810000020-0x4810000027]&lt;/P&gt;
&lt;P&gt;ahci: probe of 0001:01:00.0 failed with error -16&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;This error code means resource busy, right? But there is only one PCIe device.&lt;/P&gt;&lt;P&gt;I have tried an Intel PCIe NIC and it can work normally.&lt;/P&gt;&lt;P&gt;Can anyone give me some ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 20:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332997#M827</guid>
      <dc:creator>hwei</dc:creator>
      <dc:date>2014-12-08T20:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332998#M828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello H Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that this is Kernel or&amp;nbsp; ahci SATA device driver problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your dts file, whether the above IO memory is allocated in the reasonable range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would&amp;nbsp; you please provide your Kernel log(especially pci probe and resource allocation sections) and the log of "lspci -v".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yiping&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>Wed, 10 Dec 2014 07:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332998#M828</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2014-12-10T07:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332999#M829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my kernel log, that IO memory is allocated to pci 0001:00:00.0: BAR 0.&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;pci 0001:01:00.0: BAR 0: assigned [io&amp;nbsp; 0x4810000020-0x4810000027]&lt;/P&gt;


&lt;/BLOCKQUOTE&gt;&lt;P&gt;May it be some ahci driver problem?&lt;/P&gt;&lt;P&gt;We get a temporary SATA2 driver patch from Freescale to make our sata drive work.&lt;/P&gt;&lt;P&gt;By the way, I have to configure vmalloc in bootargs to get the pci driver loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 14:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/332999#M829</guid>
      <dc:creator>hwei</dc:creator>
      <dc:date>2014-12-10T14:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333000#M830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello H Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your Kernel log, IO memory resource has already been allocated successfully for BAR0 by layerscape-pcie driver. When ahci probes, it reports the resource is busy and cannot be reserved. We have tested other brand PCIe STAT could work with SDK 1.3 images.&amp;nbsp; Please verify whether your Marvell PCIe SATA could work on other host, for example x86 platform. And check the ahci driver where causes this error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yiping&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>Thu, 11 Dec 2014 10:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333000#M830</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2014-12-11T10:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333001#M831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this Marvell PCIe SATA device on an imx6 board and it can be recognized.&lt;/P&gt;&lt;P&gt;The ahci driver fails to request the specific pci regions so I try to disable this pci resource check and it can temporarily work.&lt;/P&gt;&lt;P&gt;It fails in pci.c while getting the io region assigned to this PCI device.&lt;/P&gt;&lt;P&gt;Can it be a pci related problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 20:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333001#M831</guid>
      <dc:creator>hwei</dc:creator>
      <dc:date>2014-12-16T20:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PCIe devices on LS1021A</title>
      <link>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333002#M832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello H Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The should be compatible problem, in the coming SDK 1.7 release, the PCIe driver framework is also redesigned, please update to the latest driver, and verify whether this problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problems-with-PCIe-devices-on-LS1021A/m-p/333002#M832</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2014-12-18T11:13:56Z</dc:date>
    </item>
  </channel>
</rss>

