Re: [PATCH] dma_declare_coherent_memory: push ioremap() up to caller

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Russell King - ARM Linux
Date: Thursday, December 23, 2010 - 4:54 pm

On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote:

There's no problem quoting messages which were sent to public mailing
lists, especially when there's a record of what was said in public
archives too.

I think this is definitely a step forward.


A side note for the mx3 folk: although it's not specified in DMA-API,
memory allocated from dma_alloc_coherent() on ARM is already memset
to zero by the allocation function.


I didn't see anything changing the dev->dma_mem->virt_base type to
drop the __iomem attribute (which I suspect shouldn't be there - we're
returning it via a void pointer anyway, so I think the whole coherent
part of the DMA API should be __iomem-less.

It also pushes the sparse address space warnings to the right place
IMHO too.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] dma_declare_coherent_memory: push ioremap() up to ..., Janusz Krzysztofik, (Thu Dec 23, 4:20 pm)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Russell King - ARM Linux, (Thu Dec 23, 4:54 pm)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Janusz Krzysztofik, (Thu Dec 23, 6:08 pm)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Russell King - ARM Linux, (Fri Dec 24, 6:02 am)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Janusz Krzysztofik, (Fri Dec 24, 6:55 am)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Russell King - ARM Linux, (Fri Dec 24, 8:41 am)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Janusz Krzysztofik, (Fri Dec 24, 4:24 pm)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Guennadi Liakhovetski, (Sun Dec 26, 10:45 am)
Re: [PATCH] dma_declare_coherent_memory: push ioremap() up ..., Janusz Krzysztofik, (Mon Dec 27, 3:29 am)