public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] allow drivers to flush in-flight DMA
@ 2007-09-25 23:58 akepner
  2007-09-26  6:49 ` Grant Grundler
  0 siblings, 1 reply; 5+ messages in thread
From: akepner @ 2007-09-25 23:58 UTC (permalink / raw)
  To: Grant Grundler, Jesse Barnes, Jes Sorensen, Randy Dunlap,
	David Miller, Roland Dreier
  Cc: linux-kernel



This is a followup to http://lkml.org/lkml/2007/8/24/280

Despite Grant's desire for a more elegant solution, there's 
not much new here. I moved the API change from pci.h to 
dma-mapping.h and removed the pci_ prefix from the name. 

Problem Description
-------------------
On Altix, DMA may be reordered within the NUMA interconnect.
This can be a problem with Infiniband, where DMA to Completion Queues 
allocated in user-space can race with data DMA. This patchset allows 
a driver to associate a user-space memory region with a "dmaflush" 
attribute, so that writes to the memory region flush in-flight DMA, 
preventing the CQ/data race.

There are four patches in this set:

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-28  0:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 23:58 [PATCH 0/4] allow drivers to flush in-flight DMA akepner
2007-09-26  6:49 ` Grant Grundler
2007-09-26 15:17   ` Jesse Barnes
2007-09-26 19:29   ` Roland Dreier
2007-09-28  0:27   ` akepner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox