* CMA on AArch64
@ 2013-11-20 21:41 Laura Abbott
2013-11-21 12:06 ` Catalin Marinas
0 siblings, 1 reply; 6+ messages in thread
From: Laura Abbott @ 2013-11-20 21:41 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I noticed there is currently no CMA support for AArch64. Is this already
on someone's TODO list or is this still open?
Thanks,
Laura
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 6+ messages in thread
* CMA on AArch64
2013-11-20 21:41 CMA on AArch64 Laura Abbott
@ 2013-11-21 12:06 ` Catalin Marinas
2013-11-21 12:11 ` Russell King - ARM Linux
2014-02-26 9:50 ` [Linaro-mm-sig] " Hwang Chih-Chyuan
0 siblings, 2 replies; 6+ messages in thread
From: Catalin Marinas @ 2013-11-21 12:06 UTC (permalink / raw)
To: linux-arm-kernel
Hi Laura,
On Wed, Nov 20, 2013 at 09:41:18PM +0000, Laura Abbott wrote:
> I noticed there is currently no CMA support for AArch64. Is this already
> on someone's TODO list or is this still open?
It's more like a wish list but there were other things that took
priority. The arm64 DMA mapping code currently only supports swiotlb and
our next plan is for IOMMU mapping. But I would like parts of the DMA
IOMMU code under arch/arm to be made into a library (similar to the
lib/swiotlb.c) so that other architectures can easily make use of it.
Yet another feature is DMA cache coherency management (primarily
streaming DMA) and I have a patch but I want this driven via DT rather
than drivers or SoC code calling set_dma_ops explicitly (the bindings
definition is work in progress).
Anyway, I think the CMA support wouldn't interfere much with the above
and could be merged. If you have time, please feel free to send some
patches ;).
--
Catalin
^ permalink raw reply [flat|nested] 6+ messages in thread
* CMA on AArch64
2013-11-21 12:06 ` Catalin Marinas
@ 2013-11-21 12:11 ` Russell King - ARM Linux
2013-11-21 12:37 ` Catalin Marinas
2014-02-26 9:50 ` [Linaro-mm-sig] " Hwang Chih-Chyuan
1 sibling, 1 reply; 6+ messages in thread
From: Russell King - ARM Linux @ 2013-11-21 12:11 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Nov 21, 2013 at 12:06:00PM +0000, Catalin Marinas wrote:
> Hi Laura,
>
> On Wed, Nov 20, 2013 at 09:41:18PM +0000, Laura Abbott wrote:
> > I noticed there is currently no CMA support for AArch64. Is this already
> > on someone's TODO list or is this still open?
>
> It's more like a wish list but there were other things that took
> priority. The arm64 DMA mapping code currently only supports swiotlb and
> our next plan is for IOMMU mapping. But I would like parts of the DMA
> IOMMU code under arch/arm to be made into a library (similar to the
> lib/swiotlb.c) so that other architectures can easily make use of it.
If you're referring to dmabounce.c, that's a 100% no-way-ever-even-if-
hell-freezes-over NACK.
^ permalink raw reply [flat|nested] 6+ messages in thread
* CMA on AArch64
2013-11-21 12:11 ` Russell King - ARM Linux
@ 2013-11-21 12:37 ` Catalin Marinas
0 siblings, 0 replies; 6+ messages in thread
From: Catalin Marinas @ 2013-11-21 12:37 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Nov 21, 2013 at 12:11:35PM +0000, Russell King - ARM Linux wrote:
> On Thu, Nov 21, 2013 at 12:06:00PM +0000, Catalin Marinas wrote:
> > On Wed, Nov 20, 2013 at 09:41:18PM +0000, Laura Abbott wrote:
> > > I noticed there is currently no CMA support for AArch64. Is this already
> > > on someone's TODO list or is this still open?
> >
> > It's more like a wish list but there were other things that took
> > priority. The arm64 DMA mapping code currently only supports swiotlb and
> > our next plan is for IOMMU mapping. But I would like parts of the DMA
> > IOMMU code under arch/arm to be made into a library (similar to the
> > lib/swiotlb.c) so that other architectures can easily make use of it.
>
> If you're referring to dmabounce.c, that's a 100% no-way-ever-even-if-
> hell-freezes-over NACK.
Does dmabounce.c implement IOMMU support? I'm talking about functions
like __alloc_iova, __iommu_create_mapping etc.
The generic swiotlb code has enough bouncing capabilities for my needs.
--
Catalin
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Linaro-mm-sig] CMA on AArch64
2013-11-21 12:06 ` Catalin Marinas
2013-11-21 12:11 ` Russell King - ARM Linux
@ 2014-02-26 9:50 ` Hwang Chih-Chyuan
2014-02-26 12:08 ` Catalin Marinas
1 sibling, 1 reply; 6+ messages in thread
From: Hwang Chih-Chyuan @ 2014-02-26 9:50 UTC (permalink / raw)
To: linux-arm-kernel
> Yet another feature is DMA cache coherency management (primarily
> streaming DMA) and I have a patch but I want this driven via DT rather
> than drivers or SoC code calling set_dma_ops explicitly (the bindings
> definition is work in progress).
>
Hi Catalin,
Is there the plan or the progress about this part (streaming DMA)? :)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-02-26 12:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 21:41 CMA on AArch64 Laura Abbott
2013-11-21 12:06 ` Catalin Marinas
2013-11-21 12:11 ` Russell King - ARM Linux
2013-11-21 12:37 ` Catalin Marinas
2014-02-26 9:50 ` [Linaro-mm-sig] " Hwang Chih-Chyuan
2014-02-26 12:08 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).