linux_dsm_epyc7002/arch/arc
Vladimir Murzin 43fc509c3e dma-coherent: introduce interface for default DMA pool
Christoph noticed [1] that default DMA pool in current form overload
the DMA coherent infrastructure. In reply, Robin suggested [2] to
split the per-device vs. global pool interfaces, so allocation/release
from default DMA pool is driven by dma ops implementation.

This patch implements Robin's idea and provide interface to
allocate/release/mmap the default (aka global) DMA pool.

To make it clear that existing *_from_coherent routines work on
per-device pool rename them to *_from_dev_coherent.

[1] https://lkml.org/lkml/2017/7/7/370
[2] https://lkml.org/lkml/2017/7/7/431

Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Andras Szemzo <sza@esh.hu>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-07-20 16:09:10 +02:00
..
boot arc: axs10x: Fix ARC PGU default clock frequency 2017-04-27 12:08:28 -07:00
configs arc: vdk: Add support of UIO 2017-02-06 09:37:57 -08:00
include arc: move generic-y of exported headers to uapi/asm/Kbuild 2017-07-10 03:43:21 +09:00
kernel clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
lib ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
mm dma-coherent: introduce interface for default DMA pool 2017-07-20 16:09:10 +02:00
oprofile
plat-axs10x ARC: move mcip.h into include/soc and adjust the includes 2016-11-30 11:54:25 -08:00
plat-eznps ARC: [plat-*] ARC_HAS_COH_CACHES no longer relevant 2017-02-06 09:37:57 -08:00
plat-sim ARC: [plat-*] ARC_HAS_COH_CACHES no longer relevant 2017-02-06 09:37:57 -08:00
plat-tb10x arc: select GPIOLIB directly 2016-04-26 14:07:59 +02:00
Kbuild
Kconfig Revert "ARCv2: Allow enabling PAE40 w/o HIGHMEM" 2017-05-05 13:49:41 -07:00
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile arc: Use full path in KBUILD_IMAGE definition 2017-03-20 22:42:20 +09:00