public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: linux-pm@lists.linux-foundation.org
Subject: Question about suspending a system
Date: Mon, 15 Oct 2007 14:43:12 +0200	[thread overview]
Message-ID: <38b2ab8a0710150543k6d35ae12h6dceef96acb00a71@mail.gmail.com> (raw)

Hello,

I'm trying to see how I could implement Suspend To Ram on my system
that embed a SH4 processor.

I'm almost completely new to this area so please forgive me if the
question is dumb. I read the documentation in Documentation/power and
must admit that I don't get all of it :)

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 ?

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 ?

Thanks
-- 
Francis

             reply	other threads:[~2007-10-15 12:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 12:43 Francis Moreau [this message]
2007-10-15 16:03 ` Question about suspending a system Johannes Berg
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=38b2ab8a0710150543k6d35ae12h6dceef96acb00a71@mail.gmail.com \
    --to=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