[RFC PATCH v2] Consolidate SRAM support

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Apr 19 19:20:38 EDT 2011


On Tue, Apr 19, 2011 at 09:05:57PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 17:18 Tue 19 Apr     , Russell King - ARM Linux wrote:
> > On Tue, Apr 19, 2011 at 06:01:35PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > Hi,
> > > 
> > > 	I do post a patch to add the support to specify a virt and phys
> > > 	address to the generic allocator so the pv-pool.c is not needed
> > > 	we can just use the generic fucntion
> > 
> > You've talked about this before in the thread, but the patch never appeared.
> I forget to re-send it sorry
> it's the mm tree

One obvious issue here is that you're using 'unsigned long' for phys
addresses.  With LPAE we could start seeing SRAM outside of the 4GB
PA range, and so would need this to be phys_addr_t.



More information about the linux-arm-kernel mailing list