Rafael J. Wysocki
d8f3de0d24
Suspend-related patches for 2.6.27
...
ACPI PM: Add possibility to change suspend sequence
There are some systems out there that don't work correctly with
our current suspend/hibernation code ordering. Provide a workaround
for these systems allowing them to pass 'acpi_sleep=old_ordering' in
the kernel command line so that it will use the pre-ACPI 2.0 ("old")
suspend code ordering.
Unfortunately, this requires us to add a platform hook to the
resuming of devices for recovering the platform in case one of the
device drivers' .suspend() routines returns error code. Namely,
ACPI 1.0 specifies that _PTS should be called before suspending
devices, but _WAK still should be called before resuming them in
order to undo the changes made by _PTS. However, if there is an
error during suspending devices, they are automatically resumed
without returning control to the PM core, so the _WAK has to be
called from within device_resume() in that cases.
The patch also reorders and refactors the ACPI suspend/hibernation
code to avoid duplication as far as reasonably possible.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl >
Acked-by: Pavel Machek <pavel@suse.cz >
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org >
2008-06-12 14:25:09 -07:00
..
2008-04-30 08:29:54 -07:00
2008-05-18 20:49:41 +02:00
2008-06-06 11:29:10 -07:00
2008-05-08 01:15:21 -07:00
2008-05-21 14:08:38 -07:00
2008-05-21 14:08:38 -07:00
2008-05-21 14:08:38 -07:00
2008-05-24 09:56:10 -07:00
2008-06-02 15:27:10 -07:00
2008-05-19 07:34:01 -05:00
2008-04-29 08:06:27 -07:00
2008-05-20 14:14:15 -07:00
2008-06-12 14:25:09 -07:00
2008-04-30 08:29:54 -07:00
2008-05-01 13:08:50 -04:00
2008-05-14 23:24:09 -07:00
2008-05-14 23:24:09 -07:00
2008-04-30 08:29:50 -07:00
2008-05-16 17:23:05 -04:00
2008-05-13 08:02:25 -07:00
2008-04-29 08:11:16 -07:00
2008-06-06 11:29:10 -07:00
2008-04-29 12:36:54 -07:00
2008-05-28 14:49:27 +02:00
2008-05-31 16:36:16 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:09 -07:00
2008-04-29 08:06:10 -07:00
2008-05-01 08:03:59 -07:00
2008-04-30 08:29:54 -07:00
2008-05-01 08:03:59 -07:00
2008-04-30 08:42:49 -07:00
2008-05-10 19:51:16 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:06 -07:00
2008-04-30 08:29:52 -07:00
2008-05-13 08:02:25 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:09 -07:00
2008-04-30 08:29:54 -07:00
2008-06-10 10:59:50 -07:00
2008-04-30 08:29:48 -07:00
2008-04-29 08:06:11 -07:00
2008-04-29 08:06:11 -07:00
2008-04-29 08:06:26 -07:00
2008-04-29 08:06:16 -07:00
2008-04-30 08:29:54 -07:00
2008-05-07 09:48:23 +02:00
2008-05-16 17:22:26 -04:00
2008-05-01 13:08:16 -04:00
2008-06-06 11:29:11 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-05-13 08:02:26 -07:00
2008-04-30 08:29:45 -07:00
2008-05-14 10:37:57 -07:00
2008-05-24 09:56:13 -07:00
2008-05-10 20:58:02 -07:00
2008-05-20 16:44:43 +02:00
2008-05-20 16:44:43 +02:00
2008-05-03 18:11:48 +02:00
2008-04-30 08:29:54 -07:00
2008-05-18 20:49:41 +02:00
2008-04-30 08:29:54 -07:00
2008-06-10 20:56:36 +02:00
2008-04-29 08:06:25 -07:00
2008-04-30 20:34:26 -04:00
2008-05-02 16:53:33 -07:00
2008-04-30 08:29:54 -07:00
2008-06-03 16:36:01 -07:00
2008-04-30 08:29:54 -07:00
2008-06-03 16:37:33 -07:00
2008-05-16 17:22:20 -04:00
2008-04-29 08:06:03 -07:00
2008-05-30 10:40:46 -04:00
2008-05-05 16:47:14 +10:00
2008-05-07 09:51:23 +02:00
2008-04-29 08:06:13 -07:00
2008-04-29 08:06:15 -07:00
2008-04-29 08:06:15 -07:00
2008-05-02 13:40:34 +02:00
2008-04-30 08:29:54 -07:00
2008-06-06 17:50:40 -04:00
2008-05-01 08:03:58 -07:00
2008-05-15 17:50:37 -07:00
2008-05-20 17:23:03 -07:00
2008-04-29 08:06:29 -07:00
2008-05-14 19:11:14 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:16 -07:00
2008-04-30 08:29:54 -07:00
2008-05-05 07:13:21 -05:00
2008-04-30 16:52:58 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-06-04 06:40:41 -04:00
2008-04-30 08:29:54 -07:00
2008-05-01 08:03:58 -07:00
2008-04-29 08:06:10 -07:00
2008-06-09 11:32:41 +10:00
2008-04-29 08:06:12 -07:00
2008-05-13 08:02:25 -07:00
2008-04-29 08:06:17 -07:00
2008-05-24 09:56:09 -07:00
2008-05-24 09:56:13 -07:00
2008-05-26 16:08:40 +02:00
2008-05-01 21:14:59 +10:00
2008-04-30 08:29:54 -07:00
2008-06-08 11:58:43 -07:00
2008-06-06 11:29:12 -07:00
2008-04-29 09:11:12 -07:00
2008-04-29 08:06:24 -07:00
2008-04-30 08:29:54 -07:00
2008-05-23 00:27:50 -07:00
2008-05-21 14:08:38 -07:00
2008-04-29 08:06:13 -07:00
2008-04-30 08:29:54 -07:00
2008-05-09 20:22:58 +10:00
2008-06-09 10:22:24 -07:00
2008-05-14 19:23:25 -05:00
2008-06-10 14:37:03 -07:00
2008-05-24 09:56:09 -07:00
2008-06-10 14:37:03 -07:00
2008-05-03 03:39:55 +04:00
2008-05-14 19:11:14 -07:00
2008-04-29 08:06:02 -07:00
2008-05-06 12:01:41 -04:00
2008-04-30 08:29:49 -07:00
2008-04-30 08:29:49 -07:00
2008-06-10 10:59:51 -07:00
2008-06-10 10:59:50 -07:00
2008-04-30 11:52:52 -07:00
2008-04-30 08:29:53 -07:00
2008-05-01 13:07:28 -04:00
2008-04-29 08:06:20 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:50 -07:00
2008-04-30 08:29:38 -07:00
2008-05-01 08:04:01 -07:00
2008-04-30 08:29:54 -07:00
2008-05-10 19:51:16 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:51 -07:00
2008-04-29 08:06:10 -07:00
2008-04-30 08:29:54 -07:00
2008-05-03 10:01:33 -07:00
2008-06-03 16:36:27 -07:00
2008-04-30 08:29:54 -07:00
2008-05-29 16:05:05 +02:00
2008-04-29 08:06:16 -07:00
2008-04-30 08:29:54 -07:00
2008-06-03 08:20:17 -07:00
2008-04-30 08:29:34 -07:00
2008-06-06 11:29:14 -07:00
2008-05-24 09:56:12 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:05 -07:00
2008-05-01 08:03:59 -07:00
2008-06-12 14:25:09 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:06 -07:00
2008-04-29 08:06:23 -07:00
2008-05-04 17:07:03 -07:00
2008-04-29 08:06:27 -07:00
2008-05-21 17:40:05 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:37 -07:00
2008-04-30 08:29:53 -07:00
2008-05-01 08:03:59 -07:00
2008-05-29 14:46:30 +02:00
2008-04-30 08:29:47 -07:00
2008-06-06 11:29:10 -07:00
2008-05-24 09:56:09 -07:00
2008-05-09 07:45:18 -07:00
2008-06-05 06:35:47 -03:00
2008-05-30 15:09:45 +10:00
2008-05-30 15:09:46 +10:00
2008-05-02 21:50:47 +10:00
2008-05-30 15:09:44 +10:00
2008-05-02 21:50:50 +10:00
2008-05-01 17:38:35 -04:00
2008-05-27 01:37:26 -04:00
2008-04-30 08:29:49 -07:00
2008-04-29 08:06:06 -07:00