We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
Does Armv7-A have a write buffer?
If yes, when will the write buffer be drained and what's the purpose of write buffer?
The TRM mentions three types of buffers:
The last one is your write buffer.
It will merge writes from L/S unit to nearby memory locations.
It can be drained with a DSB.
See https://community.arm.com/tools/f/discussions/1031/armv7-34-write-buffer-34-issue
OK.
Thank you very much.
I have another question. DMB is enough to drain store buffer, am I right?
DMB ensures ordering only.
It will not "wait" for the write buffer.
See https://community.arm.com/processors/f/discussions/3287/questions-regarding-dmb-dsb-and-isb
Thank you!