LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p - resume hang
@ 2008-02-26 4:13 Jeff Chua
2008-02-26 21:22 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Chua @ 2008-02-26 4:13 UTC (permalink / raw)
To: Michael S. Tsirkin
Cc: Andrew Morton, LKML, Rafael J. Wysocki, Alexey Starikovskiy,
Len Brown, linux-acpi, Jesse B, arnes, jesse.barnes,
Linus Torvalds, Pavel Machek, Jeff Garzik
On Tue, Feb 26, 2008 at 4:45 AM, Michael S. Tsirkin
<m.s.tsirkin@gmail.com> wrote:
> On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin"
<m.s.tsirkin@gmail.com> wrote:
> > You mean suspend-to-ram works correctly on your t61p?
> > Mine suspends, then five seconds later magically resumes itself and
the
> > screen is all black.
> Sorry, have not noticed what you were asking about.
> Yes, rc2 seems to suspend/resume fine.
> And after reverting
> revert commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2.
commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2
Author: Pavel Machek <pavel@ucw.cz>
Date: Thu Feb 21 13:56:55 2008 +0100
power_state: get rid of write-only variable in SATA
power_state is scheduled for removal, and libata uses it in write-only
mode. Remove it.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
I'm experiencing hang after resume from STR with the latest Linus's git
tree. Reverting the above patch solved the problem.
Thanks,
Jeff
Here's the patch for reference ...
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 4cf8662..9812bbf 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6560,8 +6560,6 @@ int ata_host_suspend(struct ata_host *host, pm_message_t mesg)
ata_lpm_enable(host);
rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1);
- if (rc == 0)
- host->dev->power.power_state = mesg;
return rc;
}
@@ -6580,7 +6578,6 @@ void ata_host_resume(struct ata_host *host)
{
ata_host_request_pm(host, PMSG_ON, ATA_EH_SOFTRESET,
ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET, 0);
- host->dev->power.power_state = PMSG_ON;
/* reenable link pm */
ata_lpm_disable(host);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p - resume hang
2008-02-26 4:13 new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p - resume hang Jeff Chua
@ 2008-02-26 21:22 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2008-02-26 21:22 UTC (permalink / raw)
To: Jeff Chua
Cc: Michael S. Tsirkin, Andrew Morton, LKML, Alexey Starikovskiy,
Len Brown, linux-acpi, Jesse B, arnes, jesse.barnes,
Linus Torvalds, Pavel Machek, Jeff Garzik
On Tuesday, 26 of February 2008, Jeff Chua wrote:
>
> On Tue, Feb 26, 2008 at 4:45 AM, Michael S. Tsirkin
> <m.s.tsirkin@gmail.com> wrote:
> > On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton
> <akpm@linux-foundation.org> wrote:
> > > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin"
> <m.s.tsirkin@gmail.com> wrote:
> > > You mean suspend-to-ram works correctly on your t61p?
> > > Mine suspends, then five seconds later magically resumes itself and
> the
> > > screen is all black.
> > Sorry, have not noticed what you were asking about.
> > Yes, rc2 seems to suspend/resume fine.
> > And after reverting
> > revert commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2.
>
> commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2
> Author: Pavel Machek <pavel@ucw.cz>
> Date: Thu Feb 21 13:56:55 2008 +0100
>
> power_state: get rid of write-only variable in SATA
>
> power_state is scheduled for removal, and libata uses it in write-only
> mode. Remove it.
>
> Signed-off-by: Pavel Machek <pavel@suse.cz>
> Signed-off-by: Jeff Garzik <jeff@garzik.org>
That's already been reverted from the mainline.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-26 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 4:13 new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p - resume hang Jeff Chua
2008-02-26 21:22 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).