ACPI suspend: Call _PTS before suspending devices
commit60417f5976df029227450b46d7fa6f0e9b1e654c
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jan 2008 23:07:39 +0000 (8 00:07 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:58 +0000 (1 18:30 -0500)
treeb0faa81f4517aa41c6113824b59a47b87b4aea2f
parent3c1d2b6085d75df0691cec6a4a053c0aa55fe4c9
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.

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