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

From: Paul Mundt
Date: Thu Dec 23 2010 - 19:04:04 EST


On Thu, Dec 23, 2010 at 11:54:34PM +0000, 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 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 videobuf_dma_contig layer, which allocates video buffers using
> > dma_alloc_coherent().
> >
> > Created against linux-2.6.37-rc5.
> >
> > 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 preallocated with another dma_alloc_coherent(). Compile tested for
> > all modified files except arch/sh/drivers/pci/fixups-dreamcast.c.
> >
> > Signed-off-by: Janusz Krzysztofik <jkrzyszt@xxxxxxxxxxxx>
> > ---
> > I intended to quote Russell in my commit message and even asked him for
> > his permission, but since he didn't respond, I decided to include a link
> > to his original message only.
>
> 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.
>
The -tip folks have started using LKML-Reference tags to help with this,
although I don't believe its usage is officially documented anywhere.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/