aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-04-23 17:20:24 +0000
committerChristoph Hellwig <[email protected]>2022-05-11 17:48:34 +0000
commit92826e967535db2eb117db227b1191aaf98e4bb3 (patch)
tree2fb3ee8b76f889d97696455041fdc031f871d9ed /drivers/fpga/machxo2-spi.c
parentswiotlb-xen: fix DMA_ATTR_NO_KERNEL_MAPPING on arm (diff)
downloadkernel-92826e967535db2eb117db227b1191aaf98e4bb3.tar.gz
kernel-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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions