Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

clean and invalidate cache behavior before same address read

I am running on cortex-A17.

when following,

step1: STR  R0, [R1]       ; [R1] is cacheable

step2: DCCIMVAC          ; clean and invalidate cache

step3: LDR  R0, [R1]       ; memory read

Does step3 access L3(external memory) ?

Or access eviction-buffer in cortex-A17 ?

Or, unknown  behavior?

Parents
  • If you had just performed a clean, then it would possible that the core would snoop the eviction buffer.

    As you did a clean+invalidate the core has to re-read the location from the memory system. 

    (Assuming that the address passed to the data cache op is the same VA as in r0)

Reply
  • If you had just performed a clean, then it would possible that the core would snoop the eviction buffer.

    As you did a clean+invalidate the core has to re-read the location from the memory system. 

    (Assuming that the address passed to the data cache op is the same VA as in r0)

Children