Lines Matching +full:keep +full:- +full:power +full:- +full:in +full:- +full:suspend
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.
20 Turning OFF this setting is NOT recommended! If in doubt, say Y.
23 bool "Skip kernel's sys_sync() on suspend to RAM/standby"
24 depends on SUSPEND
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
39 bool "Hibernation (aka 'suspend to disk')"
46 Enable the suspend to disk (STD) functionality, which is usually
47 called "hibernation" in user interfaces. STD checkpoints the
50 You can suspend your machine with 'echo disk > /sys/power/state'
52 in your bootloader's configuration file.
55 from <http://suspend.sf.net>.
57 In principle it does not require ACPI or APM, although for example
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
63 It creates an image which is saved in your active swap. Upon the next
69 need to run mkswap against the swap partition used for the suspend.
72 <file:Documentation/power/swsusp-and-swap-files.rst>).
74 Right now you may boot without resuming and resume later but in the
75 meantime you cannot use the swap partition(s)/file(s) involved in
76 suspending. Also in this case you must not use the filesystems
77 that were mounted before the suspend. In particular, you MUST NOT
78 MOUNT any journaled filesystems mounted before the suspend or they
79 will get corrupted in a nasty way.
81 For more information take a look at <file:Documentation/power/swsusp.rst>.
93 If in doubt, say Y.
122 The default resume partition is the partition that the suspend-
123 to-disk implementation will look for a suspended disk image.
141 depends on SUSPEND || HIBERNATE_CALLBACKS
156 If an arch can suspend (for suspend, hibernate, kexec, etc) on a
157 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This
171 Notify kernel of aggressive userspace autosleep power management policy.
173 This option changes the behavior of various sleep-sensitive code to deal
174 with frequent userspace-initiated transitions into a global sleep state.
176 Saying Y here, disables code paths that most users really should keep
177 enabled. In particular, only enable this if it is very common to be
181 a userspace power manager service should enable this option; and not
192 objects with the help of a sysfs-based interface.
206 bool "Device power management core functionality"
208 Enable functionality allowing I/O devices to be put into energy-saving
209 (low power) states, for example after a specified period of inactivity
210 (autosuspended), and woken up in response to a hardware-generated
211 wake-up event or a driver's request.
215 responsible for the actual handling of device suspend requests and
216 wake-up events.
219 bool "Power Management Debug Support"
222 This option enables various debugging support in the Power Management
224 suspend support.
227 bool "Extra PM attributes in sysfs for low-level debugging/testing"
230 Add extra sysfs attributes allowing one to access some Power Management
232 developer interested in debugging/testing Power Management, say "no".
235 bool "Test suspend/resume and wakealarm during bootup"
236 depends on SUSPEND && PM_DEBUG && RTC_CLASS=y
238 This option will let you suspend your machine during bootup, and
250 bool "Device suspend/resume watchdog"
254 locked up attempting to suspend/resume a device.
256 captured in pstore device for inspection in subsequent
260 int "Watchdog timeout to panic in seconds"
266 int "Watchdog timeout to warn in seconds"
272 different then a non-fatal warning (with a stack trace of
273 the stuck suspend routine) will be printed when the warning
274 timeout expires. If the suspend routine gets un-stuck
277 timeout expires then an emergency-level message and stack
289 example does by saving things in the RTC, see below.
292 functions from <linux/resume-trace.h> as well as the
293 <asm/resume-trace.h> header with a TRACE_RESUME() macro.
295 The way the information is presented is architecture-
300 bool "Suspend/resume event tracing"
305 This enables some cheesy code to save the last PM event point in the
307 during suspend (or more commonly, during resume).
309 To use this debugging feature you should attempt to suspend the
312 dmesg -s 1000000 | grep 'hash matches'
314 CAUTION: this option will cause your machine's real-time clock to be
318 tristate "Advanced Power Management Emulation"
321 APM is a BIOS specification for saving power using several different
325 battery status information, and user-space programs will receive
328 In order to use APM, you will need supporting software. For location
329 and more information, read <file:Documentation/power/apm-acpi.rst>
330 and the Battery Powered Linux mini-HOWTO, available from
335 VESA-compliant "green" monitors.
337 Generally, if you don't have a battery in your machine, there isn't
338 much point in using this driver and you should say N. If you get
341 APM in your BIOS).
352 bool "Enable workqueue power-efficient mode by default"
355 Per-cpu workqueues are generally preferred because they show
357 per-cpu workqueues tend to be more power hungry than unbound
361 per-cpu workqueues which were observed to contribute
362 significantly to power consumption unbound, leading to measurably
363 lower power usage at the cost of small performance overhead.
368 If in doubt, say N.
391 The exact usage of the energy model is subsystem-dependent.
393 If in doubt, say N.