/linux/Documentation/power/ |
H A D | basic-pm-debugging.rst | 2 Debugging hibernation and suspend 7 1. Testing hibernation (aka suspend to disk or STD) 10 To check if hibernation works, you can try to hibernate in the "reboot" mode:: 15 and the system should create a hibernation image, reboot, resume and get back to 17 hibernation is most likely to work correctly. Still, you need to repeat the 22 systems might be necessary to make hibernation work. Thus, if your machine 29 which is the default and recommended mode of hibernation. 31 Unfortunately, the "platform" mode of hibernation does not work on some systems 32 with broken BIOSes. In such cases the "shutdown" mode of hibernation might 41 If neither "platform" nor "shutdown" hibernation mode works, you will need to [all …]
|
H A D | freezing-of-tasks.rst | 11 kernel threads are controlled during hibernation or system-wide suspend (on some 21 system enters a sleep state as well as before a hibernation image is created 22 (hibernation is directly covered by what follows, but the description applies 25 Namely, as the first step of the hibernation procedure the function 77 After the system memory state has been restored from a hibernation image and 118 hibernation. At the moment we have no simple means of checkpointing 121 modifications. At the same time each hibernation image contains some 127 modified after the hibernation image has been created and before the 132 2. Next, to create the hibernation image we need to free a sufficient amount of 139 callbacks before hibernation, but this is a separate issue.] [all …]
|
H A D | pci.rst | 552 2.4.3. System Hibernation 555 System hibernation is more complicated than system suspend, because it requires 635 System restore requires a hibernation image to be loaded into memory and the 636 pre-hibernation memory contents to be restored before the pre-hibernation system 639 As described in Documentation/driver-api/pm/devices.rst, the hibernation image 645 the image during hibernation, in the 653 Should the restoration of the pre-hibernation memory contents fail, the boot 658 If the pre-hibernation memory contents are restored successfully, which is the 661 it must restore the devices' pre-hibernation functionality, which is done much 717 The prepare() callback is executed during system suspend, during hibernation [all …]
|
H A D | drivers-testing.rst | 13 several times, preferably several times in a row, and separately for hibernation 30 a) Build the driver as a module, load it and try the test modes of hibernation 37 hibernation.
|
/linux/Documentation/admin-guide/pm/ |
H A D | sleep-states.rst | 23 hibernation and up to three variants of system suspend. The sleep states that 109 Hibernation section in Sleep States That Can Be Supported 117 Hibernation is significantly different from any of the system suspend variants. 118 It takes three system state changes to put it into hibernation and two system 121 First, when hibernation is triggered, the kernel stops all system activity and 139 (referred to as the ``restore kernel``) looks for a hibernation image in 145 image kernel restores the system to the pre-hibernation state and allows user 148 Hibernation is supported if the :c:macro:`CONFIG_HIBERNATION` kernel 153 Basic ``sysfs`` Interfaces for System Suspend and Hibernation 169 :ref:`hibernation <hibernation>`, :ref:`suspend-to-idle <s2idle>` and [all …]
|
/linux/kernel/power/ |
H A D | hibernate.c | 3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support. 12 #define pr_fmt(fmt) "PM: hibernation: " fmt 101 * @ops: Hibernation operations to use in subsequent hibernation transitions. 154 * platform_begin - Call platform to start hibernation. 174 * platform_pre_snapshot - Call platform to prepare the machine for hibernation. 221 * Use the platform driver to prepare the system for resume from a hibernation 261 * swsusp_show_speed - Print time elapsed between two events during hibernation. 294 * create_image - Create a hibernation image. 298 * hibernation imag [all...] |
H A D | Kconfig | 38 config HIBERNATION config 39 bool "Hibernation (aka 'suspend to disk')" 47 called "hibernation" in user interfaces. STD checkpoints the 85 depends on HIBERNATION 98 depends on HIBERNATION 115 Default compressor to be used for hibernation. 119 depends on HIBERNATION
|
H A D | snapshot.c | 11 #define pr_fmt(fmt) "PM: hibernation: " fmt 163 * before hibernation) that may be used as temporary storage for image kernel 179 * get_image_page - Allocate a page for a hibernation image. 181 * @safe_needed: Get pages that were not used before hibernation (restore only) 185 * hibernation. The "unsafe" pages have PageNosaveFree set and we count them 248 * free_image_page - Free a page allocated for hibernation image. 434 * @safe_needed: Get pages not used before hibernation (restore only) 953 * should not be saved during hibernation. 995 * during hibernation (to be used in the early initialization code). 1224 * Estimate the number of additional pages needed for setting up a hibernation [all …]
|
/linux/Documentation/driver-api/pm/ |
H A D | notifiers.rst | 5 Suspend/Hibernation Notifiers 14 before hibernation/suspend or after restore/resume, but they require the system 24 ``->resume()`` routine. A suspend/hibernation notifier may be used for that. 36 The system memory state has been restored from a hibernation image or an 37 error occurred during hibernation. Device restore callbacks have been 41 The system is going to restore a hibernation image. If all goes well, 46 An error occurred during restore from hibernation. Device restore 66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.
|
H A D | devices.rst | 38 (mostly for systems with disks) "hibernation" (also known as 63 transitions (suspend or hibernation). 271 sleep states and the hibernation state ("suspend-to-disk"). Each phase involves 506 Entering Hibernation 511 more phases for hibernation, with a different set of callbacks. These phases 514 The general procedure for hibernation is to quiesce all devices ("freeze"), 582 Leaving Hibernation 585 Resuming from hibernation is, again, more complicated than resuming from a sleep 587 a system image to be loaded into memory and the pre-hibernation memory contents 591 pre-hibernation memory contents restored by the boot loader, in practice this [all …]
|
/linux/arch/arm/kernel/ |
H A D | hibernate.c | 3 * Hibernation support specific for ARM 5 * Derived from work on ARM hibernation support by: 7 * Ubuntu project, hibernation support for mach-dove 56 * When soft reboot completes, the hibernation snapshot is written out. 78 * hibernation image. Switch to idmap_pgd so the physical page tables 95 * Resume from the hibernation image.
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-intel-rapid-start | 6 1: Wake to enter hibernation when the wakeup timer expires 7 2: Wake to enter hibernation when the battery reaches a 11 indicates that the system will wake to enter hibernation when 20 remain asleep before waking up to enter hibernation.
|
H A D | sysfs-devices-power | 16 RAM) and hibernation (suspend to disk), and to enable or disable 62 transitions (eg. suspend to RAM, hibernation). 222 hibernation. 247 devices and on system-wide suspend/resume and hibernation. 262 hibernation.
|
/linux/include/linux/ |
H A D | pm.h | 76 * is, not related to hibernation), the return value of @prepare() may be 94 * hibernation notifiers to be executed before the freezing of tasks.] 143 * @freeze: Hibernation-specific, executed before creating a hibernation image. 148 * during the subsequent resume from hibernation. 156 * @thaw: Hibernation-specific, executed after creating a hibernation image OR 168 * @poweroff: Hibernation-specific, executed after saving a hibernation image. 177 * @restore: Hibernation-specific, executed after restoring the contents of main 178 * memory from a hibernation image, analogous to @resume(). 413 * to RAM and hibernation. 446 * (system suspend, hibernation or runtime PM). [all …]
|
H A D | suspend.h | 312 * struct platform_hibernation_ops - hibernation platform support 315 * operations required by it during a hibernation transition. 319 * @begin: Tell the platform driver that we're starting hibernation. 325 * @pre_snapshot: Prepare the platform for creating the hibernation image. 329 * @finish: Restore the previous state of the platform after the hibernation 331 * mode after the hibernation (the same method is executed in both cases). 336 * Called right after the hibernation image has been saved and before 339 * @enter: Put the system into the low power state after the hibernation image 350 * @pre_restore: Prepare system for the restoration from a hibernation image. 359 * Called by the PM core if the suspending of devices during hibernation [all …]
|
/linux/arch/x86/power/ |
H A D | hibernate.c | 3 * Hibernation support for x86 36 * Value of the cr3 register from before the hibernation (this value is passed 88 * of a hibernation image header 104 * [in hibernation asm] in arch_hibernation_header_save() 126 * from the hibernation image header 193 * We reached this while coming out of hibernation. This means in arch_resume_nosmt()
|
H A D | cpu.c | 65 * hibernation image and before restoring 70 * boot kernel (ie. the kernel used for loading the hibernation image) 72 * saved in the hibernation image), then its contents must be saved by this 74 * kernel B is used for loading the hibernation image into memory, the 315 * Those will be put to proper (not interfering with hibernation in hibernate_resume_nonboot_cpu_disable()
|
/linux/arch/riscv/kernel/ |
H A D | hibernate.c | 3 * Hibernation support for RISCV 90 * Helper parameters need to be saved to the hibernation image header. 110 * Retrieve the helper parameters from the hibernation image header. 159 * Tell the hibernation core that we've just restored the memory. in swsusp_arch_suspend() 361 * Memory allocated by get_safe_page() will be dealt with by the hibernation core, in swsusp_arch_resume()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | suspend.c | 21 * pseries_suspend_begin - First phase of hibernation 52 * pseries_suspend_enter - Final phase of hibernation 63 * store_hibernate - Initiate partition hibernation
|
/linux/arch/arm64/kernel/ |
H A D | machine_kexec.c | 261 * should be mapped again around the hibernation. 284 * In hibernation, the pages which are Reserved and yet "nosave" are excluded 285 * from the hibernation iamge. crash_is_nosave() does thich check for crash 286 * dump kernel and will reduce the total size of hibernation image.
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-bus-vmbus | 1 What: /sys/bus/vmbus/hibernation 5 Description: Whether the host supports hibernation for the VM. 6 Users: Daemon that sets up swap partition/file for hibernation.
|
/linux/Documentation/driver-api/nvdimm/ |
H A D | firmware-activate.rst | 42 run firmware activation from within the equivalent of the hibernation 45 firmware activation without this hibernation cycle. The
|
/linux/tools/hv/ |
H A D | hv_fcopy_daemon.c |
|
/linux/drivers/platform/surface/aggregator/ |
H A D | core.c | 513 * During hibernation image creation, we only have to ensure that the in ssam_serial_hub_pm_freeze() 519 * See ssam_serial_hub_poweroff() for more details on the hibernation in ssam_serial_hub_pm_freeze() 554 * When entering hibernation and powering off the system, the EC, at in ssam_serial_hub_pm_poweroff() 557 * system resumes from hibernation, resulting SAM-HID subsystem devices in ssam_serial_hub_pm_poweroff() 565 * Wakeup from the EC interrupt is not supported during hibernation, in ssam_serial_hub_pm_poweroff() 571 ssam_err(c, "pm: failed to disable notifiers for hibernation: %d\n", in ssam_serial_hub_pm_poweroff() 595 * the hibernation process. in ssam_serial_hub_pm_restore()
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | qca,ar803x.yaml | 43 qca,disable-hibernation-mode: 45 Disable Atheros AR803X PHYs hibernation mode. If present, indicates
|