Memory cards
DMA bypasses the CPU cache and needs ownership rules
confidence: highupdated: 2026-11-25status: activehardwaredmacoherency
Claim#
The device writes memory the CPU may have cached. A coherent mapping or an explicit flush keeps them in sync.
Test#
Start a DMA transfer. Read the buffer immediately. Check for stale data.
Proof#
A buffer with a correct flush or a coherent mapping.
Failure modes#
A non-coherent platform returns stale cache lines. A buffer freed during DMA corrupts memory.