Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-19 Thread Jean-Christophe PLAGNIOL-VILLARD
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 I'll post a v3 updated again it Best Regards, J. --- /dev/null +++

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-19 Thread Russell King - ARM Linux
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

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-19 Thread Jean-Christophe PLAGNIOL-VILLARD
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

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-19 Thread Russell King - ARM Linux
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

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-19 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:20 Wed 20 Apr , Russell King - ARM Linux wrote: 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:

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-18 Thread Russell King - ARM Linux
This is the second revision of this patch. I've not moved it out of ARM yet as I haven't had a positive response from SH yet. It's now called pv_pool (for phys/virt pool) rather than sram_pool, and I've included MXC's iram support in this. Hopefully, if OMAP can remove the FB stuff from SRAM we

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-18 Thread Haojian Zhuang
On Mon, Apr 18, 2011 at 4:52 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: This is the second revision of this patch.  I've not moved it out of ARM yet as I haven't had a positive response from SH yet. It's now called pv_pool (for phys/virt pool) rather than sram_pool, and I've

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-18 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110418 11:50]: This is the second revision of this patch. I've not moved it out of ARM yet as I haven't had a positive response from SH yet. It's now called pv_pool (for phys/virt pool) rather than sram_pool, and I've included MXC's iram

RE: [RFC PATCH v2] Consolidate SRAM support

2011-04-18 Thread Nori, Sekhar
Hi Russell, On Mon, Apr 18, 2011 at 14:22:59, Russell King - ARM Linux wrote: This is the second revision of this patch. I've not moved it out of ARM yet as I haven't had a positive response from SH yet. I was able to test this on DaVinci (DA850 suspend-to-RAM) with the following additional

Re: [RFC PATCH v2] Consolidate SRAM support

2011-04-18 Thread Russell King - ARM Linux
On Mon, Apr 18, 2011 at 09:42:10PM +0530, Nori, Sekhar wrote: I was able to test this on DaVinci (DA850 suspend-to-RAM) with the following additional changes: There was a sram_free call remaining in pm.c file. Hmm, wonder why my build for DaVinci didn't pick that up. Thanks for that and