/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stm32mp157c-ed1.dts | 90 regulator-on-in-suspend; 91 regulator-suspend-microvolt = <1200000>; 95 regulator-off-in-suspend; 98 regulator-off-in-suspend; 111 regulator-suspend-microvolt = <1350000>; 112 regulator-on-in-suspend; 116 regulator-suspend-microvolt = <1350000>; 117 regulator-on-in-suspend; 121 regulator-off-in-suspend; 135 regulator-suspend-microvolt = <3300000>; [all …]
|
H A D | rk3399-rock960.dtsi | 114 fcs,suspend-voltage-selector = <1>; 125 regulator-off-in-suspend; 132 fcs,suspend-voltage-selector = <1>; 141 regulator-off-in-suspend; 178 regulator-off-in-suspend; 189 regulator-off-in-suspend; 198 regulator-on-in-suspend; 209 regulator-on-in-suspend; 210 regulator-suspend-microvolt = <1800000>; 221 regulator-on-in-suspend; [all …]
|
/openbmc/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 | 151 regulator-off-in-suspend; 162 regulator-on-in-suspend; 163 regulator-suspend-microvolt = <1000000>; 172 regulator-on-in-suspend; 183 regulator-on-in-suspend; 184 regulator-suspend-microvolt = <3300000>; 195 regulator-on-in-suspend; 196 regulator-suspend-microvolt = <3300000>; 207 regulator-off-in-suspend; 218 regulator-on-in-suspend; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-edgeble-neu6b.dtsi | 131 regulator-off-in-suspend; 144 regulator-off-in-suspend; 157 regulator-off-in-suspend; 158 regulator-suspend-microvolt = <750000>; 172 regulator-off-in-suspend; 185 regulator-off-in-suspend; 186 regulator-suspend-microvolt = <850000>; 196 regulator-on-in-suspend; 209 regulator-on-in-suspend; 210 regulator-suspend-microvolt = <2000000>; [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-evb1-v10.dts | 261 regulator-off-in-suspend; 273 regulator-off-in-suspend; 285 regulator-off-in-suspend; 286 regulator-suspend-microvolt = <750000>; 298 regulator-off-in-suspend; 311 regulator-off-in-suspend; 324 regulator-off-in-suspend; 337 regulator-on-in-suspend; 338 regulator-suspend-microvolt = <2000000>; 350 regulator-off-in-suspend; [all …]
|
H A D | rk3588-rock-5b.dts | 121 fcs,suspend-voltage-selector = <1>; 131 regulator-off-in-suspend; 138 fcs,suspend-voltage-selector = <1>; 148 regulator-off-in-suspend; 325 regulator-off-in-suspend; 338 regulator-off-in-suspend; 351 regulator-off-in-suspend; 352 regulator-suspend-microvolt = <750000>; 365 regulator-off-in-suspend; 378 regulator-off-in-suspend; [all …]
|
H A D | rk3588s-rock-5a.dts | 157 fcs,suspend-voltage-selector = <1>; 167 regulator-off-in-suspend; 174 fcs,suspend-voltage-selector = <1>; 184 regulator-off-in-suspend; 195 fcs,suspend-voltage-selector = <1>; 205 regulator-off-in-suspend; 439 regulator-off-in-suspend; 452 regulator-off-in-suspend; 465 regulator-off-in-suspend; 466 regulator-suspend-microvolt = <750000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk806.yaml | 165 regulator-off-in-suspend; 177 regulator-off-in-suspend; 189 regulator-on-in-suspend; 190 regulator-suspend-microvolt = <750000>; 202 regulator-off-in-suspend; 214 regulator-off-in-suspend; 226 regulator-off-in-suspend; 238 regulator-on-in-suspend; 239 regulator-suspend-microvolt = <2000000>; 251 regulator-off-in-suspend; [all …]
|
H A D | rockchip,rk818.yaml | 152 regulator-off-in-suspend; 163 regulator-on-in-suspend; 164 regulator-suspend-microvolt = <1000000>; 173 regulator-on-in-suspend; 184 regulator-on-in-suspend; 185 regulator-suspend-microvolt = <3300000>; 196 regulator-on-in-suspend; 197 regulator-suspend-microvolt = <5000000>; 206 regulator-off-in-suspend; 217 regulator-on-in-suspend; [all …]
|
H A D | rockchip,rk817.yaml | 233 regulator-on-in-suspend; 234 regulator-suspend-microvolt = <950000>; 247 regulator-off-in-suspend; 248 regulator-suspend-microvolt = <950000>; 258 regulator-on-in-suspend; 270 regulator-off-in-suspend; 271 regulator-suspend-microvolt = <3300000>; 283 regulator-on-in-suspend; 284 regulator-suspend-microvolt = <1800000>; 296 regulator-on-in-suspend; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/power/pm-graph/config/ |
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.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-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 …]
|
/openbmc/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 …]
|