Skip to content
Commit 704f2c20 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: reject highmem pages from dma_alloc_from_contiguous



dma_alloc_from_contiguous can return highmem pages depending on the
setup, which a plain non-remapping DMA allocator can't handle.  Detect
this case and fail the allocation.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent b18814e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment