<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel/power/main.c, branch v2.6.18.7</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/kernel/power/main.c?h=v2.6.18.7</id>
<link rel='self' href='https://git.amat.us/linux/atom/kernel/power/main.c?h=v2.6.18.7'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-06-25T17:01:08Z</updated>
<entry>
<title>[PATCH] constify parts of kernel/power/</title>
<updated>2006-06-25T17:01:08Z</updated>
<author>
<name>Andreas Mohr</name>
<email>andi@rhlx01.fht-esslingen.de</email>
</author>
<published>2006-06-25T12:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3b364b8d584b94777f8446a943b3c65e75e758f8'/>
<id>urn:sha1:3b364b8d584b94777f8446a943b3c65e75e758f8</id>
<content type='text'>
Signed-off-by: Andreas Mohr &lt;andi@lisas.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] suspend_console() warning fix</title>
<updated>2006-06-22T22:05:56Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-06-22T21:47:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6cc0719181a7aa8883855140541e7892250e66af'/>
<id>urn:sha1:6cc0719181a7aa8883855140541e7892250e66af</id>
<content type='text'>
kernel/power/main.c: In function 'suspend_prepare':
kernel/power/main.c:89: warning: implicit declaration of function 'suspend_console'
kernel/power/main.c: In function 'suspend_finish':
kernel/power/main.c:137: warning: implicit declaration of function 'resume_console'

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Add support for suspending and resuming the whole console subsystem</title>
<updated>2006-06-20T01:16:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-06-20T01:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=557240b48e2dc4f6fa878afc3fc767ad745ca7ed'/>
<id>urn:sha1:557240b48e2dc4f6fa878afc3fc767ad745ca7ed</id>
<content type='text'>
Trying to suspend/resume with console messages flying all around is
doomed to failure, when the devices that the messages are trying to
go to are being shut down.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] off-by-1 in kernel/power/main.c</title>
<updated>2006-04-28T15:33:46Z</updated>
<author>
<name>dean gaudet</name>
<email>dean@arctic.org</email>
</author>
<published>2006-04-28T01:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=47bb789973fed504e4711ec34e63b84e6cbfb4e8'/>
<id>urn:sha1:47bb789973fed504e4711ec34e63b84e6cbfb4e8</id>
<content type='text'>
There's an off-by-1 in kernel/power/main.c:state_store() ...  if your
kernel just happens to have some non-zero data at pm_states[PM_SUSPEND_MAX]
(i.e.  one past the end of the array) then it'll let you write anything you
want to /sys/power/state and in response the box will enter S5.

Signed-off-by: dean gaudet &lt;dean@arctic.org&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] swsusp: add s2ram ioctl to userland interface</title>
<updated>2006-03-23T15:38:08Z</updated>
<author>
<name>Luca Tettamanti</name>
<email>kronos.it@gmail.com</email>
</author>
<published>2006-03-23T11:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48'/>
<id>urn:sha1:9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48</id>
<content type='text'>
Add the SNAPSHOT_S2RAM ioctl to the snapshot device.

This ioctl allows a userland application to make the system (previously frozen
with the SNAPSHOT_FREE ioctl) enter the S3 state without freezing processes
and disabling nonboot CPUs for the second time.

This will allow us to implement the suspend-to-disk-and-RAM (STDR)
functionality in the userland suspend tools.

Signed-off-by: Luca Tettamanti &lt;kronos.it@gmail.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Cc: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[ACPI] SMP S3 resume: evaluate _WAK after INIT</title>
<updated>2005-12-01T04:15:55Z</updated>
<author>
<name>David Shaohua Li</name>
<email>shaohua.li@intel.com</email>
</author>
<published>2005-11-23T17:36:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a38416cea8ac801ae8f261074721f35317613dc'/>
<id>urn:sha1:1a38416cea8ac801ae8f261074721f35317613dc</id>
<content type='text'>
On SMP resume from S3, we reset (INIT) the non-boot
processors to boot them cleanly.  But the BIOS needs
to execute _WAK after INIT in order to properly
initialized these processors upon resume.

http://bugzilla.kernel.org/show_bug.cgi?id=5651

Signed-off-by: David Shaohua Li &lt;shaohua.li@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix swsusp on machines not supporting S4</title>
<updated>2005-11-30T03:47:03Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2005-11-30T03:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=123d3c13e2853a11b4d599d754b356acb12886e2'/>
<id>urn:sha1:123d3c13e2853a11b4d599d754b356acb12886e2</id>
<content type='text'>
Fix swsusp on machines not supporting S4.  With recent changes, it is not
possible to trigger it using /sys filesystem.  Swsusp does not really need
any support from low-level code, it is possible to reboot or halt at the
end of suspend.

Signed-off-by: Pavel Machek &lt;pavel@suse.cz&gt;
Cc: "Brown, Len" &lt;len.brown@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] sleep: Fix oops in enter_state</title>
<updated>2005-11-09T15:55:50Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2005-11-09T05:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=969e9afd489514252a680914c6d8b9322c713eb4'/>
<id>urn:sha1:969e9afd489514252a680914c6d8b9322c713eb4</id>
<content type='text'>
If ACPI sleep is not configured, but someone still wants to run swsusp,
he'd get oops in enter_state.  This is regression since 2.6.14 and this
fixes it.

Signed-off-by: Pavel Machek &lt;pavel@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] introduce .valid callback for pm_ops</title>
<updated>2005-10-31T01:37:15Z</updated>
<author>
<name>Shaohua Li</name>
<email>shaohua.li@intel.com</email>
</author>
<published>2005-10-30T23:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eb9289eb20df6b54214c45ac7c6bf5179a149026'/>
<id>urn:sha1:eb9289eb20df6b54214c45ac7c6bf5179a149026</id>
<content type='text'>
Add pm_ops.valid callback, so only the available pm states show in
/sys/power/state.  And this also makes an earlier states error report at
enter_state before we do actual suspend/resume.

Signed-off-by: Shaohua Li&lt;shaohua.li@intel.com&gt;
Acked-by: Pavel Machek&lt;pavel@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] pm: clean up /sys/power/disk</title>
<updated>2005-09-05T07:06:18Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2005-09-03T22:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=57c4ce3cbfba1bb0da7f37b9328a713cbd5d0919'/>
<id>urn:sha1:57c4ce3cbfba1bb0da7f37b9328a713cbd5d0919</id>
<content type='text'>
Clean code up a bit, and only show suspend to disk as available when
it is configured in.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
