mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: "George Spelvin" <linux@horizon.com>
Cc: len.brown@intel.com, linux-kernel@vger.kernel.org,
	linux-acpi@vger.kernel.org
Subject: Re: 2.6.25 regression: 60417f5976df breaks Thinkpad suspend
Date: Wed, 16 Apr 2008 19:37:24 +0200	[thread overview]
Message-ID: <200804161937.25557.rjw@sisk.pl> (raw)
In-Reply-To: <20080415115326.9915.qmail@science.horizon.com>

On Tuesday, 15 of April 2008, George Spelvin wrote:
> When trying a recent 2.6.25 on a laptop, I discovered that it
> completely breaks suspend to RAM.  It blanks the screen and lights up
> the sleeping light, but judging by the noises the laptop makes (help,
> low battery!) after being unplugged for a while, it doesn't actually
> suspend a whole lot.
> 
> More interestingly, it gets the laptop into a state where the only ways
> I can make it respond are disconnecting and connecting AC power (beep),
> and holding the power button down for 4 seconds.
> 
> The really interesting part is that after that, it won't turn on again!
> I have to disconnect power and remove the battery to reset it hard enough
> that it will respond to furtherpresses of the power button.
> 
> This smells like a BIOS bug to me, but it's interesting that it gets tickled.
> 
> The patch is unfortunately one that fixes other machines:
> 
> >   ACPI suspend: Call _PTS before suspending devices
> >   
> >   The ACPI 1.0 specification wants us to put devices into low power
> >   states after executing the _PTS global control method, while ACPI
> >   2.0 and later want us to do that in the reverse order.  The current
> >   suspend code follows ACPI 2.0 in that respect which causes some
> >   ACPI 1.0x systems to hang during suspend (ref.
> >   http://bugzilla.kernel.org/show_bug.cgi?id=9528).
> >   
> >   Make the suspend code execute _PTS before putting devices into low
> >   power states (ie. in accordance with ACPI 1.0x) and provide a command
> >   line option to override the default if need be.
> 
> Fortunately, the "acpi_new_pts_ordering" kernel parameter fixes it,
> but I waded through a full bisect (actually two, owing to some mistakes
> the first time) before finding out about it.

This change has been reverted from the current Linus' tree, so please check
if 2.6.25-rc9 (or a later git snapshot) works for you.

Thanks,
Rafael

  parent reply	other threads:[~2008-04-16 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 11:53 George Spelvin
2008-04-15 19:53 ` Tino Keitel
2008-04-16 17:37 ` Rafael J. Wysocki [this message]
2008-04-17 11:16   ` Tino Keitel
2008-04-17 11:17   ` Tino Keitel
2008-04-20 19:13   ` George Spelvin

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=200804161937.25557.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@horizon.com \
    /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®