Home
last modified time | relevance | path

Searched full:idle (Results 1 – 25 of 1987) sorted by relevance

12345678910>>...80

/Linux-v5.10/Documentation/admin-guide/pm/
Dcpuidle.rst8 CPU Idle Time Management
21 memory or executed. Those states are the *idle* states of the processor.
23 Since part of the processor hardware is not used in idle states, entering them
27 CPU idle time management is an energy-efficiency feature concerned about using
28 the idle states of processors for this purpose.
33 CPU idle time management operates on CPUs as seen by the *CPU scheduler* (that
44 enter an idle state, that applies to the processor as a whole.
52 enter an idle state, that applies to the core that asked for it in the first
56 except for one have been put into idle states at the "core level" and the
57 remaining core asks the processor to enter an idle state, that may trigger it
[all …]
Dintel_idle.rst5 ``intel_idle`` CPU Idle Time Management Driver
17 :doc:`CPU idle time management subsystem <cpuidle>` in the Linux kernel
18 (``CPUIdle``). It is the default CPU idle time management driver for the
27 logical CPU executing it is idle and so it may be possible to put some of the
42 .. _intel-idle-enumeration-of-states:
44 Enumeration of Idle States
50 as C-states (in the ACPI terminology) or idle states. The list of meaningful
51 ``MWAIT`` hint values and idle states (i.e. low-power configurations of the
55 In order to create a list of available idle states required by the ``CPUIdle``
56 subsystem (see :ref:`idle-states-representation` in :doc:`cpuidle`),
[all …]
/Linux-v5.10/drivers/powercap/
Didle_inject.c7 * The idle injection framework provides a way to force CPUs to enter idle
13 * All of the kthreads used for idle injection are created at init time.
15 * Next, the users of the the idle injection framework provide a cpumask via
19 * The idle + run duration is specified via separate helpers and that allows
20 * idle injection to be started.
22 * The idle injection kthreads will call play_idle_precise() with the idle
25 * After all of them have been woken up, a timer is set to start the next idle
28 * The timer interrupt handler will wake up the idle injection kthreads for
31 * Idle injection is stopped synchronously and no leftover idle injection
35 * synchronization to prevent race conditions like starting idle injection
[all …]
/Linux-v5.10/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-v5.10/arch/s390/kernel/
Didle.c3 * Idle functions for s390.
26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in enabled_wait() local
38 psw_idle(idle, psw_mask); in enabled_wait()
41 /* Account time spent with enabled wait psw loaded as idle time. */ in enabled_wait()
42 raw_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 raw_write_seqcount_end(&idle->seqcount); in enabled_wait()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Didle-states.yaml4 $id: http://devicetree.org/schemas/arm/idle-states.yaml#
7 title: ARM idle states binding description
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.
35 PM implementation to put the processor in different idle states (which include
36 states listed above; "off" state is not an idle state since it does not have
39 Idle state parameters (e.g. entry latency) are platform specific and need to
43 The device tree binding definition for ARM idle states is the subject of this
47 2 - idle-states definitions
50 Idle states are characterized for a specific system through a set of
[all …]
/Linux-v5.10/drivers/cpuidle/
DKconfig.arm3 # ARM CPU Idle drivers
6 bool "Generic ARM/ARM64 CPU idle Driver"
11 It provides a generic idle driver whose idle states are configured
13 initialized by calling the CPU operations init idle hook
17 bool "PSCI CPU idle Driver"
23 It provides an idle driver that is capable of detecting and
24 managing idle states through the PSCI firmware interface.
27 bool "PSCI CPU idle Domain"
34 idle states.
44 Select this option to enable CPU idle driver for big.LITTLE based
[all …]
Ddt_idle_states.c3 * DT idle states parsing code.
9 #define pr_fmt(fmt) "DT idle-states: " fmt
30 * pointer of the passed in struct of_device_id array to the idle in init_state_node()
63 * latencies as defined in idle states bindings in init_state_node()
76 err = of_property_read_string(state_node, "idle-state-name", &desc); in init_state_node()
94 * Check that the idle state is uniform across all CPUs in the CPUidle driver
105 * Compare idle state phandles for index idx on all CPUs in the in idle_state_valid()
128 * dt_init_idle_driver() - Parse the DT idle states and initialize the
129 * idle driver states array
130 * @drv: Pointer to CPU idle driver to be initialized
[all …]
DKconfig2 menu "CPU Idle"
5 bool "CPU idle PM support"
10 CPU idle is a generic framework for supporting software-controlled
11 idle processor power management. It includes modular cross-platform
30 This governor implements a simplified idle state selection method
40 This governor implements haltpoll idle state selection, to be
42 for polling for a certain amount of time before entering idle
50 menu "ARM CPU Idle Drivers"
55 menu "MIPS CPU Idle Drivers"
60 menu "POWERPC CPU Idle Drivers"
/Linux-v5.10/Documentation/driver-api/thermal/
Dintel_powerclamp.rst15 - Idle Injection
44 idle injection across all online CPU threads was introduced. The goal
55 Idle Injection
68 If the kernel can also inject idle time to the system, then a
71 control system, where the target set point is a user-selected idle
73 between the actual package level C-state residency ratio and the target idle
81 thread synchronizes its idle time and duration, based on the rounding
89 Alignment of idle time around jiffies ensures scalability for HZ
92 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
96 The NOHZ schedule tick is disabled during idle time, but interrupts
[all …]
Dcpu-idle-cooling.rst4 CPU Idle Cooling
37 decrease. Acting on the idle state duration or the idle cycle
47 At a specific OPP, we can assume that injecting idle cycle on all CPUs
49 idle state target residency, we lead to dropping the static and the
51 this state). So the sustainable power with idle cycles has a linear
57 Idle Injection:
60 The base concept of the idle injection is to force the CPU to go to an
61 idle state for a specified time each control cycle, it provides
64 their idle cycles synchronously, the cluster can reach its power down
66 to almost zero. However, these idle cycles injection will add extra
[all …]
/Linux-v5.10/Documentation/driver-api/pm/
Dcpuidle.rst5 CPU Idle Time Management
13 CPU Idle Time Management Subsystem
18 cores) is idle after an interrupt or equivalent wakeup event, which means that
19 there are no tasks to run on it except for the special "idle" task associated
21 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.
25 However, there may be multiple different idle states that can be used in such a
28 particular idle state. That is the role of the CPU idle time management
35 units: *governors* responsible for selecting idle states to ask the processor
40 CPU Idle Time Governors
[all …]
/Linux-v5.10/drivers/cpuidle/governors/
Dteo.c3 * Timer events oriented CPU idle governor
11 * wakeups from idle states. Moreover, information about what happened in the
13 * idle state with target residency within the time to the closest timer is
14 * likely to be suitable for the upcoming idle time of the CPU and, if not, then
15 * which of the shallower idle states to choose.
18 * they can be covered by taking a few most recent idle time intervals of the
20 * idle duration values greater than the time till the closest timer, as the
24 * Thus this governor estimates whether or not the upcoming idle time of the CPU
26 * idle state for it in accordance with that, as follows:
28 * - Find an idle state on the basis of the sleep length and state statistics
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/arm/msm/
Dqcom,idle-state.txt1 QCOM Idle States for cpuidle driver
3 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 -
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.
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Didle.h46 * Indicate to the HV that we are idle. Now would be in pseries_idle_prolog()
49 get_lppaca()->idle = 1; in pseries_idle_prolog()
56 get_lppaca()->idle = 0; in pseries_idle_epilog()
63 * If we are reading from an idle context, update the in read_this_idle_purr()
64 * idle-purr cycles corresponding to the last idle period. in read_this_idle_purr()
65 * Since the idle context is not yet over, take a fresh in read_this_idle_purr()
66 * snapshot of the idle-purr. in read_this_idle_purr()
68 if (unlikely(get_lppaca()->idle == 1)) { in read_this_idle_purr()
79 * If we are reading from an idle context, update the in read_this_idle_spurr()
80 * idle-spurr cycles corresponding to the last idle period. in read_this_idle_spurr()
[all …]
/Linux-v5.10/tools/power/cpupower/man/
Dcpupower-idle-info.11 .TH "CPUPOWER-IDLE-INFO" "1" "0.1" "" "cpupower Manual"
4 cpupower\-idle\-info \- Utility to retrieve cpu idle kernel information
7 cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP]
10 A tool which prints out per cpu idle information helpful to developers and interested users.
19 Prints out idle information in old /proc/acpi/processor/*/power format. This
23 .SH IDLE\-INFO DESCRIPTIONS
26 statistics when it enters or leaves an idle state, therefore on a very idle or
42 .SH IDLE\-INFO ARCHITECTURE SPECIFIC DESCRIPTIONS
44 POLL idle state
46 If cpuidle is active, X86 platforms have one special idle state.
[all …]
Dcpupower-idle-set.11 .TH "CPUPOWER-IDLE-SET" "1" "0.1" "" "cpupower Manual"
4 cpupower\-idle\-set \- Utility to set cpu idle state specific kernel options
7 cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP]
10 The cpupower idle\-set subcommand allows to set cpu idle, also called cpu
23 Disable all idle states with a equal or higher latency than <LATENCY>.
25 Enable all idle states with a latency lower than <LATENCY>.
28 Enable all idle states if not enabled already.
54 state is chosen when idle, the kernel may still enter this sleep state,
56 the usage count of the disabled sleep state when using the cpupower idle-info
79 cpupower\-idle\-info(1)
/Linux-v5.10/Documentation/devicetree/bindings/thermal/
Dthermal-idle.yaml5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
8 title: Thermal idle cooling device binding
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.
40 The exit latency constraint in microsecond for the injected idle state
42 idle state from among all the present ones.
[all …]
/Linux-v5.10/Documentation/admin-guide/mm/
Didle_page_tracking.rst4 Idle Page Tracking
10 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
[all …]
/Linux-v5.10/drivers/thermal/
Dcpuidle_cooling.c20 * struct cpuidle_cooling_device - data for the idle cooling device
21 * @ii_dev: an atomic to keep track of the last task exiting the idle cycle
33 * @idle_duration_us: CPU idle time to inject in microseconds
36 * The running duration is computed from the idle injection duration
37 * which is fixed. If we reach 100% of idle injection ratio, that
39 * injection, that means we have equal duration for idle and for
44 * running = idle x ((100 / ratio) - 1)
48 * running = (idle x 100) / ratio - idle
51 * with 10ms of idle injection and 10ms of running duration.
79 * cycle and the idle cycle could be different. We want to in cpuidle_cooling_get_max_state()
[all …]
/Linux-v5.10/kernel/time/
Dtick-sched.h24 * struct tick_sched - sched tick emulation and no idle tick control/stats
29 * @inidle: Indicator that the CPU is in the tick idle mode
30 * @tick_stopped: Indicator that the idle tick has been stopped
31 * @idle_active: Indicator that the CPU is actively in the tick idle mode;
33 * @do_timer_lst: CPU was the last one doing do_timer before going idle
40 * @idle_jiffies: jiffies at the entry to idle for idle time accounting
41 * @idle_calls: Total number of idle calls
42 * @idle_sleeps: Number of idle calls, where the sched tick was stopped
43 * @idle_entrytime: Time when the idle call was entered
44 * @idle_waketime: Time when the idle was interrupted
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/power/
Ddomain-idle-state.yaml4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
7 title: PM Domain Idle States binding description
13 A domain idle state node represents the state parameters that will be used to
18 const: domain-idle-states
24 Each state node represents a domain idle state description.
28 const: domain-idle-state
32 The worst case latency in microseconds required to enter the idle
38 The worst case latency in microseconds required to exit the idle
43 The minimum residency duration in microseconds after which the idle
45 entering the idle state.
[all …]
/Linux-v5.10/Documentation/timers/
Dno_hz.rst19 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or
23 3. Omit scheduling-clock ticks on CPUs that are either idle or that
40 that use short bursts of CPU, where there are very frequent idle
41 periods, but where these idle periods are also quite short (tens or
46 other than increasing the overhead of switching to and from idle and
52 However, if you are instead running a light workload with long idle
65 Omit Scheduling-Clock Ticks For Idle CPUs
68 If a CPU is idle, there is little point in sending it a scheduling-clock
71 and an idle CPU has no duties to shift its attention among.
74 scheduling-clock interrupts to idle CPUs, which is critically important
[all …]
/Linux-v5.10/kernel/sched/
Didle.c3 * Generic entry points for the idle threads and
4 * implementation of the idle task scheduling class.
17 * sched_idle_set_state - Record idle state for the current CPU.
85 * default_idle_call - Default CPU idle routine.
144 * The idle task must be scheduled, it is pointless to go to idle, just in call_cpuidle()
145 * update no idle residency and return. in call_cpuidle()
154 * Enter the idle state previously returned by the governor decision. in call_cpuidle()
162 * cpuidle_idle_call - the main idle function
177 * Check if the idle task must be rescheduled. If it is the in cpuidle_idle_call()
186 * The RCU framework needs to be told that we are entering an idle in cpuidle_idle_call()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
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()
45 IA_CSS_WARNING("SP not 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()
50 IA_CSS_WARNING("ISP not idle"); in sh_css_hrt_system_is_idle()
69 * Wait till SP is idle or till there is a SW2 interrupt in sh_css_hrt_sp_wait()
[all …]

12345678910>>...80