Thread (38 messages) 38 messages, 7 authors, 2018-12-05

Re: [PATCH 2/9] dma-direct: reject highmem pages from dma_alloc_from_contiguous

From: Christoph Hellwig <hch@lst.de>
Date: 2018-12-01 16:57:20
Also in: linux-iommu, lkml

On Fri, Nov 30, 2018 at 07:04:51PM +0000, Robin Murphy wrote:
On 05/11/2018 12:19, Christoph Hellwig wrote:
quoted
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 try the normal page allocator instead.
...except the actual implementation is "Detect this case and fail the 
entire allocation if so".
True, that actually changed from when I wrote the commit log due to
some layer issues.  I'll update the commit log.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help