Skip to content

pci: let devices flush DMA to host memory

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pci: add pci_dma_flags_set_dmaflush() to pci interfaceinclude/linux/pci.h+7 -00 replies
2/3pci: redefine pci_dma_flags_set_dmaflush() for sn-ia64arch/ia64/sn/pci/pci_dma.c include/asm-ia64/sn/io.h+46 -90 replies
3/3pci: document pci_dma_flags_set_dmaflush()Documentation/DMA-mapping.txt+24 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pci: let devices flush DMA to host memory

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

There are three patches in this set:

	[1/3]: add pci_dma_flags_set_dmaflush() to pci interface
	[2/3]: redefine pci_dma_flags_set_dmaflush() for sn-ia64
	[3/3]: document pci_dma_flags_set_dmaflush()

And there would be additional patches to IB drivers to make use of the interface, of course.

Signature · 1 line
Arthur