1
0
Fork 0
alistair23-linux/arch/mips/jazz
Christoph Hellwig f9f3232a7d dma-mapping: explicitly wire up ->mmap and ->get_sgtable
While the default ->mmap and ->get_sgtable implementations work for the
majority of our dma_map_ops impementations they are inherently safe
for others that don't use the page allocator or CMA and/or use their
own way of remapping not covered by the common code.  So remove the
defaults if these methods are not wired up, but instead wire up the
default implementations for all safe instances.

Fixes: e1c7e32453 ("dma-mapping: always provide the dma_map_ops based implementation")
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-09-04 11:13:18 +02:00
..
Kconfig MIPS: jazz: split dma mapping operations from dma-default 2018-06-24 09:27:27 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: Jazz: Migrate to new platform makefile style. 2010-08-05 13:25:48 +01:00
irq.c MIPS: Jazz: Migrate to new 'set-state' interface 2015-09-03 12:07:50 +02:00
jazzdma.c dma-mapping: explicitly wire up ->mmap and ->get_sgtable 2019-09-04 11:13:18 +02:00
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.c mips/jazz: provide missing dma_mask/coherent_dma_mask 2018-07-12 08:58:31 -07:00