summaryrefslogtreecommitdiffstats
path: root/kernel/dma/debug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-04-23 19:20:24 +0200
committerChristoph Hellwig <hch@lst.de>2022-05-11 19:48:34 +0200
commit92826e967535db2eb117db227b1191aaf98e4bb3 (patch)
tree2fb3ee8b76f889d97696455041fdc031f871d9ed /kernel/dma/debug.c
parentswiotlb-xen: fix DMA_ATTR_NO_KERNEL_MAPPING on arm (diff)
downloadlinux-92826e967535db2eb117db227b1191aaf98e4bb3.tar.xz
linux-92826e967535db2eb117db227b1191aaf98e4bb3.zip
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: efa70f2fdc84 ("dma-mapping: add a new dma_alloc_pages API") Reported-by: Mark O'Neill <mao@tumblingdice.co.uk> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/debug.c')
0 files changed, 0 insertions, 0 deletions