<?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: DMA for PCIe on i.MX 8M Plus &amp;amp; Mini in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905383#M226048</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp; please continue with the follow-up.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 16:53:42 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2024-07-10T16:53:42Z</dc:date>
    <item>
      <title>DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1895248#M225571</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am trying to use a DMA inside the i.MX 8M to perform write transactions to a PCIe endpoint. W&lt;SPAN&gt;e haven’t fully decided yet between the i.MX 8M Mini and i.MX 8M Plus, I would appreciate if both of those processors could be considered in the answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I understand from the Processor Reference Manuals and forum posts that the SDMA cannot be used for this, but the manual refers to an "Embedded DMA" (IMX8MPRM chapter 11.4.2.4). I can't see any such DMA engine registered within the Linux subsystem. dma_request_channel() only returns SDMA channels, same in the sysfs. I can't see any reference to a DMA in pci-imx6.c (driver used for i.MX 8 as well).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The “AN13164 - iMX8MP PCIe Bandwidth Analysis” calls out that a DMA transfer is used, but no source code is provided. There is also a community thread about this: &lt;A href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FiMX8M-Plus-PCIe-DMA-Feature%2Ftd-p%2F1529555&amp;amp;data=05%7C02%7CMarc.Andre%40stryker.com%7C897325b58f3345730d6808dc95172bf1%7C4e9dbbfb394a4583881053f81f819e3b%7C0%7C0%7C638549173980521249%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=pU5KlFUdq%2BVlggrRLHh2HQzxk5yxO%2BSWyZB8WNqBD3I%3D&amp;amp;reserved=0" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-PCIe-DMA-Feature/td-p/1529555&lt;/A&gt;. Linux v5.4.70 (version used for AN13164) doesn't have any reference to DMA in pcitest.c or pci-epf-test.c. Also, I can't find any function called&amp;nbsp;imx6_pcie_local_dma_start() as indicated in the community thread above in any version of mainline Linux.&lt;/P&gt;&lt;P&gt;A post about a similar test on the i.MX6 (&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p/1126624" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p/1126624&lt;/A&gt;) refers that the IPU was used for the DMA transfer, but the i.MX 8M doesn't have any such IPU.&lt;/P&gt;&lt;P&gt;I also can't find any reference to a DMA for PCIe in the Linux Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;How can we use a DMA engine of the i.MX 8M (Plus/Mini) to transfer data from the system DDR memory to a PCIe endpoint device? Do you have any Linux driver for this? Any examples?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Can you provide the exact source code &amp;amp; scripts &amp;amp; command line that were used for AN13164 generate those test results?&amp;nbsp;Which DMA engine was used?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 27 Jun 2024 14:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1895248#M225571</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2024-06-27T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1895735#M225607</link>
      <description>&lt;P&gt;mail to you, pls check&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 07:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1895735#M225607</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-06-28T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1898081#M225791</link>
      <description>&lt;P&gt;I replied to your email on Friday, please check. Haven't heard back yet.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 07:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1898081#M225791</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2024-07-03T07:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905383#M226048</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp; please continue with the follow-up.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 16:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905383#M226048</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2024-07-10T16:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905686#M226054</link>
      <description>&lt;P&gt;I already replied to the customer via mail, because I couldn't access the community last week&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 00:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905686#M226054</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-07-11T00:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905860#M226066</link>
      <description>&lt;P&gt;Please check your support ticket #0062962&lt;/P&gt;&lt;P&gt;You did reply answering 1 of my 4 questions on June 28, 7:23am via the NXP support ticketing system. I replied to this on June 28, 9:13am with a follow-up question and the the re-iteration of the un-answered questions.&lt;/P&gt;&lt;P&gt;I haven't heard since (neither publicly on the forum nor via the support ticket).&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 05:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905860#M226066</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2024-07-11T05:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905889#M226069</link>
      <description>&lt;P&gt;I just mailed to you attach my previous reply, as I mentioned, I couldn't access the community last week, I mailed to you, maybe the system issue, I screen shot it, you can check, I'm waiting for you cable and test result&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 06:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1905889#M226069</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-07-11T06:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941602#M227734</link>
      <description>&lt;P&gt;I'm also trying to get a DMA reading the data off of the pcie bus. Can you post here or message me on how you got it working? Or can someone from nxp give me info on the solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 23:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941602#M227734</guid>
      <dc:creator>svolpe</dc:creator>
      <dc:date>2024-08-27T23:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941627#M227735</link>
      <description>&lt;P&gt;Some driver support got added in mainline Kernel v6.3. You can use the pcitest tool (part of the Kernel) as example.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 00:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941627#M227735</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2024-08-28T00:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941628#M227736</link>
      <description>&lt;P&gt;one quick question: I'm assuming there is no "generic pci-e DMA" driver and that I need to write my own kernel module to do the DMA stuff on the PCIe interface? Or is there a kernel module already in existence that handles the DMA?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 00:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941628#M227736</guid>
      <dc:creator>svolpe</dc:creator>
      <dc:date>2024-08-28T00:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941633#M227737</link>
      <description>&lt;P&gt;You'll likely have to write some Kernel driver by yourself.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 00:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/1941633#M227737</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2024-08-28T00:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068763#M235529</link>
      <description>Hi Mandre..!&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/How-to-Enable-DMA-for-USB-for-IMX8M-Plus-based-on-Linux-kernel-6/m-p/2064737" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/How-to-Enable-DMA-for-USB-for-IMX8M-Plus-based-on-Linux-kernel-6/m-p/2064737&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;i also see some references to DMA embedded controller already in, but i dont see any such reference from imx8M Reference manual.&lt;BR /&gt;&lt;BR /&gt;i want to enable DMA for USB for better throughputs with high CPU usage.&lt;BR /&gt;&lt;BR /&gt;does this is already implemented? if see could you please share reference to that from any github reference.&lt;BR /&gt;&lt;BR /&gt;i see configurations are already enabled for EHCI related.&lt;BR /&gt;&lt;BR /&gt;please suggest..! thanks</description>
      <pubDate>Wed, 26 Mar 2025 14:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068763#M235529</guid>
      <dc:creator>radhak4x</dc:creator>
      <dc:date>2025-03-26T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068764#M235530</link>
      <description>&lt;P&gt;Hi Mandre..!&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/How-to-Enable-DMA-for-USB-for-IMX8M-Plus-based-on-Linux-kernel-6/m-p/2064737" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/How-to-Enable-DMA-for-USB-for-IMX8M-Plus-based-on-Linux-kernel-6/m-p/2064737&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i also see some references to DMA embedded controller already in, but i dont see any such reference from imx8M Reference manual.&lt;/P&gt;&lt;P&gt;i want to enable DMA for USB for better throughputs with high CPU usage.&lt;/P&gt;&lt;P&gt;does this is already implemented? if see could you please share reference to that from any github reference.&lt;/P&gt;&lt;P&gt;i see configurations are already enabled for EHCI related.&lt;/P&gt;&lt;P&gt;please suggest..! thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 14:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068764#M235530</guid>
      <dc:creator>radhak4x</dc:creator>
      <dc:date>2025-03-26T14:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: DMA for PCIe on i.MX 8M Plus &amp; Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068869#M235541</link>
      <description>&lt;P&gt;I cannot help on this.&lt;/P&gt;&lt;P&gt;I was using the DMA engine which is part of the PCIe submodule. This is specifically just for PCIe.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 17:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-for-PCIe-on-i-MX-8M-Plus-amp-Mini/m-p/2068869#M235541</guid>
      <dc:creator>mandre</dc:creator>
      <dc:date>2025-03-26T17:19:27Z</dc:date>
    </item>
  </channel>
</rss>

