Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v4.19/arch/s390/kernel/
Didle.c25 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in enabled_wait() local
37 psw_idle(idle, psw_mask); in enabled_wait()
42 write_seqcount_begin(&idle->seqcount); in enabled_wait()
43 idle_time = idle->clock_idle_exit - idle->clock_idle_enter; in enabled_wait()
44 idle->clock_idle_enter = idle->clock_idle_exit = 0ULL; in enabled_wait()
45 idle->idle_time += idle_time; in enabled_wait()
46 idle->idle_count++; in enabled_wait()
48 write_seqcount_end(&idle->seqcount); in enabled_wait()
55 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); in show_idle_count() local
60 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/opal/
Dpower-mgt.txt5 idle states. The description of these idle states is exposed via the
10 Typically each idle state has the following associated properties:
12 - name: The name of the idle state as defined by the firmware.
14 - flags: indicating some aspects of this idle states such as the
16 idle states and so on. The flag bits are as follows:
19 CPU from idle to running.
22 this idle state in order to accrue power-savings
27 The following properties provide details about the idle states. These
29 provides the value of that property for the idle state associated with
32 If idle-states are defined, then the properties
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Didle-states.txt2 ARM idle states binding description
12 the range of dynamic idle states that a processor can enter at run-time, can be
14 to enter/exit specific idle states on a given processor.
27 PM implementation to put the processor in different idle states (which include
28 states listed above; "off" state is not an idle state since it does not have
35 The device tree binding definition for ARM idle states is the subject of this
39 2 - idle-states definitions
44 triggered upon idle states entry and exit.
47 properties required to enter and exit an idle state:
59 Diagram 1: CPU idle state execution phases
[all …]
/Linux-v4.19/fs/proc/
Dstat.c28 u64 idle; in get_idle_time() local
30 idle = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE]; in get_idle_time()
32 idle += arch_idle_time(cpu); in get_idle_time()
33 return idle; in get_idle_time()
50 u64 idle, idle_usecs = -1ULL; in get_idle_time() local
57 idle = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE]; in get_idle_time()
59 idle = idle_usecs * NSEC_PER_USEC; in get_idle_time()
61 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()
[all …]
Duptime.c13 struct timespec64 idle; in uptime_proc_show() local
23 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
24 idle.tv_nsec = rem; in uptime_proc_show()
28 (unsigned long) idle.tv_sec, in uptime_proc_show()
29 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
/Linux-v4.19/Documentation/thermal/
Dintel_powerclamp.txt42 idle injection across all online CPU threads was introduced. The goal
66 If the kernel can also inject idle time to the system, then a
69 control system, where the target set point is a user-selected idle
71 between the actual package level C-state residency ratio and the target idle
79 thread synchronizes its idle time and duration, based on the rounding
87 Alignment of idle time around jiffies ensures scalability for HZ
90 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
94 The NOHZ schedule tick is disabled during idle time, but interrupts
119 In terms of dynamics of the idle control system, package level idle
122 intel_powerclamp driver attempts to enforce the desired idle time
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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-v4.19/arch/arm/mach-tegra/
Dplatsmp.c45 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument
73 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument
132 static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra114_boot_secondary() argument
162 struct task_struct *idle) in tegra_boot_secondary() argument
165 return tegra20_boot_secondary(cpu, idle); in tegra_boot_secondary()
167 return tegra30_boot_secondary(cpu, idle); in tegra_boot_secondary()
169 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
171 return tegra114_boot_secondary(cpu, idle); in tegra_boot_secondary()
/Linux-v4.19/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
6 The idle states supported by the QCOM SoC are defined as -
18 hierarchy to enter standby states, when all cpus are idle. An interrupt brings
34 between the time it enters idle and the next known wake up. SPC mode is used
37 sequence for this idle state is programmed to power down the supply to the
58 The idle-state for QCOM SoCs are distinguished by the compatible property of
59 the idle-states device node.
61 The devicetree representation of the idle state should be -
66 "qcom,idle-state-ret",
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/i2c/
Di2c-mux-pinctrl.txt39 The only exception is that no bus will be created for a state named "idle". If
43 pinctrl-names = "ddc", "pta", "idle" -> ddc = bus 0, pta = bus 1
44 pinctrl-names = "ddc", "idle", "pta" -> Invalid ("idle" not last)
45 pinctrl-names = "idle", "ddc", "pta" -> Invalid ("idle" not last)
50 If an idle state is defined, whenever an access is not being made to a device
51 on a child bus, the idle pinctrl state will be programmed into hardware.
53 If an idle state is not defined, the most recently used pinctrl state will be
66 pinctrl-names = "ddc", "pta", "idle";
/Linux-v4.19/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a.dtsi20 cpu-idle-states = <&CPU_PW20>;
30 cpu-idle-states = <&CPU_PW20>;
40 cpu-idle-states = <&CPU_PW20>;
50 cpu-idle-states = <&CPU_PW20>;
60 cpu-idle-states = <&CPU_PW20>;
70 cpu-idle-states = <&CPU_PW20>;
81 cpu-idle-states = <&CPU_PW20>;
90 cpu-idle-states = <&CPU_PW20>;
112 compatible = "arm,idle-state";
113 idle-state-name = "PW20";
Dfsl-ls2088a.dtsi20 cpu-idle-states = <&CPU_PW20>;
30 cpu-idle-states = <&CPU_PW20>;
40 cpu-idle-states = <&CPU_PW20>;
50 cpu-idle-states = <&CPU_PW20>;
61 cpu-idle-states = <&CPU_PW20>;
70 cpu-idle-states = <&CPU_PW20>;
80 cpu-idle-states = <&CPU_PW20>;
90 cpu-idle-states = <&CPU_PW20>;
112 compatible = "arm,idle-state";
113 idle-state-name = "PW20";
/Linux-v4.19/Documentation/devicetree/bindings/power/
Ddomain-idle-state.txt3 A domain idle state node represents the state parameters that will be used to
11 Definition: Must be "domain-idle-state".
17 microseconds required to enter the idle state.
25 in microseconds required to exit the idle state.
31 in microseconds after which the idle state will yield
33 i the idle state.
Dpower_domain.txt32 - domain-idle-states : A phandle of an idle-state that shall be soaked into a
33 generic domain power state. The idle state definitions are
34 compatible with domain-idle-state specified in [1]. phandles
35 that are not compatible with domain-idle-state will be
37 The domain-idle-state property reflects the idle state of this PM domain and
38 not the idle states of the devices or sub-domains in the PM domain. Devices
39 and sub-domains have their own idle-states independent of the parent
40 domain's idle states. In the absence of this property, the domain would be
84 domain-idle-states = <&DOMAIN_RET>, <&DOMAIN_PWR_DN>;
92 domain-idle-states = <&DOMAIN_PWR_DN>;
[all …]
/Linux-v4.19/Documentation/admin-guide/mm/
Didle_page_tracking.rst10 The idle page tracking feature allows to track which memory pages are being
11 accessed by a workload and which are idle. This information can be useful for
23 The idle page tracking API is located at ``/sys/kernel/mm/page_idle``.
30 set, the corresponding page is idle.
32 A page is considered idle if it has not been accessed since it was marked idle
35 To mark a page idle one has to set the bit corresponding to
41 page types (e.g. SLAB pages) an attempt to mark a page idle is silently ignored,
42 and hence such pages are never reported idle.
44 For huge pages the idle flag is set only on the head page, so one has to read
45 ``/proc/kpageflags`` in order to correctly count idle huge pages.
[all …]
/Linux-v4.19/Documentation/cpuidle/
Dcore.txt2 Supporting multiple CPU idle levels in kernel
8 Various CPUs today support multiple idle levels that are differentiated
9 by varying exit latencies and power consumption during idle.
11 idle policy (governor) from idle mechanism (driver) and provides a
Ddriver.txt3 Supporting multiple CPU idle levels in kernel
11 architecture/platform dependent part of CPU idle states. Driver
12 provides the platform idle state detection capability and also
13 has mechanisms in place to support actual entry-exit into CPU idle states.
18 If all the idle states are the same, the wrapper function cpuidle_register
/Linux-v4.19/Documentation/scheduler/
Dsched-stats.txt44 4) # of times schedule() left the processor idle
68 of idleness (idle, busy, and newly idle):
71 cpu was idle
73 the load did not require balancing when the cpu was idle
75 more tasks and failed, when the cpu was idle
77 load_balance() in this domain when the cpu was idle
79 was idle
81 the target task was cache-hot when idle
83 not find a busier queue while the cpu was idle
85 cpu was idle but no busier group was found
[all …]
/Linux-v4.19/Documentation/timers/
DNO_HZ.txt17 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or
21 3. Omit scheduling-clock ticks on CPUs that are either idle or that
37 that use short bursts of CPU, where there are very frequent idle
38 periods, but where these idle periods are also quite short (tens or
43 other than increasing the overhead of switching to and from idle and
49 However, if you are instead running a light workload with long idle
64 If a CPU is idle, there is little point in sending it a scheduling-clock
67 and an idle CPU has no duties to shift its attention among.
70 scheduling-clock interrupts to idle CPUs, which is critically important
78 idle CPUs. That said, dyntick-idle mode is not free:
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Dtwl4030-power.txt11 "ti,twl4030-power-idle"
12 "ti,twl4030-power-idle-osc-off"
17 When using ti,twl4030-power-idle, the TI recommended configuration
18 for idle modes is loaded to the tlw4030 PMIC.
20 When using ti,twl4030-power-idle-osc-off, the TI recommended
22 down during off-idle. Note that this does not work on all boards
/Linux-v4.19/Documentation/devicetree/bindings/watchdog/
Datmel-sama5d4-wdt.txt15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
16 in idle state.
18 watchdog not counting when the CPU is in idle state, therefore the
20 if the CPU stop working while it is in idle state, which is probably
33 atmel,idle-halt;
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c199 struct amdgpu_vmid **idle) in amdgpu_vmid_grab_idle() argument
217 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle()
218 fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, ring); in amdgpu_vmid_grab_idle()
225 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle()
231 *idle = NULL; in amdgpu_vmid_grab_idle()
409 struct amdgpu_vmid *idle = NULL; in amdgpu_vmid_grab() local
414 r = amdgpu_vmid_grab_idle(vm, ring, sync, &idle); in amdgpu_vmid_grab()
415 if (r || !idle) in amdgpu_vmid_grab()
431 id = idle; in amdgpu_vmid_grab()
468 struct amdgpu_vmid *idle; in amdgpu_vmid_alloc_reserved() local
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/mux/
Dmux-controller.txt127 have when it is idle. The idle-state property is used for this. If the
128 idle-state is not present, the mux controller is typically left as is when
129 it is idle. For multiplexer chips that expose several mux controllers, the
130 idle-state property is an array with one idle state for each mux controller.
133 as is when it is idle. This is the default, but can still be useful for
135 there is a need to "step past" a mux controller and set some other idle
139 multiplexer. Using this disconnected high-impedance state as the idle state
140 is indicated with idle state (-2).
156 idle-state = <MUX_IDLE_DISCONNECT MUX_IDLE_AS_IS 2>;
/Linux-v4.19/drivers/macintosh/
Dvia-macii.c104 idle, enumerator
166 macii_state = idle; in macii_init()
275 if (macii_state == idle) macii_start(); in macii_write()
351 BUG_ON(macii_state != idle); in macii_start()
407 case idle: in macii_interrupt()
438 macii_state = idle; in macii_interrupt()
454 if (macii_state == idle) { in macii_interrupt()
528 macii_state = idle; in macii_interrupt()
540 if (macii_state == idle) in macii_interrupt()
/Linux-v4.19/arch/arm64/boot/dts/arm/
Djuno-r2.dts65 idle-states {
69 compatible = "arm,idle-state";
78 compatible = "arm,idle-state";
100 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
117 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
134 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
151 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
168 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
185 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;

12345678910>>...22