public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-pm <linux-pm@lists.osdl.org>
Subject: Re: suspend to RAM (embedded) ppc?
Date: Fri, 30 Jun 2006 20:00:04 +0200	[thread overview]
Message-ID: <20060630180004.GB9225@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.60.0606290025240.14864@poirot.grange>

On Thu 2006-06-29 00:37:47, Guennadi Liakhovetski wrote:
> On Tue, 27 Jun 2006, Johannes Berg wrote:
> 
> > You may want to hold off working on this a bit and first ask BenH for
> > his old patches that converted the pmu stuff to the generic thing but
> > needed invasive generic stuff first.
> 
> Well, I started thinking about possible solutions for mpc824x by looking 
> at the only available sleep implementation for ppc in the kernel - 
> powermac. As was suggested I looked under drivers/macintosh. As an example 
> I took powerbook_sleep_grackle() (I think, grackle is also installed in 
> "blue and white" G3's, right?). There I see various calls to pmu_request() 
> with macros as parameters and some comments, so, most things can be 
> understood and mapped to another hardware (if still relevant under the new 
> power-management interface). But then come some things that I don't 
> understand:
> 
> 		/* Ask the PMU to put us to sleep */
> 		pmu_request(&req, NULL, 5, PMU_SLEEP, 'M', 'A', 'T', 'T');
                                                      ~~~~~~~~~~~~~~~~~~
					What kind of inside joke is that?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

      parent reply	other threads:[~2006-06-30 18:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-24 18:02 suspend to RAM (embedded) ppc? Guennadi Liakhovetski
2006-06-25  1:20 ` Paul Mackerras
2006-06-25 10:06   ` Guennadi Liakhovetski
2006-06-25 18:36   ` Guennadi Liakhovetski
2006-06-26  6:13     ` Johannes Berg
2006-06-26  6:26     ` Paul Mackerras
2006-06-26 18:44       ` Guennadi Liakhovetski
2006-06-27 18:07         ` Johannes Berg
2006-06-27 19:31           ` Guennadi Liakhovetski
2006-06-28 22:37           ` Guennadi Liakhovetski
2006-06-28 23:59             ` Benjamin Herrenschmidt
2006-06-30 18:00             ` Pavel Machek [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=20060630180004.GB9225@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=g.liakhovetski@gmx.de \
    --cc=johannes@sipsolutions.net \
    --cc=linux-pm@lists.osdl.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