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

From: Sylvain Rochet
Date: Thu Mar 12 2015 - 14:53:45 EST


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
--
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/