linux/kernel/dma
Christoph Hellwig a20bb05837 dma-direct: add an explicit dma_direct_get_required_mask
This is somewhat modelled after the powerpc version, and differs from
the legacy fallback in use fls64 instead of pointlessly splitting up the
address into low and high dwords and in that it takes (__)phys_to_dma
into account.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
2018-10-01 07:27:15 -07:00
..
coherent.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
contiguous.c dma-mapping: fix panic caused by passing empty cma command line argument 2018-09-20 09:01:08 +02:00
debug.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
direct.c dma-direct: add an explicit dma_direct_get_required_mask 2018-10-01 07:27:15 -07:00
Kconfig dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
Makefile dma-mapping: merge direct and noncoherent ops 2018-09-20 09:01:15 +02:00
mapping.c dma-mapping: support non-coherent devices in dma_common_get_sgtable 2018-09-20 09:01:17 +02:00
swiotlb.c swiotlb: clean up reporting 2018-07-25 13:33:05 +02:00
virt.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00