Skip to contentSkip to conversation

allow drivers to flush in-flight DMA v3

PATCH In review [email protected] 1 participant 1 message Oct 3, 2007

lore
Share & tools
lore
#0 lore raw

cover allow drivers to flush in-flight DMA v3

On Altix, DMA may be reordered between a device and host memory. This reordering can happen in the NUMA interconnect, and it usually results in correct operation and improved performance. In some situations it may be necessary to explicitly synchronize DMA from the device.

This patchset allows a memory region to be mapped with a "dmabarrier". Writes to the memory region will cause in-flight DMA to be flushed, providing a mechanism to order DMA from a device.

There are 5 patches in this patchset:

[1/5] dma: add dma_flags_set_attr() to dma interface [2/5] dma: redefine dma_flags_set_attr() for sn-ia64 [3/5] dma: document dma_flags_set_attr()
[4/5] infiniband: add "dmabarrier" argument to ib_umem_get() [5/5] mthca: allow setting "dmabarrier" on user-allocated memory

Signature · 1 line
Arthur