[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48B7D286.7050104@gmail.com>
Date: Fri, 29 Aug 2008 12:42:14 +0200
From: Tejun Heo <htejun@...il.com>
To: "Rafael J. Wysocki" <rjw@...k.pl>
CC: ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
linux-ide@...r.kernel.org, Thomas Renninger <trenn@...e.de>,
Robert Hancock <hancockr@...w.ca>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Regression: SATA disk double spin-off during hibernation on hp
nx6325
Rafael J. Wysocki wrote:
> Actaully, they do belong to it. This is the part "fixing" the hibernation code
> path, in which the disk is also powered off unnecessarily.
>
> Well, probably I should use SYSTEM_HIBERNATE_ENTER or something similar
> instead of SYSTEM_SUSPEND_DISK.
>
> In short, the idea is to change system_state to something specific to the last
> phase of hibernation (after saving the image) and check that in
> ata_scsi_start_stop_xlat(). In fact that's completely analogous to what's done
> for SYSTEM_POWER_OFF in there.
Ah.. right, missed the added check for SUSPEND_DISK in libata-scsi.c.
Maybe it's a good idea to note it in the commit message later?
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists