Skip to content
Commit 92826e96 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: don't fail on highmem CMA pages in dma_direct_alloc_pages

When dma_direct_alloc_pages encounters a highmem page it just gives up
currently.  But what we really should do is to try memory using the
page allocator instead - without this platforms with a global highmem
CMA pool will fail all dma_alloc_pages allocations.

Fixes: efa70f2f

 ("dma-mapping: add a new dma_alloc_pages API")
Reported-by: default avatarMark O'Neill <mao@tumblingdice.co.uk>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 566fb90e
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