]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI hibernation: Call _PTS before suspending devices
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jan 2008 23:09:58 +0000 (00:09 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:58 +0000 (18:30 -0500)
commitad150d5ebb12c9e71c5f981e3c502f87dbecc7af
treeeaba68eb4ec9ac40f058166420b4b056d8b7c33a
parentb43f3c7e0ca828efa7ca88537cc4c17064db8650
ACPI hibernation: 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
hibernation code follows ACPI 2.0 in that respect which may cause some
ACPI 1.0x systems to hang during hibernation (ref.
http://bugzilla.kernel.org/show_bug.cgi?id=9528).

Make the hibernation code execute _PTS before putting devices into
low power states (ie. in accordance with ACPI 1.0x) with the
possibility to override that using the 'acpi_new_pts_ordering' kernel
command line option.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c