I have a question arout ARM CPU DSB/DMB
If I want :
1.write address A
2.read address B
Because of ARMv8 is Weak Consistency, the processor may execute in this order:
1.read address B
2.write address A
If I wand keep the program order, I need add DSB/DMB:
2.DSB/DMB
The read and write addresses in the above example are independence.
The question is if write/read cmd is address dependency. For example, I read a data from CSR and store it in DRAM, and then read the data in DRAM to next operation:
3.read address A
Do I need add DSB/DMB between step 2 and 3 to make sure the order?
3. need DSB/DMB ?
4.read address A
Hi there, thanks for asking a question. Please let me know what forum is best suited for your question: Support forums
View all questions in Community Help forum