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

From: Jean-Christophe PLAGNIOL-VILLARD
Date: Thu May 12 2011 - 14:45:08 EST


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@xxxxxxxxxxxx>
> > > Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> > > Cc: Patrice VILCHEZ <patrice.vilchez@xxxxxxxxx>
> > > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > > ---
> > > 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.
--
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/