Lines Matching +full:suspend +full:- +full:to +full:- +full:ram

1 # SPDX-License-Identifier: GPL-2.0-only
2 config SUSPEND config
3 bool "Suspend to RAM and standby"
7 Allow the system to enter sleep states in which main memory is
9 suspend-to-RAM state (e.g. the ACPI S3 state).
12 bool "Enable freezer for suspend to RAM/standby" \
14 depends on SUSPEND
17 This allows you to turn off the freezer for suspend. If this is
18 done, no tasks are frozen for suspend to RAM/standby.
23 bool "Skip kernel's sys_sync() on suspend to RAM/standby"
24 depends on SUSPEND
28 Some systems prefer not to pay this cost on every invocation
29 of suspend, or they are content with invoking sync() from
30 user-space before invoking suspend. There's a run-time switch
31 at '/sys/power/sync_on_suspend' to configure this behaviour.
32 This setting changes the default for the run-tim switch. Say Y
33 to change the default to disable the kernel sys_sync().
39 bool "Hibernation (aka 'suspend to disk')"
46 Enable the suspend to disk (STD) functionality, which is usually
50 You can suspend your machine with 'echo disk > /sys/power/state'
55 from <http://suspend.sf.net>.
59 of the reasons to use software suspend is that the firmware hooks
60 for suspend states like suspend-to-RAM (STR) often don't work very
64 boot, pass the 'resume=/dev/swappartition' argument to the kernel to
66 continue to run as before. If you do not want the previous state to
69 need to run mkswap against the swap partition used for the suspend.
71 It also works with swap files to a limited extent (for details see
72 <file:Documentation/power/swsusp-and-swap-files.rst>).
77 that were mounted before the suspend. In particular, you MUST NOT
78 MOUNT any journaled filesystems mounted before the suspend or they
100 The default resume partition is the partition that the suspend-
101 to-disk implementation will look for a suspended disk image.
111 which will set the resume partition to the device specified.
113 Note there is currently not a way to specify which device to save the
114 suspended image to. It will simply pick the first available swap
119 depends on SUSPEND || HIBERNATE_CALLBACKS
135 If an arch can suspend (for suspend, hibernate, kexec, etc) on a
136 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This
137 will allow nohz_full mask to include CPU0.
144 Allow the kernel to trigger a system transition into a global sleep
152 Allow user space to create, activate and deactivate wakeup source
153 objects with the help of a sysfs-based interface.
169 Enable functionality allowing I/O devices to be put into energy-saving
171 (autosuspended), and woken up in response to a hardware-generated
172 wake-up event or a driver's request.
174 Hardware support is generally required for this functionality to work
176 responsible for the actual handling of device suspend requests and
177 wake-up events.
185 suspend support.
188 bool "Extra PM attributes in sysfs for low-level debugging/testing"
191 Add extra sysfs attributes allowing one to access some Power Management
196 bool "Test suspend/resume and wakealarm during bootup"
197 depends on SUSPEND && PM_DEBUG && RTC_CLASS=y
199 This option will let you suspend your machine during bootup, and
203 You probably want to have your system's RTC driver statically
211 bool "Device suspend/resume watchdog"
214 Sets up a watchdog timer to capture drivers that are
215 locked up attempting to suspend/resume a device.
229 This enables code to save the last PM event point across
230 reboot. The architecture needs to support this, x86 for
234 functions from <linux/resume-trace.h> as well as the
235 <asm/resume-trace.h> header with a TRACE_RESUME() macro.
237 The way the information is presented is architecture-
242 bool "Suspend/resume event tracing"
247 This enables some cheesy code to save the last PM event point in the
249 during suspend (or more commonly, during resume).
251 To use this debugging feature you should attempt to suspend the
254 dmesg -s 1000000 | grep 'hash matches'
256 CAUTION: this option will cause your machine's real-time clock to be
257 set to an invalid time after a resume.
267 battery status information, and user-space programs will receive
270 In order to use APM, you will need supporting software. For location
271 and more information, read <file:Documentation/power/apm-acpi.rst>
272 and the Battery Powered Linux mini-HOWTO, available from
277 VESA-compliant "green" monitors.
281 random kernel OOPSes or reboots that don't seem to be related to
294 bool "Enable workqueue power-efficient mode by default"
298 Per-cpu workqueues are generally preferred because they show
299 better performance thanks to cache locality; unfortunately,
300 per-cpu workqueues tend to be more power hungry than unbound
304 per-cpu workqueues which were observed to contribute
305 significantly to power consumption unbound, leading to measurably
331 can leverage information about the energy consumed by CPUs to make
335 The exact usage of the energy model is subsystem-dependent.