[PATCH 2/6] pm: at91: move the copying the sram function to the sram initializationi phase

Sylvain Rochet sylvain.rochet at finsecur.com
Thu Mar 12 11:53:36 PDT 2015


Hello Wenyou,

On Sat, Mar 07, 2015 at 12:22:24AM +0100, Sylvain Rochet wrote:
> Hello Wenyou,
> 
> On Thu, Feb 12, 2015 at 10:46:49AM +0800, Wenyou Yang wrote:
> > To decrease the suspend time, move copying the sram function to the sram
> > initialization phase, instead of every time go to suspend.
> > 
> > In the meanwhile, substitute fncpy() for memcpy().
> > 
> > If there is no sram allocated for PM, the PM is not supported.
> 
> My board doesn't boot anymore with this change, I am not equipped enough 
> to debug more, looks like fncpy() is writing the function on top of 
> existing kernel code.
> 
> You said you had issues with fncpy(), I guess I am having the issue you 
> had.

A make clean later, it works… sorry for the mess.

Sylvain



More information about the linux-arm-kernel mailing list