/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 20 range of dynamic idle states that a processor can enter at run-time, can be 27 - Running 28 - Idle_standby [all …]
|
/linux-5.10/Documentation/arm/omap/ |
D | omap_pm.rst | 6 authors use these functions to communicate minimum latency or 13 - support the range of power management parameters present in the TI SRF; 15 - separate the drivers from the underlying PM parameter 17 latency framework or something else; 19 - specify PM parameters in terms of fundamental units, such as 20 latency and throughput, rather than units which are specific to OMAP 23 - allow drivers which are shared with other architectures (e.g., 24 DaVinci) to add these constraints in a way which won't affect non-OMAP 27 - can be implemented immediately with minimal disruption of other 34 1. Set the maximum MPU wakeup latency:: [all …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-power | 9 What: /sys/devices/.../power/wakeup 13 The /sys/devices/.../power/wakeup attribute allows the user 19 Some devices support "wakeup" events, which are hardware signals 21 have one of the following two values for the sysfs power/wakeup 31 For the devices that are not capable of generating system wakeup 40 space to control the run-time power management of the device. 61 with the main suspend/resume thread) during system-wide power 85 of signaled wakeup events associated with the device. This 86 attribute is read-only. If the device is not capable to wake up 96 number of times the processing of wakeup events associated with [all …]
|
/linux-5.10/Documentation/admin-guide/pm/ |
D | cpuidle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 27 CPU idle time management is an energy-efficiency feature concerned about using 31 ------------ 37 software as individual single-core processors. In other words, a CPU is an 46 Second, if the processor is multi-core, each core in it is able to follow at 61 Finally, each core in a multi-core processor may be able to follow more than one 66 multiple individual single-core "processors", referred to as *hardware threads* 67 (or hyper-threads specifically on Intel hardware), that each can follow one 78 --------- 107 next wakeup event, or there are strict latency constraints preventing any of the [all …]
|
D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 40 also be set up as wakeup devices for S2Idle. 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 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/ |
D | marvell-bt-8xxx.txt | 2 ------ 9 - compatible : should be one of the following: 10 * "marvell,sd8897-bt" (for SDIO) 11 * "marvell,sd8997-bt" (for SDIO) 16 - marvell,cal-data: Calibration data downloaded to the device during 20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. 21 firmware will use the pin to wakeup host system (u16). 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 25 - interrupt-names: Used only for USB based devices (See below) 26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the [all …]
|
/linux-5.10/Documentation/virt/kvm/ |
D | halt-polling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 The KVM halt polling system provides a feature within KVM whereby the latency 11 vcpus of a single vcore have ceded, the host kernel polls for wakeup conditions 14 Polling provides a latency advantage in cases where the guest can be run again 16 the order of a few micro-seconds, although performance benefits are workload 17 dependant. In the event that no wakeup source arrives during the polling 20 wakeup periods where the time spent halt polling is minimised and the time 27 The powerpc kvm-hv specific case is implemented in: 39 kvm_vcpu->halt_poll_ns 41 or in the case of powerpc kvm-hv, in the vcore struct: [all …]
|
/linux-5.10/tools/perf/scripts/perl/bin/ |
D | wakeup-latency-report | 2 # description: system-wide min/max/avg wakeup latency 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/wakeup-latency.pl
|
/linux-5.10/Documentation/devicetree/bindings/iio/accel/ |
D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an [all …]
|
/linux-5.10/drivers/cpuidle/ |
D | cpuidle-pseries.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * cpuidle-pseries - idle state cpuidle driver. 78 * were soft-disabled in check_and_cede_processor() 92 * "ibm,get-systems-parameter" RTAS call with the token 98 * table with all the parameters to ibm,get-system-parameters. 99 * CEDE_LATENCY_TOKEN corresponds to the token value for Cede Latency 105 * If the platform supports the cede latency settings information system 109 * a. The first byte is the length “N” of each cede latency setting record minus 112 * b. For each supported cede latency setting a cede latency setting record 115 * ----------------------------- [all …]
|
D | dt_idle_states.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #define pr_fmt(fmt) "DT idle-states: " fmt 33 idle_state->enter = match_id->data; in init_state_node() 39 idle_state->enter_s2idle = match_id->data; in init_state_node() 41 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 42 &idle_state->exit_latency); in init_state_node() 46 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 49 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node() 51 return -EINVAL; in init_state_node() 54 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node() [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "omap3-gta04.dtsi" 18 interrupt-parent = <&gpio3>; 20 Vdd-supply = <&vaux2>; 21 Vdd_IO-supply = <&vaux2>; 23 st,click-single-x; 24 st,click-single-y; 25 st,click-single-z; 26 st,click-thresh-x = <8>; 27 st,click-thresh-y = <8>; [all …]
|
D | exynos4412.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "exynos4-cpu-thermal.dtsi" 29 fimc-lite0 = &fimc_lite_0; 30 fimc-lite1 = &fimc_lite_1; 35 #address-cells = <1>; 36 #size-cells = <0>; 40 compatible = "arm,cortex-a9"; 43 clock-names = "cpu"; 44 operating-points-v2 = <&cpu0_opp_table>; 45 #cooling-cells = <2>; /* min followed by max */ [all …]
|
D | sun8i-r16-bananapi-m2m.dts | 2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-a33.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; 68 label = "bpi-m2m:blue:usr"; 73 label = "bpi-m2m:green:usr"; [all …]
|
/linux-5.10/tools/perf/bench/ |
D | futex-wake-parallel.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Block a bunch of threads and let parallel waker threads wakeup an 6 * equal amount of them. The program output reflects the avg latency 27 #include <subcmd/parse-options.h> 47 /* all threads will block on the same futex -- hash bucket chaos ;) */ 69 "perf bench futex wake-parallel <options>", 82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 83 if (waker->nwoken != nwakes) in waking_workerfn() 84 warnx("couldn't wakeup all tasks (%d/%d)", in waking_workerfn() 85 waker->nwoken, nwakes); in waking_workerfn() [all …]
|
/linux-5.10/tools/perf/Documentation/ |
D | perf-sched.txt | 1 perf-sched(1) 5 ---- 6 perf-sched - Tool to trace/measure scheduler properties (latencies) 9 -------- 11 'perf sched' {record|latency|map|replay|script|timehist} 14 ----------- 20 'perf sched latency' to report the per task scheduling latencies 30 of the workload as it occurred when it was recorded - and can repeat 33 'perf sched map' to print a textual context-switching outline of 35 individual CPUs, and the two-letter shortcuts stand for tasks that [all …]
|
/linux-5.10/drivers/i2c/busses/ |
D | i2c-omap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2004 - 2007 Texas Instruments. 30 #include <linux/platform_data/i2c-omap.h> 52 /* For OMAP3 I2C_IV has changed to I2C_WE (wakeup enable) */ 103 /* I2C WE wakeup enable register */ 105 #define OMAP_I2C_WE_RDR_WE (1 << 13) /* RX drain wakeup */ 106 #define OMAP_I2C_WE_AAS_WE (1 << 9) /* Address as slave wakeup*/ 107 #define OMAP_I2C_WE_BF_WE (1 << 8) /* Bus free wakeup */ 108 #define OMAP_I2C_WE_STC_WE (1 << 6) /* Start condition wakeup */ 109 #define OMAP_I2C_WE_GC_WE (1 << 5) /* General call wakeup */ [all …]
|
/linux-5.10/Documentation/trace/ |
D | ftrace.rst | 2 ftrace - Function Tracer 13 - Written for: 2.6.28-rc2 14 - Updated for: 3.10 15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt 16 - Converted to rst format - Changbin Du <changbin.du@intel.com> 19 ------------ 24 performance issues that take place outside of user-space. 28 There's latency tracing to examine what occurs between interrupts 41 ---------------------- 43 See :doc:`ftrace-design` for details for arch porters and such. [all …]
|
/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_rc6.c | 2 * SPDX-License-Identifier: MIT 20 * low-voltage mode when idle, using down to 0V while at this stage. This 26 * among each other with the latency required to enter and leave RC6 and 34 * require higher latency to switch to and wake up. 44 return rc6_to_gt(rc)->uncore; in rc6_to_uncore() 49 return rc6_to_gt(rc)->i915; in rc6_to_i915() 60 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable() 73 set(uncore, RING_MAX_IDLE(engine->mmio_base), 10); in gen11_rc6_enable() 86 * it takes us to service a CS interrupt and submit a new ELSP - that in gen11_rc6_enable() 89 * interrupt service latency, the hardware will automatically gate in gen11_rc6_enable() [all …]
|
/linux-5.10/drivers/cpuidle/governors/ |
D | teo.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * Of course, non-timer wakeup sources are more important in some use cases and 28 * - Find an idle state on the basis of the sleep length and state statistics 42 * - If the majority of the most recent idle duration values are below the 63 * the detection of wakeup patterns. 68 * struct teo_idle_state - Idle state data used by the TEO cpuidle governor. 73 * A CPU wakeup is "matched" by a given idle state if the idle duration measured 74 * after the wakeup is between the target residency of that state and the target 76 * "matches" a CPU wakeup when the measured idle duration is at least equal to 79 * Also, from the TEO governor perspective, a CPU wakeup from idle is "early" if [all …]
|
D | menu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * menu.c - the menu idle governor 5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> 36 * 3) Latency tolerance (from pmqos infrastructure) 40 * ----------------------- 68 * Repeatable-interval-detector 69 * ---------------------------- 79 * --------------------------- 88 * This rule-of-thumb is implemented using a performance-multiplier: 89 * If the exit latency times the performance multiplier is longer than [all …]
|
/linux-5.10/kernel/locking/ |
D | lock_events_list.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 LOCK_EVENT(pv_latency_kick) /* Average latency (ns) of vCPU kick */ 29 LOCK_EVENT(pv_latency_wake) /* Average latency (ns) of kick-to-wakeup */ 31 LOCK_EVENT(pv_spurious_wakeup) /* # of spurious wakeups in non-head vCPUs */ 35 LOCK_EVENT(pv_wait_node) /* # of vCPU wait's at non-head queue node */ 59 LOCK_EVENT(rwsem_opt_rlock) /* # of opt-acquired read locks */ 60 LOCK_EVENT(rwsem_opt_wlock) /* # of opt-acquired write locks */ 63 LOCK_EVENT(rwsem_opt_norspin) /* # of disabled reader-only optspins */ 64 LOCK_EVENT(rwsem_opt_rlock2) /* # of opt-acquired 2ndary read locks */
|
/linux-5.10/Documentation/driver-api/pm/ |
D | cpuidle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 cores) is idle after an interrupt or equivalent wakeup event, which means that 89 code, and that causes the kernel to run the architecture-specific 91 until the ``->enable()`` governor callback is invoked for that CPU 103 It is expected to reverse any changes made by the ``->enable()`` 143 selection made by the ``->select()`` callback (when it was invoked last 148 quality of service (PM QoS) constraints on the processor wakeup latency into 150 PM QoS wakeup latency constraint for a given CPU, a ``CPUIdle`` governor is 152 :c:func:`cpuidle_governor_latency_req()`. Then, the governor's ``->select()`` 190 state to start executing the first instruction after a wakeup from it, [all …]
|
/linux-5.10/arch/arm64/boot/dts/sprd/ |
D | sc9860.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 53 compatible = "arm,cortex-a53"; 55 enable-method = "psci"; 56 cpu-idle-states = <&CORE_PD &CLUSTER_PD>; [all …]
|
/linux-5.10/kernel/trace/ |
D | trace_sched_wakeup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace task wakeup timings 5 * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com> 10 * Copyright (C) 2004-2006 Ingo Molnar 28 static unsigned wakeup_prio = -1; 44 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH) 54 * Prologue for the wakeup function tracers. 57 * is disabled and data->disabled is incremented. 59 * is not disabled and data->disabled is 85 *data = per_cpu_ptr(tr->array_buffer.data, cpu); in func_prolog_preempt_disable() [all …]
|