Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 25 of 856) sorted by relevance

12345678910>>...35

/linux/arch/s390/kernel/
H A Didle.c26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in account_idle_time_irq() local
37 idle_time = S390_lowcore.int_clock - idle->clock_idle_enter; in account_idle_time_irq()
46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time); in account_idle_time_irq()
47 WRITE_ONCE(idle->idle_count, READ_ONCE(idle->idle_count) + 1); in account_idle_time_irq()
53 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in arch_cpu_idle() local
62 stcctm(MT_DIAG, smp_cpu_mtid, (u64 *)&idle->mt_cycles_enter); in arch_cpu_idle()
63 idle->clock_idle_enter = get_tod_clock_fast(); in arch_cpu_idle()
64 idle->timer_idle_enter = get_cpu_timer(); in arch_cpu_idle()
72 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); in show_idle_count() local
74 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_count)); in show_idle_count()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/opal/
H A Dpower-mgt.txt5 idle states. The description of these idle states is exposed via the
19 CPU from idle to running.
33 "ibm,cpu-idle-state-names" and "ibm,cpu-idle-state-flags" are
37 - ibm,cpu-idle-state-names:
40 - ibm,cpu-idle-state-flags:
63 ibm,cpu-idle-state-names.
73 - ibm,cpu-idle-state-psscr:
75 PSSCR for each of the idle states in ibm,cpu-idle-state-names.
78 - ibm,cpu-idle-state-psscr-mask:
106 - ibm,cpu-idle-state-pmicr:
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Drockchip,rk3399-dmc.yaml285 rockchip,pd-idle-ns:
291 rockchip,sr-idle-ns:
298 rockchip,sr-mc-gate-idle-ns:
304 rockchip,srpd-lite-idle-ns:
310 rockchip,standby-idle-ns:
316 rockchip,pd-idle-dis-freq-hz:
319 frequency is greater than pd-idle-dis-freq, power-down idle is disabled.
322 rockchip,sr-idle-dis-freq-hz:
325 frequency is greater than sr-idle-dis-freq, self-refresh idle is
332 sr-mc-gate-idle-dis-freq, the clock will not be gated when idle. See also
[all …]
/linux/Documentation/devicetree/bindings/cpu/
H A Didle-states.yaml26 2 - ARM idle states
52 3 - RISC-V idle states
234 5 - idle-states node
237 The processor idle states are defined within the idle-states node, which is
329 const: idle-states
425 idle-state-name:
591 idle-states {
734 idle-states {
844 idle-states {
920 idle-states {
[all …]
/linux/Documentation/admin-guide/pm/
H A Dintel_idle.rst86 initialized to represent a "polling idle state" (a pseudo-idle state in which
97 governors during CPU idle state selection). Otherwise, some of the listed idle
112 entry in the final list of idle states. The name of the idle state represented
126 .. _intel-idle-initialization:
144 `below <intel-idle-parameters_>`_), the idle states information provided by the
162 .. _intel-idle-parameters:
168 options related to CPU idle time management: ``idle=poll``, ``idle=halt``,
181 after finding that number of usable idle states (the other idle states that
208 idle state; see :ref:`idle-states-representation` in
232 latency for the idle CPU.
[all …]
H A Dcpuidle.rst82 special "idle" task.
103 in Linux idle CPUs run the code of the "idle" task called *the idle loop*. That
106 idle states, or there is not enough time to spend in an idle state before the
119 idle time management subsystem called ``CPUIdle`` to select an idle state for
138 the shallower idle states instead. [The "depth" of an idle state roughly
165 tick can be `stopped by the idle loop <idle-cpus-and-tick_>`_. Available
210 exiting idle states due to the tick wakeups on idle CPUs will be wasted.
270 idle duration and uses the predicted value for idle state selection.
358 For the CPU idle time management purposes all of the physical idle states
619 options related to CPU idle time management: ``idle=poll``, ``idle=halt``,
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dthermal-idle.yaml5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
8 title: Thermal idle cooling device
14 The thermal idle cooling device allows the system to passively
15 mitigate the temperature on the device by injecting idle cycles,
18 This binding describes the thermal idle node.
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
36 The idle duration in microsecond the device should cool down.
42 idle state from among all the present ones.
75 cpu_b0_therm: thermal-idle {
[all …]
/linux/Documentation/devicetree/bindings/power/
H A Ddomain-idle-state.yaml4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
13 A domain idle state node represents the state parameters that will be used to
18 const: domain-idle-states
25 Each state node represents a domain idle state description.
29 const: domain-idle-state
33 The worst case latency in microseconds required to enter the idle
39 The worst case latency in microseconds required to exit the idle
44 The minimum residency duration in microseconds after which the idle
46 entering the idle state.
68 domain-idle-states {
[all …]
H A Dpower-domain.yaml31 domain-idle-states:
36 Phandles of idle states that defines the available states for the
37 power-domain provider. The idle state definitions are compatible with the
38 domain-idle-state bindings, specified in ./domain-idle-state.yaml.
40 Note that, the domain-idle-state property reflects the idle states of this
43 the parent domain's idle states. In the absence of this property, the
110 domain-idle-states = <&DOMAIN_RET>, <&DOMAIN_PWR_DN>;
118 domain-idle-states = <&DOMAIN_PWR_DN>;
121 domain-idle-states {
123 compatible = "domain-idle-state";
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_hrt.c39 bool not_idle = false, idle; in sh_css_hrt_system_is_idle() local
42 idle = sp_ctrl_getbit(SP0_ID, SP_SC_REG, SP_IDLE_BIT); in sh_css_hrt_system_is_idle()
43 not_idle |= !idle; in sh_css_hrt_system_is_idle()
44 if (!idle) in sh_css_hrt_system_is_idle()
47 idle = isp_ctrl_getbit(ISP0_ID, ISP_SC_REG, ISP_IDLE_BIT); in sh_css_hrt_system_is_idle()
48 not_idle |= !idle; in sh_css_hrt_system_is_idle()
49 if (!idle) in sh_css_hrt_system_is_idle()
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst70 If the kernel can also inject idle time to the system, then a
94 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
125 In terms of dynamics of the idle control system, package level idle
152 a) determine the effective range of idle injection ratio
259 target idle ratio. The compensation also increases as the idle ratio
283 and includes natural idle. When idle injection is disabled, reading
289 - To inject 25% idle time::
295 will not show idle injection kernel threads.
298 idle time, powerclamp kernel threads will do idle injection. Forced
299 idle time is accounted as normal idle in that common code path is
[all …]
/linux/Documentation/devicetree/bindings/mux/
H A Dmux-controller.yaml33 have when it is idle. The idle-state property is used for this. If the
36 idle-state property is an array with one idle state for each mux controller.
39 as is when it is idle. This is the default, but can still be useful for
41 there is a need to "step past" a mux controller and set some other idle
46 is indicated with idle state (-2).
62 idle-state = <MUX_IDLE_DISCONNECT MUX_IDLE_AS_IS 2>;
85 idle-state:
89 idle-states:
92 idle. If the idle-state is not present, the mux controller is typically
94 controllers, the idle-state property is an array with one idle state for
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-firmware-tfa.dtsi13 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
22 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
31 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
40 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
49 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
58 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
67 cpu-idle-states = <&BIG_CPU_SLEEP_0
76 cpu-idle-states = <&BIG_CPU_SLEEP_0
85 compatible = "arm,idle-state";
86 idle-state-name = "cluster-power-down";
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dg84.c121 bool idle, timeout = false; in g84_gr_tlb_flush() local
132 idle = true; in g84_gr_tlb_flush()
134 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
136 idle = false; in g84_gr_tlb_flush()
139 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
141 idle = false; in g84_gr_tlb_flush()
144 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
146 idle = false; in g84_gr_tlb_flush()
148 } while (!idle && in g84_gr_tlb_flush()
/linux/arch/arm/mach-tegra/
H A Dplatsmp.c42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument
70 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument
129 static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra114_boot_secondary() argument
159 struct task_struct *idle) in tegra_boot_secondary() argument
162 return tegra20_boot_secondary(cpu, idle); in tegra_boot_secondary()
164 return tegra30_boot_secondary(cpu, idle); in tegra_boot_secondary()
166 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
168 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
/linux/drivers/cpuidle/
H A DKconfig.arm6 bool "Generic ARM CPU idle Driver"
12 It provides a generic idle driver whose idle states are configured
14 initialized by calling the CPU operations init idle hook
18 bool "PSCI CPU idle Driver"
24 It provides an idle driver that is capable of detecting and
25 managing idle states through the PSCI firmware interface.
29 all idle states are still available.
33 being shared among a group of CPUs (aka cluster idle states).
36 bool "PSCI CPU idle Domain"
44 idle states.
[all …]
/linux/Documentation/driver-api/thermal/
H A Dcpu-idle-cooling.rst37 decrease. Acting on the idle state duration or the idle cycle
49 idle state target residency, we lead to dropping the static and the
61 idle state for a specified time each control cycle, it provides
69 We use a fixed duration of idle injection that gives an acceptable
71 or decreased by modulating the duty cycle of the idle injection.
82 idle <---------------------->
110 idle <-------------->
124 idle <------>
172 the idle injection we need. Alternatively if we have the idle
190 rigorously compute the idle injection
[all …]
/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst21 belongs to. That can be done by making the idle logical CPU stop fetching
23 depended on by it into an idle state in which they will draw less power.
28 particular idle state. That is the role of the CPU idle time management
85 struct cpuidle_state objects representing idle states that the
128 processor will be asked to enter the selected idle state without
131 asking the processor to enter the idle state).
145 idle state selections in the future.
180 governors for computations related to idle state selection:
185 be saved by staying in a shallower idle state for the same amount of
203 enter this particular idle state:
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-pinctrl.yaml34 The only exception is that no bus will be created for a state named "idle". If such a state is
37 pinctrl-names = "ddc", "pta", "idle" -> ddc = bus 0, pta = bus 1
38 pinctrl-names = "ddc", "idle", "pta" -> Invalid ("idle" not last)
39 pinctrl-names = "idle", "ddc", "pta" -> Invalid ("idle" not last)
44 If an idle state is defined, whenever an access is not being made to a device on a child bus,
45 the idle pinctrl state will be programmed into hardware.
47 If an idle state is not defined, the most recently used pinctrl state will be left programmed
77 pinctrl-names = "ddc", "pta", "idle";
/linux/fs/proc/
H A Duptime.c15 struct timespec64 idle; in uptime_proc_show() local
31 idle.tv_sec = div_u64_rem(idle_nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
32 idle.tv_nsec = rem; in uptime_proc_show()
36 (unsigned long) idle.tv_sec, in uptime_proc_show()
37 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
H A Dstat.c27 u64 idle, idle_usecs = -1ULL; in get_idle_time() local
34 idle = kcs->cpustat[CPUTIME_IDLE]; in get_idle_time()
36 idle = idle_usecs * NSEC_PER_USEC; in get_idle_time()
38 return idle; in get_idle_time()
85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
92 user = nice = system = idle = iowait = in show_stat()
108 idle += get_idle_time(&kcpustat, i); in show_stat()
130 seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); in show_stat()
149 idle = get_idle_time(&kcpustat, i); in show_stat()
160 seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); in show_stat()
/linux/tools/power/cpupower/
H A Dcpupower-completion.sh41 idle-info) COMPREPLY=($(compgen -W "$flags" -- "$cur")) ;;
51 idle-set) COMPREPLY=($(compgen -W "$flags" -- "$cur")) ;;
86 idle-info) _idle_info ;;
87 idle-set) _idle_set ;;
120 idle-info) _idle_info ;;
121 idle-set) _idle_set ;;
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls2088a.dtsi28 cpu-idle-states = <&CPU_PW20>;
38 cpu-idle-states = <&CPU_PW20>;
48 cpu-idle-states = <&CPU_PW20>;
58 cpu-idle-states = <&CPU_PW20>;
69 cpu-idle-states = <&CPU_PW20>;
78 cpu-idle-states = <&CPU_PW20>;
88 cpu-idle-states = <&CPU_PW20>;
98 cpu-idle-states = <&CPU_PW20>;
128 compatible = "arm,idle-state";
129 idle-state-name = "PW20";
/linux/arch/arm64/boot/dts/sprd/
H A Dums9620.dtsi53 cpu-idle-states = <&LIT_CORE_PD>;
61 cpu-idle-states = <&LIT_CORE_PD>;
69 cpu-idle-states = <&LIT_CORE_PD>;
77 cpu-idle-states = <&LIT_CORE_PD>;
85 cpu-idle-states = <&BIG_CORE_PD>;
93 cpu-idle-states = <&BIG_CORE_PD>;
101 cpu-idle-states = <&BIG_CORE_PD>;
109 cpu-idle-states = <&BIG_CORE_PD>;
113 idle-states {
116 compatible = "arm,idle-state";
[all …]
/linux/Documentation/admin-guide/mm/
H A Didle_page_tracking.rst8 The idle page tracking feature allows to track which memory pages are being
9 accessed by a workload and which are idle. This information can be useful for
21 The idle page tracking API is located at ``/sys/kernel/mm/page_idle``.
28 set, the corresponding page is idle.
30 A page is considered idle if it has not been accessed since it was marked idle
33 To mark a page idle one has to set the bit corresponding to
40 and hence such pages are never reported idle.
42 For huge pages the idle flag is set only on the head page, so one has to read
43 ``/proc/kpageflags`` in order to correctly count idle huge pages.
53 1. Mark all the workload's pages as idle by setting corresponding bits in
[all …]

12345678910>>...35