Home
last modified time | relevance | path

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

123456

/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 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
H A Dswsusp.rst51 - If you would like to write hibernation image to swap and then suspend
69 if found, it then checks the contents for the hibernation image signature.
70 If both are found, it resumes the hibernation image.
106 parameter, it saves hibernation image without compression.
196 kernel threads are controlled during hibernation or system-wide suspend (on
/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
85 * pm_hibernation_mode_is_suspend - Check if hibernation has been set to suspend
118 * @ops: Hibernation operations to use in subsequent hibernation transitions.
155 "Number of seconds to wait before resuming from hibernation test");
158 pr_info("hibernation debug: Waiting for %d second(s).\n", in hibernation_debug_sleep()
176 * platform_begin - Call platform to start hibernation.
196 * platform_pre_snapshot - Call platform to prepare the machine for hibernation.
243 * Use the platform driver to prepare the system for resume from a hibernation
283 * swsusp_show_speed - Print time elapsed between two events during hibernation.
[all …]
H A Dsnapshot.c11 #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).
1220 * Estimate the number of additional pages needed for setting up a hibernation
[all...]
/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.
/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.
/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 Dhibernate_asm_64.S3 * Hibernation support for x86-64
67 /* tell the hibernation core that we've just restored the memory */
/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/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/powerpc/platforms/pseries/
H A Dsuspend.c21 * pseries_suspend_begin - First phase of hibernation
52 * pseries_suspend_enter - Final phase of hibernation
63 * store_hibernate - Initiate partition hibernation
/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/tools/hv/
H A Dhv_fcopy_daemon.c
/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()
/linux/Documentation/devicetree/bindings/net/
H A Dqca,ar803x.yaml72 qca,disable-hibernation-mode:
74 Disable Atheros AR803X PHYs hibernation mode. If present, indicates
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_phy.c342 "Disabling hibernation for AR803X PHY\n"); in pch_gbe_phy_disable_hibernate()
355 "Unknown PHY (%x), could not disable hibernation\n", in pch_gbe_phy_disable_hibernate()
362 "Could not disable PHY hibernation\n"); in pch_gbe_phy_disable_hibernate()

123456