Skip to content

swiotlb maintenance and x86_64 dma_sync_single_range_for_{cpu,device}

John W. Linville linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6swiotlb: move from arch/ia64/lib/ to lib/arch/ia64/Kconfig arch/ia64/lib/Makefile arch/ia64/lib/swiotlb.c +3 more+664 -6600 replies
2/6swiotlb: cleanup some code duplication cruftlib/swiotlb.c+22 -230 replies
3/6swiotlb: support syncing sub-ranges of mappingsinclude/asm-x86_64/swiotlb.h lib/swiotlb.c+41 -00 replies
4/6swiotlb: support syncing DMA_BIDIRECTIONAL mappingslib/swiotlb.c+40 -220 replies
5/6swiotlb: file header commentslib/swiotlb.c+4 -20 replies
6/6x86_64: implement dma_sync_single_range_for_{cpu,device}include/asm-x86_64/dma-mapping.h+27 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 2.6.14-rc2 0/6] swiotlb maintenance and x86_64 dma_sync_single_range_for_{cpu,device}

Conduct some maintenance of the swiotlb code:

-- Move the code from arch/ia64/lib/ to lib/

-- Cleanup some cruft (code duplication)

-- Add support for syncing sub-ranges of mappings

-- Add support for syncing DMA_BIDIRECTIONAL mappings

-- Comment fixup & change record

Also, tack-on an x86_64 implementation of dma_sync_single_range_for_cpu and dma_sync_single_range_for _device. This makes use of the new swiotlb sync sub-range support.

In this (third) round, the new location for swiotlb is (again) lib/swiotlb.c.

This set does NOT include the PCI excision that Tony Luck started after the last round of discussion.

Patches to follow...