linux-sg2042/arch
Christoph Hellwig 55897af630 dma-direct: merge swiotlb_dma_ops into the dma_direct code
While the dma-direct code is (relatively) clean and simple we actually
have to use the swiotlb ops for the mapping on many architectures due
to devices with addressing limits.  Instead of keeping two
implementations around this commit allows the dma-direct
implementation to call the swiotlb bounce buffering functions and
thus share the guts of the mapping implementation.  This also
simplified the dma-mapping setup on a few architectures where we
don't have to differenciate which implementation to use.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
2018-12-13 21:06:17 +01:00
..
alpha dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
arc dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
arm dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
arm64 dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
c6x dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
csky dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
h8300 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
hexagon dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
ia64 dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
m68k dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
microblaze dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
mips dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
nds32 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
nios2 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
openrisc dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
parisc dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
powerpc dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
riscv dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
s390 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
sh dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
sparc dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
um for-linus-20181109 2018-11-09 16:31:51 -06:00
unicore32 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
x86 dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
xtensa dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
.gitignore
Kconfig New gcc plugin: stackleak 2018-11-01 11:46:27 -07:00