Thread (28 messages) 28 messages, 4 authors, 2020-11-24

RE: [PATCH 8/8] WIP: add a dma_alloc_contiguous API

From: David Laight <hidden>
Date: 2020-10-14 15:03:40
Also in: linux-iommu, linux-media, lkml

On Wed, Sep 30, 2020 at 6:09 PM Christoph Hellwig [off-list ref] wrote:
quoted
Add a new API that returns a virtually non-contigous array of pages
and dma address.  This API is only implemented for dma-iommu and will
not be implemented for non-iommu DMA API instances that have to allocate
contiguous memory.  It is up to the caller to check if the API is
available.
Isn't there already a flag that is only implemented for ARM
systems with iommu that forces pages to actually be physically
contiguous?

So isn't this some kind of strange opposite?

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help