]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: support highmem in the generic remap allocator
authorChristoph Hellwig <hch@lst.de>
Sun, 4 Nov 2018 16:38:39 +0000 (17:38 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 1 Dec 2018 17:07:14 +0000 (18:07 +0100)
commitad173432b3e7cb47a62c564fd6ad38311306371f
tree9033596e9dd81a21fa0c99a12d0f3fe869684cdc
parent93f04574961d8d707c1785ae1907ea25b64f8514
dma-mapping: support highmem in the generic remap allocator

By using __dma_direct_alloc_pages we can deal entirely with struct page
instead of having to derive a kernel virtual address.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
kernel/dma/remap.c