Home
last modified time | relevance | path

Searched +full:exit +full:- +full:latency (Results 1 – 25 of 714) sorted by relevance

12345678910>>...29

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/cpu/
Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
11 - Anup Patel <anup@brainfault.org>
15 1 - Introduction
18 ARM and RISC-V systems contain HW capable of managing power consumption
19 dynamically, where cores can be put in different low-power states (ranging
22 run-time, can be specified through device tree bindings representing the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Didle-states.yaml1 # 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
22 enter/exit specific idle states on a given processor.
27 - Running
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/
Ddomain-idle-state.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
18 const: domain-idle-states
21 "^(cpu|cluster|domain)-":
28 const: domain-idle-state
30 entry-latency-us:
32 The worst case latency in microseconds required to enter the idle
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/
Ddomain-idle-state.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
18 const: domain-idle-states
21 "^(cpu|cluster|domain)-":
29 const: domain-idle-state
31 entry-latency-us:
33 The worst case latency in microseconds required to enter the idle
[all …]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
Dtimerlat_top.c1 // SPDX-License-Identifier: GPL-2.0
78 * timerlat_free_top - free runtime data
83 free(data->cpu_data); in timerlat_free_top()
88 * timerlat_alloc_histogram - alloc runtime data
99 data->nr_cpus = nr_cpus; in timerlat_alloc_top()
102 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top()
103 if (!data->cpu_data) in timerlat_alloc_top()
108 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top()
109 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top()
110 data->cpu_data[cpu].min_user = ~0; in timerlat_alloc_top()
[all …]
Dtimerlat_hist.c1 // SPDX-License-Identifier: GPL-2.0
86 * timerlat_free_histogram - free runtime data
94 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in timerlat_free_histogram()
95 if (data->hist[cpu].irq) in timerlat_free_histogram()
96 free(data->hist[cpu].irq); in timerlat_free_histogram()
98 if (data->hist[cpu].thread) in timerlat_free_histogram()
99 free(data->hist[cpu].thread); in timerlat_free_histogram()
101 if (data->hist[cpu].user) in timerlat_free_histogram()
102 free(data->hist[cpu].user); in timerlat_free_histogram()
107 if (data->hist) in timerlat_free_histogram()
[all …]
/kernel/linux/linux-6.6/drivers/cpuidle/
Dcpuidle-pseries.c1 // SPDX-License-Identifier: GPL-2.0
3 * cpuidle-pseries - idle state cpuidle driver.
47 dev->poll_time_limit = false; in snooze_loop()
58 dev->poll_time_limit = true; in snooze_loop()
80 * were soft-disabled in check_and_cede_processor()
94 * "ibm,get-systems-parameter" RTAS call with the token
100 * table with all the parameters to ibm,get-system-parameters.
101 * CEDE_LATENCY_TOKEN corresponds to the token value for Cede Latency
107 * If the platform supports the cede latency settings information system
111 * a. The first byte is the length “N” of each cede latency setting record minus
[all …]
Ddt_idle_states.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #define pr_fmt(fmt) "DT idle-states: " fmt
32 idle_state->enter = match_id->data; in init_state_node()
38 idle_state->enter_s2idle = match_id->data; in init_state_node()
40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
41 &idle_state->exit_latency); in init_state_node()
45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
48 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node()
50 return -EINVAL; in init_state_node()
53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
[all …]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/
Dcpuidle-set.c1 // SPDX-License-Identifier: GPL-2.0
19 {"disable-by-latency", required_argument, NULL, 'D'},
20 {"enable-all", no_argument, NULL, 'E'},
30 unsigned long long latency = 0, state_latency; in cmd_idle_set() local
36 if (ret == -1) in cmd_idle_set()
46 param = -1; in cmd_idle_set()
54 exit(EXIT_FAILURE); in cmd_idle_set()
61 param = -1; in cmd_idle_set()
66 latency = strtoull(optarg, &endptr, 10); in cmd_idle_set()
68 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dcpuidle.rst1 .. 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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/pm/
Dcpuidle.rst1 .. 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/
Dthermal-idle.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
27 '#cooling-cells':
31 the cooling-maps reference. The first cell is the minimum cooling state
34 duration-us:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/
Dthermal-idle.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
27 '#cooling-cells':
31 the cooling-maps reference. The first cell is the minimum cooling state
34 duration-us:
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpuidle-set.c1 // SPDX-License-Identifier: GPL-2.0
19 {"disable-by-latency", required_argument, NULL, 'D'},
20 {"enable-all", no_argument, NULL, 'E'},
30 unsigned long long latency = 0, state_latency; in cmd_idle_set() local
36 if (ret == -1) in cmd_idle_set()
45 param = -1; in cmd_idle_set()
54 param = -1; in cmd_idle_set()
63 param = -1; in cmd_idle_set()
68 latency = strtoull(optarg, &endptr, 10); in cmd_idle_set()
70 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/msm/
Dqcom,idle-state.txt3 ARM provides idle-state node to define the cpuidle states, as defined in [1].
4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle
5 states. Idle states have different enter/exit latency and residency values.
6 The idle states supported by the QCOM SoC are defined as -
31 state. Retention may have a slightly higher latency than Standby.
44 code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to
50 be flushed, system bus, clocks - lowered, and SoC main XO clock gated and
52 power modes possible at this state is vast, the exit latency and the residency
58 The idle-state for QCOM SoCs are distinguished by the compatible property of
59 the idle-states device node.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/msm/
Dqcom,idle-state.txt3 ARM provides idle-state node to define the cpuidle states, as defined in [1].
4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle
5 states. Idle states have different enter/exit latency and residency values.
6 The idle states supported by the QCOM SoC are defined as -
31 state. Retention may have a slightly higher latency than Standby.
44 code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to
50 be flushed, system bus, clocks - lowered, and SoC main XO clock gated and
52 power modes possible at this state is vast, the exit latency and the residency
58 The idle-state for QCOM SoCs are distinguished by the compatible property of
59 the idle-states device node.
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dmenu.c1 // 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 * -----------------------
41 * C state entry and exit have an energy cost, and a certain amount of time in
68 * Repeatable-interval-detector
69 * ----------------------------
79 * ---------------------------
80 * C states, especially those with large exit latencies, can have a real
[all …]
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
Dmenu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * menu.c - the menu idle governor
5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
38 * 3) Latency tolerance (from pmqos infrastructure)
42 * -----------------------
43 * C state entry and exit have an energy cost, and a certain amount of time in
70 * Repeatable-interval-detector
71 * ----------------------------
81 * ---------------------------
82 * C states, especially those with large exit latencies, can have a real
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_rcu_tasks_trace.c1 // SPDX-License-Identifier: GPL-2.0
72 fprintf(stderr, "benchmark doesn't support multi-producer!\n"); in validate()
73 exit(1); in validate()
77 exit(1); in validate()
83 exit(1); in validate()
94 return -1; in kthread_pid_ticks()
112 exit(1); in kthread_pid_ticks()
169 if (!bpf_program__attach(ctx.skel->progs.get_local)) { in local_storage_tasks_trace_setup()
174 if (!bpf_program__attach(ctx.skel->progs.pregp_step)) { in local_storage_tasks_trace_setup()
179 if (!bpf_program__attach(ctx.skel->progs.postgp)) { in local_storage_tasks_trace_setup()
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/
Ddt_idle_states.c1 // 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic-kernel.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_marker trigger - test histogram with synthetic event against kernel event
12 echo "Test histogram kernel event to trace_marker latency histogram trigger"
14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
24 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
27 exit 0
Dtrigger-trace-marker-synthetic.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_marker trigger - test histogram with synthetic event
12 echo "Test histogram trace_marker to trace_marker latency histogram trigger"
14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
18 echo -n "start" > trace_marker
19 echo -n "end" > trace_marker
21 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l`
23 if [ $cnt -ne 2 ]; then
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic-kernel.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_marker trigger - test histogram with synthetic event against kernel event
12 echo "Test histogram kernel event to trace_marker latency histogram trigger"
14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
24 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
27 exit 0
Dtrigger-trace-marker-synthetic.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_marker trigger - test histogram with synthetic event
12 echo "Test histogram trace_marker to trace_marker latency histogram trigger"
14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
18 echo -n "start" > trace_marker
19 echo -n "end" > trace_marker
21 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l`
23 if [ $cnt -ne 2 ]; then
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsdm630.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,gcc-sdm660.h>
7 #include <dt-bindings/clock/qcom,rpmcc.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 interrupt-parent = <&intc>;
14 #address-cells = <2>;
15 #size-cells = <2>;
20 xo_board: xo-board {
21 compatible = "fixed-clock";
[all …]

12345678910>>...29