From: "Tvrtko A. Uršulin" <tvrtko.ursulin@zg.htnet.hr>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question about IDE disk shutdown
Date: Wed, 2 Jun 2004 08:27:59 +0200 [thread overview]
Message-ID: <200406020827.59515.tvrtko.ursulin@zg.htnet.hr> (raw)
In-Reply-To: <200406020041.22420.bzolnier@elka.pw.edu.pl>
On Wednesday 02 June 2004 00:41, Bartlomiej Zolnierkiewicz wrote:
> > Following that I see that ide_device_shutdown flushes the cache, and then
> > calls dev->bus->suspend(dev, PM_SUSPEND_STANDBY); which is in fact
> > generic_ide_suspend, right? There, something called REQ_PM_SUSPEND is
> > issued to the drive. As SUSPEND != STANDBY or SLEEP, I am left uncertain.
> >
> > Is there a place to be worried or I am missing something?
>
> You are missing PM code in ide-disk.c. :-)
>
> See idedisk_start_power_step() and idedisk_complete_power_step(),
> also read comment in <linux/ide.h> about ide_pm_state_*.
I saw that, but the comment speaks only about power management. Therefore I
wasn't sure that this path is also taken during standard power-off. Thanks!
prev parent reply other threads:[~2004-06-02 6:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 15:13 Tvrtko A. Uršulin
2004-06-01 15:42 ` John Bradford
2004-06-01 15:47 ` Eric D. Mudama
2004-06-01 15:57 ` Tvrtko A. Uršulin
2004-06-01 22:41 ` Bartlomiej Zolnierkiewicz
2004-06-02 6:27 ` Tvrtko A. Uršulin [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=200406020827.59515.tvrtko.ursulin@zg.htnet.hr \
--to=tvrtko.ursulin@zg.htnet.hr \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®