This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[armv8][cortex-a72] why must flush data cache when I tried to map a SRAM area?

I tried to map a SRAM area, I add that area (from 0x700000000 to 0x70FFFFFF) to page table and set Memory Attribute Indirection Register as normal memory and cacheable.

But when I try to read thar area(from 0x700000000 to 0x70FFFFFF) I found it could not be cached. I should flush data cache after  adding that area to page table. 

Then I tried a DDR area, I found it is no need to flush data cache and I wanna to know why?

0