Skip to content

kernel/dma/direct: take DMA offset into account in dma_direct_supported

Christoph Hellwig linux-ia64 linux-iommu linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20kernel/dma/direct: take DMA offset into account in dma_direct_supportedkernel/dma/direct.c+3 -35 replies
2/20kernel/dma/direct: refine dma_direct_alloc zone selectionkernel/dma/direct.c+12 -44 replies
3/20dma-mapping: make the get_required_mask method available unconditionallydrivers/base/platform.c include/linux/dma-mapping.h+10 -30 replies
4/20ia64: remove get_required_mask implementationarch/ia64/include/asm/dma-mapping.h arch/ia64/include/asm/machvec.h arch/ia64/include/asm/machvec_init.h +3 more+2 -400 replies
5/20swiotlb: allow the architecture to provide a get_required_mask hookkernel/dma/swiotlb.c+4 -01 reply
6/20dma-noncoherent: add an optional arch hook for ->get_required_maskinclude/linux/dma-noncoherent.h kernel/dma/Kconfig kernel/dma/noncoherent.c+11 -00 replies
7/20powerpc/dma: remove the unused ARCH_HAS_DMA_MMAP_COHERENT definearch/powerpc/include/asm/dma-mapping.h+0 -21 reply
8/20powerpc/dma: remove the unused dma_nommu_ops exportarch/powerpc/kernel/dma.c+0 -14 replies
9/20powerpc/dma: remove the unused ISA_DMA_THRESHOLD exportarch/powerpc/kernel/setup_32.c+0 -11 reply
10/20powerpc/dma-noncoherent: don't disable irqs over kmap_atomicarch/powerpc/mm/dma-noncoherent.c+1 -53 replies
11/20powerpc/dma: split the two __dma_alloc_coherent implementationsarch/powerpc/include/asm/dma-mapping.h arch/powerpc/kernel/dma.c arch/powerpc/mm/dma-noncoherent.c +1 more+10 -261 reply
12/20powerpc/dma: use phys_to_dma instead of get_dma_offsetarch/powerpc/kernel/dma-swiotlb.c arch/powerpc/kernel/dma.c+8 -91 reply
13/20powerpc/dma: remove get_dma_offsetarch/powerpc/include/asm/dma-direct.h arch/powerpc/include/asm/dma-mapping.h+6 -181 reply
14/20powerpc/dma: replace dma_nommu_dma_supported with dma_direct_supportedarch/powerpc/Kconfig arch/powerpc/kernel/dma.c+4 -251 reply
15/20powerpc/dma: remove the unused unmap_page and unmap_sg methodsarch/powerpc/kernel/dma.c+0 -161 reply
16/20powerpc/dma: use dma_direct_{alloc,free}arch/powerpc/include/asm/pgtable.h arch/powerpc/kernel/dma-swiotlb.c arch/powerpc/kernel/dma.c +1 more+11 -912 replies
17/20powerpc/dma-swiotlb: use generic swiotlb_dma_opsarch/powerpc/include/asm/dma-direct.h arch/powerpc/include/asm/swiotlb.h arch/powerpc/kernel/dma-swiotlb.c +1 more+7 -293 replies
18/20powerpc/dma-noncoherent: use generic dma_noncoherent_opsarch/powerpc/Kconfig arch/powerpc/include/asm/dma-mapping.h arch/powerpc/kernel/dma.c +5 more+60 -991 reply
19/20powerpc/dma: use the generic dma-direct map_page and map_sg routinesarch/powerpc/kernel/dma.c+4 -280 replies
20/20powerpc/dma: remove dma_nommu_mmap_coherentarch/powerpc/include/asm/dma-mapping.h arch/powerpc/kernel/dma-iommu.c arch/powerpc/kernel/dma.c +1 more+0 -221 reply

Reviews trailers per patch

11 of 20 patches have a Reviewed-by or Acked-by.

PatchBenjamin HerrenschmidtKonrad Rzeszutek Wilk
1/20R-b
2/20
3/20
4/20
5/20R-b
6/20
7/20A-b
8/20
9/20A-b
10/20
11/20A-b
12/20A-b
13/20A-b
14/20
15/20A-b
16/20
17/20A-b
18/20A-b
19/20
20/20A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread