Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: frank.hofmann@tomtom.com (Frank Hofmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v2] Current status, suspend-to-disk support on ARM
Date: Tue, 5 Apr 2011 13:22:33 +0100 (BST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1104051315240.690@localhost6.localdomain6> (raw)
In-Reply-To: <alpine.DEB.2.00.1104041424310.690@localhost6.localdomain6>


Updated version of yesterday's core ARM hibernation code bits.

I've found that the use of cpu_switch_mm() breaks resume on OMAP3; leaving 
it out for now. It's unnecessary for direct resume (via kernel command 
line or TuxOnIce), only needed for uswsusp.

Also, me bad, apologies for posting refactored code one too early ... I've 
tried many ways of getting the actual swsusp_arch_suspend/resume 
entrypoints to be C code (and only the absolute essentials assembly), but 
for the case of swsusp_arch_suspend, assembly entry is mandatory because 
the framework relies on resuming into to the caller (i.e. no change can be 
made to the return address / LR reg before storing it, that makes it 
impossible to use a C wrapper function).

Thanks for any thoughts, feedback, reviews on this.

FrankH.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hibernate-core-05Apr2011.patch
Type: text/x-diff
Size: 9758 bytes
Desc: 
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110405/ed330412/attachment-0001.bin>

  parent reply	other threads:[~2011-04-05 12:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 14:47 [RFC PATCH] Current status, suspend-to-disk support on ARM Frank Hofmann
2011-04-04 15:06 ` Frank Hofmann
2011-04-05 12:22 ` Frank Hofmann [this message]
2011-04-12  5:59 ` Pavel Machek
2011-04-12 16:30   ` Frank Hofmann
2011-04-12 18:32     ` Pavel Machek
2011-04-13 13:36       ` Frank Hofmann
2011-04-13 21:38         ` Rafael J. Wysocki
2011-04-14 17:06           ` Frank Hofmann
2011-04-18  5:48             ` [TuxOnIce-devel] " Matt Hsu
2011-04-19 18:13               ` Frank Hofmann
2011-04-20  7:14                 ` Matt Hsu
2011-04-21  4:55                   ` [linux-pm] " MyungJoo Ham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1104051315240.690@localhost6.localdomain6 \
    --to=frank.hofmann@tomtom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox