ARM hibernation / suspend-to-disk
Russ Dill
Russ.Dill at ti.com
Wed May 29 13:23:41 EDT 2013
On 05/29/2013 01:10 AM, Jan Glauber wrote:
> Hi list,
>
> what's the status of suspend-to-disk on ARM? The most recent discussion I
> found is:
> http://lists.linuxfoundation.org/pipermail/linux-pm/2012-November/034997.html
>
> with no replies at all. Is anyone still working on that? Anyone got it running?
>
> I tried the patch above (on top of LTS 3.4) and got stuck forever, the last
> thing on the console was:
>
> root at omap5:/sys/power# echo disk > state
> [ 2015.641540] PM: Syncing filesystems ... done.
> [ 2015.666870] PM: Preallocating image memory... done (allocated 16957 pages)
> [ 2016.062011] PM: Allocated 67828 kbytes in 0.38 seconds (178.49 MB/s)
>
> Any hint how to debug that?
>
> thanks,
> Jan
>
Because of the nature of omap5 PM, you'd need omap5 specific support in
order for this to work. Specifically, there are a number of assumptions
about certain power domains never losing state. You can take a look at
the work I did to get this working on am335x here:
https://github.com/russdill/linux/commits/arm-hibernation-am33xx
For ARM hibernation support to get merged, there needs to be at least
one platform that supports it. the am335x code I have is not ready as it
still relies on PM patchsets that have not yet themselves been merged.
More information about the linux-arm-kernel
mailing list