linux/arch/riscv
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
..
boot RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00
configs RISC-V: defconfig: Enable printk timestamps 2018-11-12 17:16:10 -08:00
include dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
kernel RISC-V: recognize S/U mode bits in print_isa 2018-11-20 05:19:28 -08:00
lib RISC-V: lib: Fix build error for 64-bit 2018-11-12 18:09:55 -08:00
mm mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
Kconfig dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
Kconfig.debug RISC-V: Cosmetic menuconfig changes 2018-10-22 17:38:20 -07:00
Makefile RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00