/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | idle.c | 26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in enabled_wait() local 38 psw_idle(idle, psw_mask); 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() 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/opal/ |
D | power-mgt.txt | 5 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 …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
D | intel_idle.rst | 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: 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`), 57 ``intel_idle`` can use two sources of information: static tables of idle states 65 `below <intel-idle-parameters_>`_.] [all …]
|
D | cpuidle.rst | 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 58 to put the whole larger unit into an idle state which also will affect the [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css_hrt.c | 39 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()
|
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/ |
D | intel_powerclamp.rst | 44 idle injection across all online CPU threads was introduced. The goal 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 123 In terms of dynamics of the idle control system, package level idle 126 intel_powerclamp driver attempts to enforce the desired idle time [all …]
|
D | cpu-idle-cooling.rst | 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 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 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. [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | g84.c | 121 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()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | stat.c | 28 u64 idle; in get_idle_time() local 30 idle = kcs->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 = kcs->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() 110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 117 user = nice = system = idle = iowait = in show_stat() [all …]
|
D | uptime.c | 14 struct timespec64 idle; in uptime_proc_show() local 30 idle.tv_sec = div_u64_rem(idle_nsec, NSEC_PER_SEC, &rem); in uptime_proc_show() 31 idle.tv_nsec = rem; in uptime_proc_show() 35 (unsigned long) idle.tv_sec, in uptime_proc_show() 36 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
|
/kernel/linux/linux-5.10/arch/arm/mach-tegra/ |
D | platsmp.c | 42 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()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/msm/ |
D | qcom,idle-state.txt | 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 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
D | i2c-mux-pinctrl.txt | 39 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";
|
/kernel/linux/linux-5.10/Documentation/driver-api/pm/ |
D | cpuidle.rst | 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 43 A CPU idle time (``CPUIdle``) governor is a bundle of policy code invoked when 44 one of the logical CPUs in the system turns out to be idle. Its role is to 45 select an idle state to ask the processor to enter in order to save some energy. [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | fsl-ls2088a.dtsi | 20 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";
|
D | fsl-ls2080a.dtsi | 20 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";
|
/kernel/linux/linux-5.10/tools/power/cpupower/ |
D | cpupower-completion.sh | 41 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 ;;
|
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
D | idle_page_tracking.rst | 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 45 ``/proc/kpageflags`` in order to correctly count idle huge pages. [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | eas_sched.h | 6 int isolated, int idle, unsigned long task_util, 9 TP_ARGS(task, cpu, target_cpu, isolated, idle, task_util, cpu_util, cpu_cap), 18 __field(unsigned long, idle) 31 __entry->idle = idle; 40 __entry->idle, __entry->task_util,
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | Kconfig.arm | 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 47 multiple CPU idle drivers infrastructure.
|
/kernel/linux/linux-5.10/Documentation/scheduler/ |
D | sched-stats.rst | 50 4) # of times schedule() left the processor idle 76 of idleness (idle, busy, and newly idle): 79 cpu was idle 81 the load did not require balancing when the cpu was idle 83 more tasks and failed, when the cpu was idle 85 load_balance() in this domain when the cpu was idle 87 was idle 89 the target task was cache-hot when idle 91 not find a busier queue while the cpu was idle 93 cpu was idle but no busier group was found [all …]
|
/kernel/linux/linux-5.10/Documentation/timers/ |
D | no_hz.rst | 19 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 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 82 idle CPUs. That said, dyntick-idle mode is not free: [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | twl4030-power.txt | 11 "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
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | idle.h | 49 get_lppaca()->idle = 1; in pseries_idle_prolog() 56 get_lppaca()->idle = 0; in pseries_idle_epilog() 68 if (unlikely(get_lppaca()->idle == 1)) { in read_this_idle_purr() 84 if (get_lppaca()->idle == 1) { in read_this_idle_spurr()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | stackprotector.h | 93 static inline void cpu_init_stack_canary(int cpu, struct task_struct *idle) in cpu_init_stack_canary() argument 96 per_cpu(fixed_percpu_data.stack_canary, cpu) = idle->stack_canary; in cpu_init_stack_canary() 98 per_cpu(stack_canary.canary, cpu) = idle->stack_canary; in cpu_init_stack_canary() 131 static inline void cpu_init_stack_canary(int cpu, struct task_struct *idle) in cpu_init_stack_canary() argument
|