From: Anton Vorontsov <avorontsov@ru•mvista.com>
To: Kumar Gala <galak@kernel•crashing.org>
Cc: Scott Wood <scottwood@freescale•com>,
linuxppc-dev@ozlabs•org, Timur Tabi <timur@freescale•com>,
Jason Jin <Jason.jin@freescale•com>
Subject: Re: [PATCH 1/2] [POWERPC] 86xx: suspend support
Date: Tue, 15 Jul 2008 20:49:56 +0400 [thread overview]
Message-ID: <20080715164956.GA11917@polina.dev.rtsoft.ru> (raw)
In-Reply-To: <899616AF-593D-4B7A-A64E-3F15934CE6CF@kernel.crashing.org>
On Tue, Jul 15, 2008 at 11:16:14AM -0500, Kumar Gala wrote:
>
> On Jun 6, 2008, at 2:24 PM, Anton Vorontsov wrote:
>
>> This patch adds suspend (standby, not suspend-to-ram) support for
>> MPC86xx
>> processors.
>>
>> In standby mode MPC86xx is able to wakeup only upon external
>> interrupts
>> (including sreset).
>>
>> Signed-off-by: Scott Wood <scottwood@freescale•com>
>> Signed-off-by: Jason Jin <Jason.jin@freescale•com>
>> Signed-off-by: Anton Vorontsov <avorontsov@ru•mvista.com>
>> ---
>> arch/powerpc/Kconfig | 2 +-
>> arch/powerpc/platforms/86xx/Makefile | 1 +
>> arch/powerpc/platforms/86xx/mpc86xx_suspend.c | 92 ++++++++++++++++
>> +++++++++
>> 3 files changed, 94 insertions(+), 1 deletions(-)
>> create mode 100644 arch/powerpc/platforms/86xx/mpc86xx_suspend.c
>
> I'd like to understand how much PM support these patches really add w/
> regards to the work Scott's done for 83xx PM.
This support provides "sleep" mode, i.e. almost all internal core
functions are off, some peripherals could be turned off, but sysclk
must be preserved. Upon wakeup CPU continues execution where it was
put to sleep. This is also called standby mode.
This patch does not implement "deep sleep" (suspend-to-ram) mode yet.
Deep sleep can save more power: CPU can be turned off completely (except
SDRAM -- it must still receive refresh cycles).
But deep sleep is also more tricky to implement.. During deep sleep CPU
losing all track of execution and state, thus upon wakeup CPU starts
execution of the firmware, so the firmware should be also aware of deep
sleep capability.
--
Anton Vorontsov
email: cbouatmailru@gmail•com
irc://irc.freenode.net/bd2
prev parent reply other threads:[~2008-07-15 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 19:24 [PATCH 1/2] [POWERPC] 86xx: suspend support Anton Vorontsov
2008-06-06 19:36 ` Anton Vorontsov
2008-07-15 16:16 ` Kumar Gala
2008-07-15 16:49 ` Anton Vorontsov [this message]
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=20080715164956.GA11917@polina.dev.rtsoft.ru \
--to=avorontsov@ru$(echo .)mvista.com \
--cc=Jason.jin@freescale$(echo .)com \
--cc=galak@kernel$(echo .)crashing.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=scottwood@freescale$(echo .)com \
--cc=timur@freescale$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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