Hi Experts,
I'm reading white paper for ARMv7 and ARMv8.
but when i reading cache part and memory re-ordering, i have silly questions.....
Suppose there are below instructions..
Core A:
STR R0, [Msg]
STR R1, [Something]
Core B:
DSB
LDR R1 [Something]
......
my questions are :
Cuz i really really beginner, maybe that situation is wrong itself....
But, i hope your merciful answer..
Thx.
If you want to know more information for cache coherance, read CCI specification
If Core A stores R1's data in its cache memory.. then does DSB guarantees R1's data also to be written on memory? Yes, no guarantees another core cache flush or invalidate.
If Core A stores R1's data in its cache memory.. then does DSB guarantees R1's data also to be written on memory?
Just to clear up any possible confusion here. A DMB does not guarantee that data is written back to main memory - it merely enforces a valid order of execution. Barrier have nothing to do with cache maintenance.