Dev Tools · 2h ago
Linux DMA Mapping API: Coherent vs Streaming Explained
The Linux DMA mapping API translates CPU buffers into bus addresses for device use and handles cache coherency on non-coherent architectures. Coherent mappings are for long-lived control structures, while streaming mappings are for bulk data transferred per I/O. The API's dma-direct fast path and CONFIG_DMA_API_DEBUG help validate driver correctness.
Meridian48 take
A deep technical dive for embedded Linux developers, but too niche for a general tech audience.
Read the full reporting
Coherent vs Streaming DMA: A Deep Dive into the Linux DMA Mapping API →
DEV Community
linux-kerneldma-api