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 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5swiotlb: move from arch/ia64/lib to drivers/pciarch/ia64/Kconfig arch/ia64/lib/Makefile arch/ia64/lib/swiotlb.c +3 more+664 -6600 replies
2/5swiotlb: cleanup some code duplication cruftdrivers/pci/swiotlb.c+22 -230 replies
3/5swiotlb: support syncing sub-ranges of mappingsdrivers/pci/swiotlb.c include/asm-x86_64/swiotlb.h+41 -00 replies
4/5swiotlb: support syncing DMA_BIDIRECTIONAL mappingsdrivers/pci/swiotlb.c+40 -220 replies
5/5swiotlb: file header commentsdrivers/pci/swiotlb.c+4 -20 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/5] 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 drivers/pci

-- 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 round, the new location for swiotlb is driver/pci/swiotlb.c. This is the result of discussions on lkml pointing-out that swiotlb is closely related to PCI.

Patches to follow...