[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140606160103.GG15110@kroah.com>
Date: Fri, 6 Jun 2014 09:01:03 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Eli Billauer <eli.billauer@...il.com>
Cc: Joerg Roedel <joro@...tes.org>, devel@...verdev.osuosl.org,
Shuah Khan <shuah.kh@...sung.com>, discuss@...-64.org,
linux-kernel@...r.kernel.org, bhelgaas@...gle.com,
iommu@...ts.linux-foundation.org, linux-pci@...r.kernel.org,
Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for
dma_map_single()
On Fri, Jun 06, 2014 at 02:45:06PM +0300, Eli Billauer wrote:
> Hello Joerg.
>
>
> On 05/06/14 00:25, Joerg Roedel wrote:
> >
> >What you are trying to do should work with dma_alloc_noncoherent(). The
> >API allows partial syncs on this memory, so you should be fine.
> Please try to put yourself in my position: I have a driver that I care
> about, which works fine for a few years. It's based upon dma_map_single(),
> which seems to be the common way to get non-coherent memory, even for the
> driver's entire lifespan. I realize that dma_alloc_* was the intended way to
> do it, but fact is that dma_map_* has become the common choice.
Is your driver in the kernel tree? If not, you really are on your own :(
greg k-h
--
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