Re: [Question] SuspendToDisk Feature on ARM ?

From: Eric Miao
Date: Fri Jun 18 2010 - 00:16:13 EST


On Thu, Jun 17, 2010 at 10:08 PM, sumeet linux <sumeet4linux@xxxxxxxxx> wrote:
> Hi List,
>
> Does there exists a support for Suspend To Disk (Hibernate) for ARM
> platforms?
> I have been googling for it but could not find any information other than
> some links to the suspend2 support for some ancient kernels.
> Can anyone provide any clue on how much effort is required to implement this
> feature to ARM architecture ?
>

Marvell has done a great job on this for a preliminary enabling on their Dove
processor, please have a look into:

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=shortlog;h=refs/heads/mvl-dove

arch/arm/mach-dove/swsusp.S

The code, mostly, is generic enough to be made common if you are
interested and have other platforms (with HDD or large NAND) to
test. x86 is, of course, the reference.
--
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/