<?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>MPC5xxx中的主题 Re: Flush L1 cache on MPC5777M?</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775020#M11222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Flush All is not supported by this core (as I know no e200 supports this).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flushing of all cache content would be need needed to do by dcbf sequentially per all lines. However, I am not sure if it does make sense, as the device’s does not have copy-back mode. If there is only writethrough mode, is there any reason for explicit flushing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If DCWA = 0, then all writes are actually cache inhibited. Cache line will be allocated only during reads.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 14:33:41 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2018-02-28T14:33:41Z</dc:date>
    <item>
      <title>Flush L1 cache on MPC5777M?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775019#M11221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at ch 15.7.91 in the MPC5777M reference manual, I see I can invalidate the data cache by set and way using L1FINV0, but there is not a cache command that lists flush, just invalidate. Can this register flush the cache, or do I have to use dcbf (potentially over all of&amp;nbsp;cache-able memory?) to flush the cache? Also, if I set the&amp;nbsp;L1CSR0.DCWA bit to zero, will all writes be noncache-able?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 06:08:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775019#M11221</guid>
      <dc:creator>jschloss</dc:creator>
      <dc:date>2018-02-27T06:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Flush L1 cache on MPC5777M?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775020#M11222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Flush All is not supported by this core (as I know no e200 supports this).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flushing of all cache content would be need needed to do by dcbf sequentially per all lines. However, I am not sure if it does make sense, as the device’s does not have copy-back mode. If there is only writethrough mode, is there any reason for explicit flushing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If DCWA = 0, then all writes are actually cache inhibited. Cache line will be allocated only during reads.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775020#M11222</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-02-28T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Flush L1 cache on MPC5777M?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775021#M11223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;think I thought the cache was a write-back cache, and was trying to make sure memory was consistent if I wanted to turn off the cache before inspecting areas of memory used by DMA. I have some regions non-cachable/guarded with the MPU, but wanted to see if I could get away with turning off the cache in a few cases since I was running low on region descriptors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the cache doesn't cache writes, I guess I am fine with just turning it off&amp;nbsp;without losing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so if all writes are&amp;nbsp;write-through, is there any advantage to&amp;nbsp;setting DCWA to 1? Would it allocate that cache line for&amp;nbsp;future reads near (within a cache line) that write, before I start reading? More of an eviction strategy hint?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 18:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775021#M11223</guid>
      <dc:creator>jschloss</dc:creator>
      <dc:date>2018-02-28T18:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flush L1 cache on MPC5777M?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775022#M11224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For DCWA=1:&lt;BR /&gt;A write allocates cache line what means subsequent read of this data (or the data within this line) may be faster (as stored data are placed to store buffer and written to target memory later).&lt;BR /&gt;I cannot tell you which strategy is better, it'll be application dependent enough. Probably if application contains lot of back-to-back access, it could be advantageous.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 09:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Flush-L1-cache-on-MPC5777M/m-p/775022#M11224</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-03-01T09:17:32Z</dc:date>
    </item>
  </channel>
</rss>

