Re: [U-Boot] [RFC PATCH 2/2] armv8: Fix flush_dcache_all function

2016-10-14 Thread york sun
On 10/14/2016 01:01 PM, York Sun wrote: > Previously it was believed L3 cache has to be flushed in order to guarantee > data integrity in main memory. However, flushing L3 cache may require EL3, > depending on SoC implementation. Flushing with virtual address can also > put data into main memory.

[U-Boot] [RFC PATCH 2/2] armv8: Fix flush_dcache_all function

2016-10-14 Thread York Sun
Previously it was believed L3 cache has to be flushed in order to guarantee data integrity in main memory. However, flushing L3 cache may require EL3, depending on SoC implementation. Flushing with virtual address can also put data into main memory. The trick is to find the correct address range.