Re: [2.6.23-rc1 REGRESSION] ThinkPad T42 poweroff failure by "PM: Introduce pm_power_off_prepare"

From: Bongani Hlope
Date: Mon Jul 30 2007 - 19:10:50 EST


On Monday 30 July 2007 23:51:42 Steven wrote:
> On Thu, 26 Jul 2007 16:29:55 +0200, Rafael J. Wysocki wrote:
> > OK, so here it goes again with a changelog:
> >
> > ---
> > From: Rafael J. Wysocki <rjw@xxxxxxx>
> >
> > Generally, sysdev_shutdown() should be called after the ACPI preparation
> > for powering the system off. To make it happen, we can separate
> > sysdev_shutdown() from device_shutdown() and call it directly wherever
> > necessary.
>
> Has this patch become part of the official git tree (git://git.kernel.org/
> pub/scm/linux/kernel/git/torvalds/linux-2.6.git)? If not then are there
> plans to make it part of the official git tree?
>

Yes it is.

commit 58b3b71dfaaecbf7cff1fe10c049d663f0313e5f
Author: Rafael J. Wysocki <rjw@xxxxxxx>
Date: Thu Jul 26 16:29:55 2007 +0200

Fix ThinkPad T42 poweroff failure introduced by by "PM: Introduce
pm_power_off_prepare"

Commit bd804eba1c8597cbb7cd5a5f9fe886aae16a079a ("PM: Introduce
pm_power_off_prepare") caused problems in the poweroff path, as reported
by
YOSHIFUJI Hideaki / ÃÃÂÃÂÃ.

Generally, sysdev_shutdown() should be called after the ACPI preparation
for
powering the system off. To make it happen, we can separate
sysdev_shutdown()
from device_shutdown() and call it directly wherever necessary.

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Tested-by: YOSHIFUJI Hideaki / ÃÃÂÃÂÃ <yoshfuji@xxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/