Home
last modified time | relevance | path

Searched full:hibernation (Results 1 – 25 of 168) sorted by relevance

1234567

/linux/Documentation/virt/hyperv/
H A Dhibernation.rst9 Hibernation is sometimes called suspend-to-disk, as it writes a memory
11 state. Upon resume from hibernation, the hardware is restarted and the
13 where it left off. See the "Hibernation" section of
16 Hibernation is usually done on devices with a single user, such as a
17 personal laptop. For example, the laptop goes into hibernation when
19 Hibernation and resume happen on the same hardware, and Linux kernel
20 code orchestrating the hibernation steps assumes that the hardware
23 Hibernation can be initiated within Linux by writing "disk" to
29 Considerations for Guest VM Hibernation
36 running might also be hibernated using hibernation functionality in
[all …]
/linux/Documentation/power/
H A Dbasic-pm-debugging.rst2 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 Dfreezing-of-tasks.rst11 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 Dpci.rst552 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 Ddrivers-testing.rst13 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.
H A Duserland-swsusp.rst71 return the actual size of the hibernation image
100 enable/disable the hibernation platform support,
104 make the kernel transition the system to the hibernation
/linux/Documentation/admin-guide/pm/
H A Dsleep-states.rst23 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 Dhibernate.c3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support.
12 #define pr_fmt(fmt) "PM: hibernation: " fmt
107 * @ops: Hibernation operations to use in subsequent hibernation transitions.
144 "Number of seconds to wait before resuming from hibernation test");
147 pr_info("hibernation debug: Waiting for %d second(s).\n", in hibernation_debug_sleep()
165 * platform_begin - Call platform to start hibernation.
185 * platform_pre_snapshot - Call platform to prepare the machine for hibernation.
232 * Use the platform driver to prepare the system for resume from a hibernation
272 * swsusp_show_speed - Print time elapsed between two events during hibernation.
305 * create_image - Create a hibernation image.
[all …]
H A DKconfig38 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
/linux/Documentation/driver-api/pm/
H A Dnotifiers.rst5 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 Ddevices.rst38 (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 Dhibernate.c3 * 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 Dsysfs-driver-intel-rapid-start6 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 Dsysfs-devices-power16 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/arch/x86/power/
H A Dhibernate.c3 * Hibernation support for x86
36 * Value of the cr3 register from before the hibernation (this value is passed
89 * of a hibernation image header
91 * @max_size: maximum size of architecture specific data in hibernation header.
108 * [in hibernation asm] in arch_hibernation_header_save()
130 * from the hibernation image header
198 * We reached this while coming out of hibernation. This means in arch_resume_nosmt()
H A Dcpu.c67 * hibernation image and before restoring
72 * boot kernel (ie. the kernel used for loading the hibernation image)
74 * saved in the hibernation image), then its contents must be saved by this
76 * kernel B is used for loading the hibernation image into memory, the
239 * as before hibernation. in __restore_processor_state()
330 * Those will be put to proper (not interfering with hibernation in hibernate_resume_nonboot_cpu_disable()
/linux/include/linux/
H A Dpm.h77 * is, not related to hibernation), the return value of @prepare() may be
95 * hibernation notifiers to be executed before the freezing of tasks.]
144 * @freeze: Hibernation-specific, executed before creating a hibernation image.
149 * during the subsequent resume from hibernation.
157 * @thaw: Hibernation-specific, executed after creating a hibernation image OR
169 * @poweroff: Hibernation-specific, executed after saving a hibernation image.
178 * @restore: Hibernation-specific, executed after restoring the contents of main
179 * memory from a hibernation image, analogous to @resume().
410 * to RAM and hibernation.
443 * (system suspend, hibernation or runtime PM).
[all …]
H A Dsuspend.h317 * struct platform_hibernation_ops - hibernation platform support
320 * operations required by it during a hibernation transition.
324 * @begin: Tell the platform driver that we're starting hibernation.
330 * @pre_snapshot: Prepare the platform for creating the hibernation image.
334 * @finish: Restore the previous state of the platform after the hibernation
336 * mode after the hibernation (the same method is executed in both cases).
341 * Called right after the hibernation image has been saved and before
344 * @enter: Put the system into the low power state after the hibernation image
355 * @pre_restore: Prepare system for the restoration from a hibernation image.
364 * Called by the PM core if the suspending of devices during hibernation
[all …]
/linux/drivers/usb/dwc2/
H A Dcore_intr.c532 "DSTS.Suspend Status=%d HWCFG4.Power Optimize=%d HWCFG4.Hibernation=%d\n", in dwc2_handle_usb_suspend_intr()
535 hsotg->hw_params.hibernation); in dwc2_handle_usb_suspend_intr()
561 "enter hibernation failed\n"); in dwc2_handle_usb_suspend_intr()
565 * If neither hibernation nor partial power down are supported, in dwc2_handle_usb_suspend_intr()
693 * Exits hibernation without restoring registers.
786 * hibernation in dwc2_handle_gpwrdn_intr()
792 if (hsotg->hw_params.hibernation && in dwc2_handle_gpwrdn_intr()
798 "exit hibernation failed.\n"); in dwc2_handle_gpwrdn_intr()
804 "exit hibernation failed.\n"); in dwc2_handle_gpwrdn_intr()
814 "exit hibernation failed.\n"); in dwc2_handle_gpwrdn_intr()
[all …]
/linux/arch/riscv/kernel/
H A Dhibernate.c3 * 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/riscv/include/asm/
H A Dsuspend.h29 * Used by hibernation core and cleared during resume sequence
49 /* Low-level API to support hibernation */
/linux/arch/arm64/kernel/
H A Dmachine_kexec.c230 * should be mapped again around the hibernation.
253 * In hibernation, the pages which are Reserved and yet "nosave" are excluded
254 * from the hibernation iamge. crash_is_nosave() does thich check for crash
255 * dump kernel and will reduce the total size of hibernation image.
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-vmbus1 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 Dfirmware-activate.rst42 run firmware activation from within the equivalent of the hibernation
45 firmware activation without this hibernation cycle. The
/linux/drivers/platform/surface/aggregator/
H A Dcore.c513 * 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()

1234567