History log of /openbsd-src/sys/kern/subr_hibernate.c (Results 101 – 125 of 152)
Revision Date Author Comments
# b42f10c6 07-Mar-2013 mlarkin <mlarkin@openbsd.org>

Reword some wrong comments and some improperly formatted comments and add
information about piglet memory layout. No functional changes.


# e39a80c3 06-Mar-2013 mlarkin <mlarkin@openbsd.org>

Fix a bad comparison when calculating the size of the hibernate signature
block

ok deraadt@


# 3843cbdd 17-Jan-2013 pirofti <pirofti@openbsd.org>

Style, no functional changes.

Discussed with mlarkin@.


# 73cbb718 17-Jan-2013 deraadt <deraadt@openbsd.org>

Add a hibernate HIB_DONE op. After the memory-side-effect driver finishes
IO to the disk, DVACT_RESUME the controller back to normal operation. That
allows us to do the full DVACT_POWERDOWN sequenc

Add a hibernate HIB_DONE op. After the memory-side-effect driver finishes
IO to the disk, DVACT_RESUME the controller back to normal operation. That
allows us to do the full DVACT_POWERDOWN sequence afterwards.
ok mlarkin

show more ...


# cffc25bb 17-Jan-2013 mlarkin <mlarkin@openbsd.org>

increase the number of pages used to hold the chunk ordering map and change
the index type from int to short. Allows amd64 to hibernate with up to 64GB
phys memory


# 21eafc1b 17-Jan-2013 mlarkin <mlarkin@openbsd.org>

fix an error in the amd64 asm unhibernate code and a slight adjustment to
the MI hibernate code to handle 64 bit archs


# 24fb94de 19-Jul-2012 deraadt <deraadt@openbsd.org>

say that we are unhibernating..


# c963b6c1 16-Jul-2012 stsp <stsp@openbsd.org>

Back out my workaround from r1.43 now that jsing has committed a better fix.


# a8dcd0fc 16-Jul-2012 jsing <jsing@openbsd.org>

Make sure we have a swap partition before trying to read or write
hibernate info.

ok mlarkin@ stsp@


# 38748782 15-Jul-2012 stsp <stsp@openbsd.org>

Don't panic in hibernate resume if no swap partition exists on the root disk.
ok mlarkin


# c92a73ed 12-Jul-2012 mlarkin <mlarkin@openbsd.org>

Temporarily don't do RLE page encoding in hibernate to fix some unpacking
corruption seen earlier. This makes hibernate much slower but seems to fix
the corruption problems seen on all machines we've

Temporarily don't do RLE page encoding in hibernate to fix some unpacking
corruption seen earlier. This makes hibernate much slower but seems to fix
the corruption problems seen on all machines we've tested on.

show more ...


# cc391fe1 11-Jul-2012 mlarkin <mlarkin@openbsd.org>

Enable the swap checker for hibernate


# ca1a7c3e 09-Jul-2012 deraadt <deraadt@openbsd.org>

DVACT_SUSPEND must be done at cold with interrupts disabled. Failure
to read a hibernate image should restore the spl
ok mlarkin


# 7c9ea1f9 08-Jul-2012 mlarkin <mlarkin@openbsd.org>

Quiesce and suspend devices in the resuming kernel for hibernate.

ok deraadt@


# e9d438ce 08-Jul-2012 deraadt <deraadt@openbsd.org>

Make hibernate_free() safe to be called even if hibernate areas
allocation failed
ok mlarkin


# 9783ed43 08-Jul-2012 mlarkin <mlarkin@openbsd.org>

Reorganize some hibernate functions for easier readability.
Fix some incorrect/old comments.

ok deraadt@


# 89fc03e5 21-Jun-2012 jmatthew <jmatthew@openbsd.org>

use regular i/o functions in the hibernate resume path. ahci(4) hibernate
i/o will not mix with regular i/o so it can only be used in the hibernate
path.

ok deraadt@ mlarkin@


# 3a85c2af 20-Jun-2012 mlarkin <mlarkin@openbsd.org>

Fix some hibernate issues on machines with > 3.5GB phys mem

ok deraadt@


# 5c12b987 12-Apr-2012 ariane <ariane@openbsd.org>

hibernate: fix lock/unlock mismatch

Unlock missed an 'f', which caused it to unlock the in-use pageqs, rather
than the free pageqs as it was supposed to.


# 55d14f4e 26-Mar-2012 mlarkin <mlarkin@openbsd.org>

Fix an integer math error when using the result of uvm_page_rle, and
at the same time increase said function's max RLE page count return value.

Add hooks in the right places to call the hibernate su

Fix an integer math error when using the result of uvm_page_rle, and
at the same time increase said function's max RLE page count return value.

Add hooks in the right places to call the hibernate suspend and resume
routines, so that we can enable hibernation with a HIBERNATE option
line in GENERIC and appropriate acpi.c goo.

discussed on and off with deraadt@ over the past few months

show more ...


# aa7ef211 29-Nov-2011 deraadt <deraadt@openbsd.org>

ready this for big-endian support later on
ok mlarkin


# 44eec4e2 29-Nov-2011 mlarkin <mlarkin@openbsd.org>

Only free the piglet on hibernate fail if we are suspending.


# 51c66804 23-Nov-2011 deraadt <deraadt@openbsd.org>

clamp uvm_page_rle() to 255 pages at a time
ok mlarkin


# d9e6d5c0 22-Nov-2011 mlarkin <mlarkin@openbsd.org>

Ensure we are unpacking the right source address after skipping a range of
RLE pages in hibernate.

ok deraadt@


# dbac8ae0 18-Nov-2011 mlarkin <mlarkin@openbsd.org>

no need to zero all the free pages since we will be skipping them with
rle.

noticed by jasper


1234567