From: MJ embd <mj.embd@gmail.com>
To: Li Yang-R58472 <LeoLi@freescale.com>
Cc: Wood Scott-B07421 <scottwood@freescale.com>,
linuxppc-dev@ozlabs.org, Soohyung Cho <celius202@gmail.com>
Subject: Re: suspend-to-mem on the mpc8349e-mitx-gp?
Date: Mon, 23 Mar 2009 11:46:38 +0530 [thread overview]
Message-ID: <62fe9ccc0903222316v6ef19b4akc24a2a72733c7718@mail.gmail.com> (raw)
In-Reply-To: <3A45394FD742FA419B760BB8D398F9ED2FA48E@zch01exm26.fsl.freescale.net>
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
"fsl,mpc8349-pmc" has .has_deep_sleep = 0, deep_sleeping=0 so the mem
should not do anything and just do a standby.
I am not sure if mem is a valid state in that case under /sys/power/state.
Scott, u can fix it!
-mj
On Mon, Mar 23, 2009 at 11:15 AM, Li Yang-R58472 <LeoLi@freescale.com>wrote:
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Friday, March 20, 2009 10:42 PM
> > To: Li Yang-R58472
> > Cc: Soohyung Cho; linuxppc-dev@ozlabs.org
> > Subject: Re: suspend-to-mem on the mpc8349e-mitx-gp?
> >
> > Li Yang-R58472 wrote:
> > >> However, the code should treat "mem" as "standby" on chips
> > that don't
> > >> support deep sleep. What does the device tree
> > >
> > > Well, shouldn't the valid() callback reject unsupported
> > states instead
> > > of covering up?
> >
> > I don't think so, in this case. The user is not asking for
> > "sleep" or deep sleep"; they are asking for a power state
> > that meets the definition of "standby" (which sleep does) or
> > which meets the definition of "mem"
> > (which both sleep and deep sleep do). When the user asks for
> > "mem", we provide the lowest power mode that qualifies.
>
> In my understanding, "mem" which is suspend-to-ram means all CPU states and
> registers are kept in memory and the CPU is completely off during
> suspension. I don't think the sleep mode of 8349 qualifies, does it?
>
> - Leo
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
[-- Attachment #2: Type: text/html, Size: 2726 bytes --]
next prev parent reply other threads:[~2009-03-23 6:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 5:46 suspend-to-mem on the mpc8349e-mitx-gp? Soohyung Cho
2009-03-19 7:24 ` Li Yang-R58472
2009-03-19 16:11 ` Scott Wood
2009-03-20 3:43 ` Li Yang-R58472
2009-03-20 14:41 ` Scott Wood
2009-03-23 5:45 ` Li Yang-R58472
2009-03-23 6:16 ` MJ embd [this message]
2009-03-23 6:17 ` Soohyung Cho
2009-03-23 16:54 ` Scott Wood
2009-03-25 10:42 ` Li Yang
2009-03-25 11:11 ` Pavel Machek
2009-03-25 16:31 ` Scott Wood
2009-03-25 18:23 ` Pavel Machek
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=62fe9ccc0903222316v6ef19b4akc24a2a72733c7718@mail.gmail.com \
--to=mj.embd@gmail.com \
--cc=LeoLi@freescale.com \
--cc=celius202@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
/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;
as well as URLs for NNTP newsgroup(s).