<?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中的主题 iMX6 data cache prefetch</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-data-cache-prefetch/m-p/318148#M42212</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 noticed that the iMX6 cache prefetching is disabled, and then found the erratum on that topic, saying that enabling&amp;nbsp; prefeching &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;can lead to deadlock or data corruption.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I want to enable prefetching, to see how often my application will suffer from this issue. How can I do that? (I'm using iMX6Q running u-boot 2009 and linux 3.0.35_4.1)&lt;/P&gt;&lt;P&gt;I found the ARM documentation regarding ACTLR register (&lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388f/CIHCHFCG.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388f/CIHCHFCG.html"&gt;ARM Information Center&lt;/A&gt;) but couldn't find the right place to update this value in the u-boot / kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When doing some profiling on my DDR I see a big difference between reads and writes - DDR write is more&amp;nbsp; or less x8 faster than reads. Assuming that data prefetching is disabled - does this difference make sense?&lt;/P&gt;&lt;P&gt;The profiler is doing continuous block reading/writing for blocks larger than the L2 cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2014 15:42:24 GMT</pubDate>
    <dc:creator>ofer_livny</dc:creator>
    <dc:date>2014-06-12T15:42:24Z</dc:date>
    <item>
      <title>iMX6 data cache prefetch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-data-cache-prefetch/m-p/318148#M42212</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 noticed that the iMX6 cache prefetching is disabled, and then found the erratum on that topic, saying that enabling&amp;nbsp; prefeching &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;can lead to deadlock or data corruption.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I want to enable prefetching, to see how often my application will suffer from this issue. How can I do that? (I'm using iMX6Q running u-boot 2009 and linux 3.0.35_4.1)&lt;/P&gt;&lt;P&gt;I found the ARM documentation regarding ACTLR register (&lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388f/CIHCHFCG.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388f/CIHCHFCG.html"&gt;ARM Information Center&lt;/A&gt;) but couldn't find the right place to update this value in the u-boot / kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When doing some profiling on my DDR I see a big difference between reads and writes - DDR write is more&amp;nbsp; or less x8 faster than reads. Assuming that data prefetching is disabled - does this difference make sense?&lt;/P&gt;&lt;P&gt;The profiler is doing continuous block reading/writing for blocks larger than the L2 cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 15:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-data-cache-prefetch/m-p/318148#M42212</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-06-12T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 data cache prefetch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-data-cache-prefetch/m-p/318149#M42213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ofer.livny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. One can add to Uboot lowlevel_init.S or cpu.c,&lt;/P&gt;&lt;P&gt;Uboot structure can be found in &lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/dsp/doc/app_note/AN4173.pdf?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation"&gt;AN4173&lt;/A&gt; U-Boot for i.MX51 Based Designs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. No data prefetching can affect this. Probably these smth related&lt;/P&gt;&lt;P&gt;to cache settings. Probably it makes sense to check without OS,&lt;/P&gt;&lt;P&gt;using SDK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;nodeId=018rH3ZrDRB24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;i.MX 6Series Platform SDK&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt; : Bare-metal SDK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 05:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-data-cache-prefetch/m-p/318149#M42213</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-19T05:46:18Z</dc:date>
    </item>
  </channel>
</rss>

