Re: [PATCH V2] genalloc: add support to specify the physical address

Jean-Christophe PLAGNIOL-VILLARD
2011-05-12T18:45:04Z

On 18:38 Thu 12 May , Russell King - ARM Linux wrote:
> On Thu, Apr 28, 2011 at 09:15:35AM +0100, Russell King - ARM Linux wrote:
> > On Wed, Apr 20, 2011 at 08:54:15AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > so we specify the virtual address as base of the pool chunk and then
> > > get the physical address for hardware IP
> > >
> > > as example on at91 we will use on spi, uart or macb
> > >
> > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > > Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> > > Cc: Patrice VILCHEZ <patrice.vilchez@atmel.com>
> > > Cc: Andrew Morton <akpm@linux-foundation.org>
> > > ---
> > > Hi Andrew,
> > > I integrate the documentation fix
> > > could replace the previous one with this one
> > >
> > > V2:
> > > update documentation
> > > use phys_addr_t for physical addr
> > > Best Regards,
> >
> > I notice no comments on this - maybe it needs to be Cc'd to linux-mm too?
> >
> > Andrew - do you have any views on this?
>
> Still haven't heard anything. What's the status?
>
> If this isn't going into mainline, I'll queue up my work consolidating
> the existing ARM sram allocators instead, and when this hits we can see
> about moving stuff over to it then.
Andrew - do you plan to add it for the -next?

I also need to implement at91 sram support for ethernet, spi and other drivers

and as Russell point other ARM need it also for consolidation.

And I'll not be able to use Russell's patch as I've to manage two sram in one
allocator on at91sam9263

Tks by advance
Best Regards,
J.