linux-stable/kernel/dma
Marek Szyprowski a1da439cc0 dma-mapping: fix lack of DMA address assignment in generic remap allocator
Commit bfd56cd605 ("dma-mapping: support highmem in the generic remap
allocator") replaced dma_direct_alloc_pages() with __dma_direct_alloc_pages(),
which doesn't set dma_handle and zero allocated memory. Fix it by doing this
directly in the caller function.

Fixes: bfd56cd605 ("dma-mapping: support highmem in the generic remap allocator")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-12-05 05:49:10 -08: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: Check for drivers mapping invalid addresses in dma_map_single() 2018-10-08 09:44:17 +02:00
direct.c dma-direct: reject highmem pages from dma_alloc_from_contiguous 2018-12-01 17:56:08 +01: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 swiotlb: Skip cache maintenance on map error 2018-11-21 18:47:58 +01:00
virt.c