linux/kernel/dma
Nicolas Saenz Julienne 81e9d894e0 dma-pool: make sure atomic pool suits device
When allocating DMA memory from a pool, the core can only guess which
atomic pool will fit a device's constraints. If it doesn't, get a safer
atomic pool and try again.

Fixes: c84dc6e68a ("dma-pool: add additional coherent pools to map to gfp mask")
Reported-by: Jeremy Linton <jeremy.linton@arm.com>
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2020-07-14 15:42:33 +02:00
..
coherent.c dma-coherent: fix integer overflow in the reserved-memory dma allocation 2020-03-16 10:43:02 +01:00
contiguous.c dma-contiguous: fix comment for dma_release_from_contiguous 2020-04-25 13:17:06 +02:00
debug.c dma-debug: make __dma_entry_alloc_check_leak() static 2020-04-20 12:05:18 +02:00
direct.c dma-direct: provide function to check physical memory area validity 2020-07-14 15:42:24 +02:00
dummy.c dma-mapping: factor out dummy DMA ops 2018-12-13 21:06:12 +01:00
Kconfig dma-mapping: DMA_COHERENT_POOL should select GENERIC_ALLOCATOR 2020-06-23 14:13:58 +02:00
Makefile dma-remap: separate DMA atomic pools from direct remap code 2020-04-20 12:08:45 +02:00
mapping.c dma-mapping: Add a new dma_need_sync API 2020-06-30 15:44:03 +02:00
pool.c dma-pool: make sure atomic pool suits device 2020-07-14 15:42:33 +02:00
remap.c dma-remap: align the size in dma_common_*_remap() 2020-06-23 14:14:41 +02:00
swiotlb.c dma-direct: improve swiotlb error reporting 2020-02-05 18:53:05 +01:00
virt.c dma-mapping: zero memory returned from dma_alloc_* 2018-12-20 08:13:52 +01:00