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)
commitbfd56cd605219d90b210a5377fca31a644efe95c
tree9033596e9dd81a21fa0c99a12d0f3fe869684cdc
parent0c3b3171ceccb8830c2bb5adff1b4e9b204c1450
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