[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140604141416.GD5004@htj.dyndns.org>
Date: Wed, 4 Jun 2014 10:14:16 -0400
From: Tejun Heo <tj@...nel.org>
To: Joerg Roedel <joro@...tes.org>
Cc: Shuah Khan <shuah.kh@...sung.com>,
Eli Billauer <eli.billauer@...il.com>,
devel@...verdev.osuosl.org, gregkh@...uxfoundation.org,
bhelgaas@...gle.com, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, iommu@...ts.linux-foundation.org,
discuss@...-64.org
Subject: Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for
dma_map_single()
Hello,
On Wed, Jun 04, 2014 at 04:12:11PM +0200, Joerg Roedel wrote:
> Yes, but those drivers usually get DMA buffers at init time with the
> dma_alloc_* interfaces. The dma_map_* interfaces discussed here belong
> to the streaming DMA-API, so they are usually used for only one DMA
> transaction before dma_unmap_* is called on them.
>
> A devm interface for the dma_alloc_* family of functions would
> actually make sense, but not for the dma_map_* functions.
Ah, okay. Fair enough.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists