[PATCH 0/4] allow drivers to flush in-flight DMA v2

From: akepner
Date: Thu Sep 27 2007 - 21:10:37 EST



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 4 patches in this patchset:

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

--
Arthur

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/