Home
last modified time | relevance | path

Searched full:suspend (Results 1 – 25 of 3279) sorted by relevance

12345678910>>...132

/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dsuspend-flows.rst5 System Suspend Code Flows
16 referred to as *system-wide suspend* (or simply *system suspend*) states, need
20 the target sleep state is referred to as *system suspend* too (in the majority
25 The kernel code flows associated with the suspend and resume transitions for
27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows
28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and
31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states
33 boils down to the platform-specific actions carried out by the suspend and
35 available. Apart from that, the suspend and resume code flows for these sleep
37 *platform-dependent suspend* states in what follows.
[all …]
Dsleep-states.rst23 hibernation and up to three variants of system suspend. The sleep states that
28 Suspend-to-Idle
31 This is a generic, pure software, light-weight variant of system suspend (also
43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the
44 deeper system suspend variants to provide reduced resume latency. It is always
58 I/O devices into low-power states, which is done for :ref:`suspend-to-idle
61 allow more energy to be saved relative to :ref:`suspend-to-idle <s2idle>`, but
65 reduced relative to :ref:`suspend-to-idle <s2idle>` and it may be necessary to
70 core system suspend subsystem. On ACPI-based systems this state is mapped to
75 Suspend-to-RAM
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Dswsusp.rst2 Swap suspend
11 If you touch anything on disk between suspend and resume...
20 problems. If your disk driver does not support suspend... (IDE does),
22 between suspend and resume, it may do something wrong. If you change
26 ( ) suspend/resume support is needed to make it safe.
28 If you have any filesystems on USB devices mounted before software suspend,
43 After preparing then you suspend by::
51 - If you would like to write hibernation image to swap and then suspend
54 echo suspend > /sys/power/disk; echo disk > /sys/power/state
56 - If you have SATA disks, you'll need recent kernels with SATA suspend
[all …]
Ddrivers-testing.rst2 Testing suspend and resume support in device drivers
10 Unfortunately, to effectively test the support for the system-wide suspend and
11 resume transitions in a driver, it is necessary to suspend and resume a fully
14 (aka suspend to disk or STD) and suspend to RAM (STR), because each of these
18 Of course, for this purpose the test system has to be known to suspend and
20 resolve all suspend/resume-related problems in the test system before you start
22 for more information about the debugging of suspend/resume functionality.
27 Once you have resolved the suspend/resume-related problems with your test system
42 e) Try the test modes of suspend (see:
47 f) Attempt to suspend to RAM using the s2ram tool with the driver loaded
[all …]
/kernel/linux/linux-5.10/kernel/power/
DKconfig2 config SUSPEND config
3 bool "Suspend to RAM and standby"
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
29 of suspend, or they are content with invoking sync() from
[all …]
Dsuspend.c3 * kernel/power/suspend.c - Suspend to RAM and standby functionality.
26 #include <linux/suspend.h>
65 * pm_suspend_default_s2idle - Check if suspend-to-idle is the default suspend.
67 * Return 'true' if suspend-to-idle has been selected as the default system
68 * suspend method.
122 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop()
125 * Suspend-to-idle equals: in s2idle_loop()
130 * Wakeups during the noirq suspend of devices may be spurious, so try in s2idle_loop()
144 pm_pr_dbg("resume from suspend-to-idle\n"); in s2idle_loop()
176 * Suspend-to-idle should be supported even without any suspend_ops, in pm_states_init()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-evb-rk808.dts47 regulator-off-in-suspend;
58 regulator-on-in-suspend;
59 regulator-suspend-microvolt = <1000000>;
68 regulator-on-in-suspend;
79 regulator-on-in-suspend;
80 regulator-suspend-microvolt = <3300000>;
91 regulator-on-in-suspend;
92 regulator-suspend-microvolt = <3300000>;
103 regulator-off-in-suspend;
114 regulator-on-in-suspend;
[all …]
Drk3036-kylin.dts147 regulator-off-in-suspend;
158 regulator-on-in-suspend;
159 regulator-suspend-microvolt = <1000000>;
168 regulator-on-in-suspend;
179 regulator-on-in-suspend;
180 regulator-suspend-microvolt = <3300000>;
191 regulator-on-in-suspend;
192 regulator-suspend-microvolt = <3300000>;
203 regulator-off-in-suspend;
214 regulator-on-in-suspend;
[all …]
Dat91-sama5d27_wlsom1.dtsi72 regulator-on-in-suspend;
77 regulator-off-in-suspend;
91 regulator-on-in-suspend;
92 regulator-suspend-microvolt = <1200000>;
93 regulator-changeable-in-suspend;
98 regulator-on-in-suspend;
99 regulator-suspend-microvolt = <1200000>;
100 regulator-changeable-in-suspend;
114 regulator-on-in-suspend;
119 regulator-off-in-suspend;
[all …]
De60k02.dtsi133 regulator-on-in-suspend;
134 regulator-suspend-max-microvolt = <900000>;
135 regulator-suspend-min-microvolt = <900000>;
146 regulator-on-in-suspend;
147 regulator-suspend-max-microvolt = <3300000>;
148 regulator-suspend-min-microvolt = <3300000>;
160 regulator-on-in-suspend;
161 regulator-suspend-max-microvolt = <1140000>;
162 regulator-suspend-min-microvolt = <1140000>;
175 regulator-on-in-suspend;
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.83 sleepgraph \- Suspend/Resume timing analysis
11 in optimizing their linux stack's suspend/resume time. Using a kernel
13 suspend and capture dmesg and ftrace data until resume is complete.
16 taking the most time in suspend/resume.
19 a suspend/resume.
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
40 Mode to initiate for suspend e.g. standby, freeze, mem (default: mem).
46 e.g. suspend-{hostname}-{date}-{time}
58 will execute the suspend via turbostat and collect data in the timeline log.
69 During test, enable/disable runtime suspend for all devices. The test is delayed
[all …]
DREADME8 pm-graph: suspend/resume/boot timing analysis tools
50 their linux stack's suspend/resume & boot time. Using a kernel image built
51 with a few extra options enabled, the tools will execute a suspend or boot,
54 and kernel processes are taking the most time in suspend/resume & boot.
107 in file: kernel/power/suspend.c
137 %> sudo ./sleepgraph.py -config config/suspend.cfg
141 files in subdirectory: suspend-mmddyy-HHMMSS. The ftrace file can
173 %> sudo ./sleepgraph.py -config config/suspend-dev.cfg
182 the period before and after suspend/resume.
189 successive suspend/resumes.
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dpm.c52 /* for STA-like interface, don't runtime suspend */ in wil_can_suspend_vif()
56 wil_dbg_pm(wil, "Delay suspend when connecting\n"); in wil_can_suspend_vif()
64 /* AP-like interface - can't suspend */ in wil_can_suspend_vif()
83 wil_dbg_pm(wil, "Deny any suspend - %s mode\n", in wil_can_suspend()
88 if (is_runtime && !wil->platform_ops.suspend) { in wil_can_suspend()
103 wil_dbg_pm(wil, "Delay suspend when resetting\n"); in wil_can_suspend()
108 wil_dbg_pm(wil, "Delay suspend during recovery\n"); in wil_can_suspend()
184 wil_dbg_pm(wil, "suspend keep radio on\n"); in wil_suspend_keep_radio_on()
202 wil_dbg_pm(wil, "Pending TX data, reject suspend\n"); in wil_suspend_keep_radio_on()
208 wil_dbg_pm(wil, "Pending RX data, reject suspend\n"); in wil_suspend_keep_radio_on()
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dsuspend-x2-proc.cfg2 # Proc S3 (Suspend to Mem) x2 test - includes user processes
9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg
20 # Suspend Mode
26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc
36 # Suspend/Resume Gap
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
42 # Command to execute in lieu of suspend (default: "")
53 # Back to Back Suspend/Resume
54 # Run two suspend/resumes back to back (default: false)
57 # Back to Back Suspend Delay
[all …]
Dsuspend-dev.cfg2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads
9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg
20 # Suspend Mode
26 output-dir: suspend-{hostname}-{date}-{time}-dev
36 # Suspend/Resume Gap
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
42 # Command to execute in lieu of suspend (default: "")
53 # Back to Back Suspend/Resume
54 # Run two suspend/resumes back to back (default: false)
57 # Back to Back Suspend Delay
[all …]
Dsuspend.cfg2 # Generic S3 (Suspend to Mem) test
9 # sudo ./sleepgraph.py -config config/suspend.cfg
20 # Suspend Mode
26 output-dir: suspend-{hostname}-{date}-{time}
36 # Suspend/Resume Gap
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
42 # Command to execute in lieu of suspend (default: "")
53 # Back to Back Suspend/Resume
54 # Run two suspend/resumes back to back (default: false)
57 # Back to Back Suspend Delay
[all …]
Dsuspend-callgraph.cfg2 # Full Callgraph for S3 (Suspend to Mem) test
9 # sudo ./sleepgraph.py -config config/suspend.cfg
21 # Suspend Mode
27 output-dir: suspend-{hostname}-{date}-{time}-cg
37 # Suspend/Resume Gap
38 # insert a small visible gap between suspend and resume on the timeline (default: false)
43 # Command to execute in lieu of suspend (default: "")
54 # Back to Back Suspend/Resume
55 # Run two suspend/resumes back to back (default: false)
58 # Back to Back Suspend Delay
[all …]
Dexample.cfg2 # Generic S3 (Suspend to Mem) test
20 # Suspend Mode
26 output-dir: suspend-{hostname}-{date}-{time}
36 # Suspend/Resume Gap
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
44 # Sync filesystem before suspend
48 # Runtime suspend enable/disable
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
66 # Command to execute in lieu of suspend (default: "")
81 # Back to Back Suspend/Resume
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Dpx30-evb.dts206 regulator-on-in-suspend;
207 regulator-suspend-microvolt = <950000>;
220 regulator-off-in-suspend;
221 regulator-suspend-microvolt = <950000>;
231 regulator-on-in-suspend;
243 regulator-on-in-suspend;
244 regulator-suspend-microvolt = <3000000>;
256 regulator-on-in-suspend;
257 regulator-suspend-microvolt = <3300000>;
269 regulator-on-in-suspend;
[all …]
Drk3399pro-vmarc-som.dtsi97 regulator-off-in-suspend;
98 regulator-suspend-microvolt = <900000>;
111 regulator-off-in-suspend;
121 regulator-on-in-suspend;
133 regulator-on-in-suspend;
134 regulator-suspend-microvolt = <3300000>;
145 regulator-on-in-suspend;
146 regulator-suspend-microvolt = <2200000>;
157 regulator-on-in-suspend;
158 regulator-suspend-microvolt = <900000>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmcp16502-regulator.txt7 suspend-to-ram, keeping the PMIC into HIBERNATE mode.
45 regulator-on-in-suspend;
50 regulator-off-in-suspend;
64 regulator-on-in-suspend;
69 regulator-on-in-suspend;
83 regulator-on-in-suspend;
88 regulator-off-in-suspend;
102 regulator-on-in-suspend;
107 regulator-off-in-suspend;
119 regulator-on-in-suspend;
[all …]
Dregulator.yaml152 sub-nodes for regulator state in Standby, Suspend-to-RAM, and
153 Suspend-to-DISK modes. Equivalent with standby, mem, and disk Linux
157 regulator-on-in-suspend:
158 description: regulator should be on in suspend state.
161 regulator-off-in-suspend:
162 description: regulator should be off in suspend state.
165 regulator-suspend-min-microvolt:
166 description: minimum voltage may be set in suspend state.
168 regulator-suspend-max-microvolt:
169 description: maximum voltage may be set in suspend state.
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-power15 labels, which may be "mem" (suspend), "standby" (power-on
16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation).
29 system suspend. Reading from it returns the available modes
32 to suspend the system (by writing "mem" to the /sys/power/state
36 represented by it to be used on subsequent attempts to suspend
47 suspend-to-disk mechanism. Reading from this file returns
49 sleep on the next suspend. There are four methods supported:
53 firmware will handle the system suspend.
66 two testing modes of the suspend-to-disk mechanism: 'testproc'
67 or 'test'. If the suspend-to-disk mechanism is in the
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/pm/
Ddevices.rst37 low-power states like "suspend" (also known as "suspend-to-RAM"), or
39 "suspend-to-disk").
42 by implementing various role-specific suspend and resume methods to
63 transitions (suspend or hibernation).
69 various role-specific suspend and resume methods, so that the hardware
119 The core methods to suspend and resume devices reside in
227 suspend the device by putting it into a state compatible with the target
233 resume it by returning it to full power. The suspend and resume operations
236 For simple drivers, suspend might quiesce the device using class code
250 walked in a bottom-up order to suspend devices. A top-down order is
[all …]
Dnotifiers.rst5 Suspend/Hibernation Notifiers
14 before hibernation/suspend or after restore/resume, but they require the system
15 to be fully functional, so the drivers' and subsystems' ``->suspend()`` and
24 ``->resume()`` routine. A suspend/hibernation notifier may be used for that.
26 Subsystems or drivers having such needs can register suspend notifiers that
50 The system is preparing for suspend.
53 The system has just resumed or an error occurred during suspend. Device
66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.
70 To register and/or unregister a suspend notifier use
72 respectively (both defined in :file:`include/linux/suspend.h`). If you don't
[all …]

12345678910>>...132