linux-stable/kernel/dma
Robin Murphy ceb51173b2 dma-debug: Make leak-like behaviour apparent
Now that we can dynamically allocate DMA debug entries to cope with
drivers maintaining excessively large numbers of live mappings, a driver
which *does* actually have a bug leaking mappings (and is not unloaded)
will no longer trigger the "DMA-API: debugging out of memory - disabling"
message until it gets to actual kernel OOM conditions, which means it
could go unnoticed for a while. To that end, let's inform the user each
time the pool has grown to a multiple of its initial size, which should
make it apparent that they either have a leak or might want to increase
the preallocation size.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Qian Cai <cai@lca.pw>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-12-11 14:31:18 +01:00
..
coherent.c
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-debug: Make leak-like behaviour apparent 2018-12-11 14:31:18 +01:00
direct.c dma-direct: remove the mapping_error dma_map_ops method 2018-12-06 06:56:36 -08:00
Kconfig dma-mapping: move the arm64 noncoherent alloc/free support to common code 2018-12-01 18:07:11 +01:00
Makefile dma-mapping: move the remap helpers to a separate file 2018-12-01 17:58:34 +01:00
mapping.c dma-mapping: move the remap helpers to a separate file 2018-12-01 17:58:34 +01:00
remap.c dma-mapping: fix lack of DMA address assignment in generic remap allocator 2018-12-05 05:49:10 -08:00
swiotlb.c dma-direct: remove the mapping_error dma_map_ops method 2018-12-06 06:56:36 -08:00
virt.c