/linux/Documentation/admin-guide/pm/ |
H A D | suspend-flows.rst | 5 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 …]
|
H A D | sleep-states.rst | 23 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 …]
|
/linux/Documentation/power/ |
H A D | swsusp.rst | 2 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 …]
|
H A D | drivers-testing.rst | 2 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 …]
|
/linux/kernel/power/ |
H A D | Kconfig | 2 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 …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-evb-rk808.dts | 47 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 …]
|
H A D | rk3036-kylin.dts | 172 regulator-off-in-suspend; 183 regulator-on-in-suspend; 184 regulator-suspend-microvolt = <1000000>; 193 regulator-on-in-suspend; 204 regulator-on-in-suspend; 205 regulator-suspend-microvolt = <3300000>; 216 regulator-on-in-suspend; 217 regulator-suspend-microvolt = <3300000>; 228 regulator-off-in-suspend; 239 regulator-on-in-suspend; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | px30-firefly-jd4-core.dtsi | 98 regulator-on-in-suspend; 99 regulator-suspend-microvolt = <950000>; 112 regulator-off-in-suspend; 113 regulator-suspend-microvolt = <950000>; 123 regulator-on-in-suspend; 135 regulator-on-in-suspend; 136 regulator-suspend-microvolt = <3000000>; 148 regulator-on-in-suspend; 149 regulator-suspend-microvolt = <3300000>; 161 regulator-on-in-suspend; [all …]
|
H A D | rk3588-edgeble-neu6a-common.dtsi | 97 fcs,suspend-voltage-selector = <1>; 107 regulator-off-in-suspend; 114 fcs,suspend-voltage-selector = <1>; 124 regulator-off-in-suspend; 211 regulator-off-in-suspend; 224 regulator-off-in-suspend; 237 regulator-off-in-suspend; 238 regulator-suspend-microvolt = <750000>; 251 regulator-off-in-suspend; 264 regulator-off-in-suspend; [all …]
|
H A D | rk3588-fet3588-c.dtsi | 153 fcs,suspend-voltage-selector = <1>; 163 regulator-off-in-suspend; 170 fcs,suspend-voltage-selector = <1>; 180 regulator-off-in-suspend; 193 fcs,suspend-voltage-selector = <1>; 203 regulator-off-in-suspend; 292 regulator-off-in-suspend; 305 regulator-off-in-suspend; 318 regulator-off-in-suspend; 319 regulator-suspend-microvolt = <750000>; [all …]
|
H A D | px30-engicam-px30-core.dtsi | 78 regulator-on-in-suspend; 79 regulator-suspend-microvolt = <950000>; 92 regulator-off-in-suspend; 93 regulator-suspend-microvolt = <950000>; 103 regulator-on-in-suspend; 115 regulator-on-in-suspend; 116 regulator-suspend-microvolt = <3300000>; 128 regulator-on-in-suspend; 129 regulator-suspend-microvolt = <3300000>; 141 regulator-on-in-suspend; [all …]
|
H A D | rk3588-turing-rk1.dtsi | 127 fcs,suspend-voltage-selector = <1>; 137 regulator-off-in-suspend; 144 fcs,suspend-voltage-selector = <1>; 154 regulator-off-in-suspend; 167 fcs,suspend-voltage-selector = <1>; 177 regulator-off-in-suspend; 345 regulator-off-in-suspend; 358 regulator-off-in-suspend; 371 regulator-off-in-suspend; 372 regulator-suspend-microvolt = <750000>; [all …]
|
H A D | rk3588-coolpi-cm5.dtsi | 151 fcs,suspend-voltage-selector = <1>; 161 regulator-off-in-suspend; 168 fcs,suspend-voltage-selector = <1>; 178 regulator-off-in-suspend; 189 fcs,suspend-voltage-selector = <1>; 199 regulator-off-in-suspend; 389 regulator-off-in-suspend; 402 regulator-off-in-suspend; 415 regulator-off-in-suspend; 416 regulator-suspend-microvolt = <750000>; [all …]
|
H A D | rk3588-friendlyelec-cm3588.dtsi | 145 fcs,suspend-voltage-selector = <1>; 155 regulator-off-in-suspend; 162 fcs,suspend-voltage-selector = <1>; 172 regulator-off-in-suspend; 183 fcs,suspend-voltage-selector = <1>; 193 regulator-off-in-suspend; 386 regulator-off-in-suspend; 399 regulator-off-in-suspend; 412 regulator-off-in-suspend; 413 regulator-suspend-microvolt = <750000>; [all …]
|
H A D | rk3588-tiger.dtsi | 191 fcs,suspend-voltage-selector = <1>; 201 regulator-off-in-suspend; 251 fcs,suspend-voltage-selector = <1>; 261 regulator-off-in-suspend; 268 fcs,suspend-voltage-selector = <1>; 278 regulator-off-in-suspend; 448 regulator-off-in-suspend; 461 regulator-off-in-suspend; 474 regulator-off-in-suspend; 475 regulator-suspend-microvolt = <750000>; [all …]
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.8 | 3 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 …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk806.yaml | 167 regulator-off-in-suspend; 179 regulator-off-in-suspend; 191 regulator-on-in-suspend; 192 regulator-suspend-microvolt = <750000>; 204 regulator-off-in-suspend; 216 regulator-off-in-suspend; 228 regulator-off-in-suspend; 240 regulator-on-in-suspend; 241 regulator-suspend-microvolt = <2000000>; 253 regulator-off-in-suspend; [all …]
|
H A D | rockchip,rk817.yaml | 242 regulator-on-in-suspend; 243 regulator-suspend-microvolt = <950000>; 256 regulator-off-in-suspend; 257 regulator-suspend-microvolt = <950000>; 267 regulator-on-in-suspend; 279 regulator-off-in-suspend; 280 regulator-suspend-microvolt = <3300000>; 292 regulator-on-in-suspend; 293 regulator-suspend-microvolt = <1800000>; 305 regulator-on-in-suspend; [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5422-samsung-k3g.dts | 96 regulator-off-in-suspend; 108 regulator-off-in-suspend; 120 regulator-off-in-suspend; 132 regulator-off-in-suspend; 144 regulator-off-in-suspend; 156 regulator-off-in-suspend; 202 regulator-on-in-suspend; 213 regulator-off-in-suspend; 225 regulator-on-in-suspend; 243 regulator-off-in-suspend; [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | pm.c | 52 /* 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 …]
|
/linux/tools/power/pm-graph/config/ |
H A D | suspend.cfg | 2 # 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 …]
|
H A D | suspend-x2-proc.cfg | 2 # 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 …]
|
H A D | suspend-dev.cfg | 2 # 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 …]
|
H A D | suspend-callgraph.cfg | 2 # 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 …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-power | 15 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 …]
|