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

2010-12-27 Thread Janusz Krzysztofik
Sunday 26 December 2010 18:45:00 Guennadi Liakhovetski wrote: > On Sat, 25 Dec 2010, Janusz Krzysztofik wrote: > > [snip] > > > > Passing the virtual address allows the API to become much more > > > flexible. Not only that, it allows it to be used on ARM, rather > > > than becoming (as it currently

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

2010-12-26 Thread Guennadi Liakhovetski
On Sat, 25 Dec 2010, Janusz Krzysztofik wrote: [snip] > > Passing the virtual address allows the API to become much more > > flexible. Not only that, it allows it to be used on ARM, rather than > > becoming (as it currently stands) prohibited on ARM. > > > > I believe that putting ioremap() insid

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

2010-12-24 Thread Janusz Krzysztofik
Friday 24 December 2010 16:41:20 Russell King - ARM Linux napisał(a): > On Fri, Dec 24, 2010 at 02:55:25PM +0100, Janusz Krzysztofik wrote: > > Friday 24 December 2010 14:02:00 Russell King - ARM Linux wrote: > > > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > > > The pat

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

2010-12-24 Thread Russell King - ARM Linux
On Fri, Dec 24, 2010 at 02:55:25PM +0100, Janusz Krzysztofik wrote: > Friday 24 December 2010 14:02:00 Russell King - ARM Linux wrote: > > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > > The patch tries to implement a solution suggested by Russell King, > > > http://lists.

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

2010-12-24 Thread Janusz Krzysztofik
Friday 24 December 2010 14:02:00 Russell King - ARM Linux wrote: > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > The patch tries to implement a solution suggested by Russell King, > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December > >/035264.html. It i

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

2010-12-24 Thread Russell King - ARM Linux
On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > The patch tries to implement a solution suggested by Russell King, > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html. > > It is expected to solve video buffer allocation issues for at least a >

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

2010-12-23 Thread Paul Mundt
On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > Tested on ARM OMAP1 based Amstrad Delta with a WIP OMAP1 camera patch, > patterned upon two mach-mx3 machine types which already try to use the > dma_declare_coherent_memory() method for reserving a region of system > RAM prea

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

2010-12-23 Thread Janusz Krzysztofik
Friday 24 December 2010 00:54:34 Russell King - ARM Linux napisał(a): > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > The patch tries to implement a solution suggested by Russell King, > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December > >/035264.html.

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

2010-12-23 Thread Paul Mundt
On Thu, Dec 23, 2010 at 11:54:34PM +, Russell King - ARM Linux wrote: > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > The patch tries to implement a solution suggested by Russell King, > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html

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

2010-12-23 Thread Russell King - ARM Linux
On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > The patch tries to implement a solution suggested by Russell King, > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html. > > It is expected to solve video buffer allocation issues for at least a >

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

2010-12-23 Thread Janusz Krzysztofik
The patch tries to implement a solution suggested by Russell King, http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html. It is expected to solve video buffer allocation issues for at least a few soc_camera I/O memory less host interface drivers, designed around the v