I think I thought the cache was a write-back cache, and was trying to make sure memory was consistent if I wanted to turn off the cache before inspecting areas of memory used by DMA. I have some regions non-cachable/guarded with the MPU, but wanted to see if I could get away with turning off the cache in a few cases since I was running low on region descriptors.
If the cache doesn't cache writes, I guess I am fine with just turning it off without losing data.
Ok, so if all writes are write-through, is there any advantage to setting DCWA to 1? Would it allocate that cache line for future reads near (within a cache line) that write, before I start reading? More of an eviction strategy hint?