public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Francis Moreau <francis.moro@gmail.com>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: Question about suspending a system
Date: Mon, 15 Oct 2007 18:03:59 +0200	[thread overview]
Message-ID: <1192464239.3349.57.camel@johannes.berg> (raw)
In-Reply-To: <38b2ab8a0710150543k6d35ae12h6dceef96acb00a71@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

On Mon, 2007-10-15 at 14:43 +0200, Francis Moreau wrote:

> So my question is that when we suspend the system, it seems that all
> IRQs are masked and I'm a bit suprise since the event that should wake
> up the system is an interrupt. This mask is done by
> arch_suspend_disable_irqs() and none of the arch is overriding this
> stub. If I'm right, how the system should be waked up ?

No, well, in most cases the CPU is actually turned off by some other
chip (like the PMU on powermac systems) and turned on again by it when
the system should wake up.

> Anther point is that the device that consumes a lot on the system is
> the hard drive. I can decrease its power consumption by stopping its
> motor by using "hdparm" but it still consumes too much. So for now I'm
> thinking of stopping to power it up completely. But I don't know it's
> going to be easy to resume the hard drive. Does anybody have another
> idea or have already experience such trick ?

If you search the linuxppc-dev list somebody implemented suspend to ram
(or rather he called it standby) for linkstation powerpc systems. That
might be interesting for you because the CPU is actually not powered off
in that implementatino.

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2007-10-15 16:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 12:43 Question about suspending a system Francis Moreau
2007-10-15 16:03 ` Johannes Berg [this message]
2007-10-15 16:41   ` David Brownell
2007-10-16 13:49     ` Francis Moreau
2007-10-16 17:31       ` David Brownell
2007-10-17 12:25         ` Francis Moreau
2007-10-17 17:43           ` David Brownell

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=1192464239.3349.57.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=francis.moro@gmail.com \
    --cc=linux-pm@lists.linux-foundation.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