[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190205161036.GA782@lst.de>
Date: Tue, 5 Feb 2019 17:10:36 +0100
From: Christoph Hellwig <hch@....de>
To: Thierry Reding <thierry.reding@...il.com>
Cc: Christoph Hellwig <hch@....de>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dma-direct: Export dma_direct_alloc() and
dma_direct_free()
On Tue, Feb 05, 2019 at 12:06:02PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@...dia.com>
>
> Drivers that are built as modules may want to use these functions, so
> make them available like the rest of the functions.
>
> Signed-off-by: Thierry Reding <treding@...dia.com>
How do they want to use these functions? The proper way is to
call dma_alloc_coherent / dma_alloc_free and let the DMA API
handle the rest.
Powered by blists - more mailing lists