Home
last modified time | relevance | path

Searched +full:p +full:- +full:states (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/kernel/linux/linux-6.6/Documentation/admin-guide/pm/
Dintel_pstate.rst1 .. SPDX-License-Identifier: GPL-2.0
22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.]
24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
43 time the corresponding CPU is taken offline and need to be re-initialized when
47 only way to pass early-configuration-time parameters to it is via the kernel
66 -----------
69 hardware-managed P-states (HWP) support. If it works in this mode, the
[all …]
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
64 information on the available P-states (or P-state ranges in some cases) and
65 access platform-specific hardware interfaces to change CPU P-states as requested
70 performance scaling algorithms for P-state selection can be represented in a
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dintel_pstate.rst1 .. SPDX-License-Identifier: GPL-2.0
24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
43 time the corresponding CPU is taken offline and need to be re-initialized when
47 only way to pass early-configuration-time parameters to it is via the kernel
66 -----------
69 hardware-managed P-states (HWP) support. If it works in this mode, the
74 provides its own scaling algorithms for P-state selection. Those algorithms
[all …]
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
64 information on the available P-states (or P-state ranges in some cases) and
65 access platform-specific hardware interfaces to change CPU P-states as requested
70 performance scaling algorithms for P-state selection can be represented in a
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dia64-acpi-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * This file provides the ACPI based P-state support. This
6 * (arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c)
28 MODULE_DESCRIPTION("ACPI Processor P-States Driver");
59 return -ENODEV; in processor_set_pstate()
86 /* To be used only after data->acpi_data is initialized */
96 for (i = 0; i < data->acpi_data.state_count; i++) { in extract_clock()
97 if (value == data->acpi_data.states[i].status) in extract_clock()
98 return data->acpi_data.states[i].core_frequency; in extract_clock()
100 return data->acpi_data.states[i-1].core_frequency; in extract_clock()
[all …]
Dacpi-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * acpi-cpufreq.c - ACPI Processor P-States Driver
7 * Copyright (C) 2002 - 2004 Dominik Brodowski <linux@brodo.de>
37 MODULE_DESCRIPTION("ACPI Processor P-States Driver");
67 return per_cpu_ptr(acpi_perf_data, data->acpi_perf_cpu); in to_perf_data()
109 return -EINVAL; in boost_set_msr()
132 on_each_cpu_mask(policy->cpus, boost_set_msr_each, in set_boost()
135 cpumask_pr_args(policy->cpus), val ? "en" : "dis"); in set_boost()
142 struct acpi_cpufreq_data *data = policy->driver_data; in show_freqdomain_cpus()
145 return -ENODEV; in show_freqdomain_cpus()
[all …]
/kernel/linux/linux-6.6/drivers/cpufreq/
Dia64-acpi-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * This file provides the ACPI based P-state support. This
6 * (arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c)
28 MODULE_DESCRIPTION("ACPI Processor P-States Driver");
59 return -ENODEV; in processor_set_pstate()
86 /* To be used only after data->acpi_data is initialized */
96 for (i = 0; i < data->acpi_data.state_count; i++) { in extract_clock()
97 if (value == data->acpi_data.states[i].status) in extract_clock()
98 return data->acpi_data.states[i].core_frequency; in extract_clock()
100 return data->acpi_data.states[i-1].core_frequency; in extract_clock()
[all …]
Dacpi-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * acpi-cpufreq.c - ACPI Processor P-States Driver
7 * Copyright (C) 2002 - 2004 Dominik Brodowski <linux@brodo.de>
39 MODULE_DESCRIPTION("ACPI Processor P-States Driver");
69 return per_cpu_ptr(acpi_perf_data, data->acpi_perf_cpu); in to_perf_data()
115 return -EINVAL; in boost_set_msr()
138 on_each_cpu_mask(policy->cpus, boost_set_msr_each, in set_boost()
141 cpumask_pr_args(policy->cpus), str_enabled_disabled(val)); in set_boost()
148 struct acpi_cpufreq_data *data = policy->driver_data; in show_freqdomain_cpus()
151 return -ENODEV; in show_freqdomain_cpus()
[all …]
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.81 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com>
5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers
10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list"
12 .RB "cpu-list, pkg-list: # | #,# | #-# | all"
14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired"
16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)"
18 .RB "value: # | default | performance | balance-performance | balance-power | power"
21 displays and updates energy-performance policy settings specific to
23 updates, no matter if the Linux cpufreq sub-system is enabled or not.
27 such as how aggressively the hardware enters and exits CPU idle states (C-states)
[all …]
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.81 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com>
5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers
10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list"
12 .RB "cpu-list, pkg-list: # | #,# | #-# | all"
14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired"
16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)"
18 .RB "value: # | default | performance | balance-performance | balance-power | power"
21 displays and updates energy-performance policy settings specific to
23 updates, no matter if the Linux cpufreq sub-system is enabled or not.
27 such as how aggressively the hardware enters and exits CPU idle states (C-states)
[all …]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
Dpowercap.c1 // SPDX-License-Identifier: GPL-2.0
8 #define pr_fmt(fmt) "SCMI Notifications POWERCAP - " fmt
115 #define THRESH_LOW(p, id) \ argument
116 (lower_32_bits((p)->states[(id)].thresholds))
117 #define THRESH_HIGH(p, id) \ argument
118 (upper_32_bits((p)->states[(id)].thresholds))
124 struct scmi_powercap_state *states; member
143 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_powercap_attributes_get()
148 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get()
152 attributes = get_unaligned_le32(t->rx.buf); in scmi_powercap_attributes_get()
[all …]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
Damd.c1 // SPDX-License-Identifier: GPL-2.0
14 /* ACPI P-States Helper Functions for AMD Processors ***************/
101 * cpu -> the cpu that gets evaluated
102 * boost_states -> how much boost states the machines support
105 * pstates -> a pointer to an array of size MAX_HW_PSTATES
107 * All available HW pstates (including boost states)
108 * no -> amount of pstates above array got filled up with
110 * returns zero on success, -1 on failure
123 return -1; in decode_pstates()
126 return -1; in decode_pstates()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
Domap_drv.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
7 #include <linux/dma-mapping.h>
57 if (!new_crtc_state->active) in omap_atomic_wait_for_completion()
63 dev_warn(dev->dev, in omap_atomic_wait_for_completion()
70 struct drm_device *dev = old_state->dev; in omap_atomic_commit_tail()
71 struct omap_drm_private *priv = dev->dev_private; in omap_atomic_commit_tail()
73 dispc_runtime_get(priv->dispc); in omap_atomic_commit_tail()
78 if (priv->omaprev != 0x3430) { in omap_atomic_commit_tail()
98 * OMAP3 DSS seems to have issues with the work-around above, in omap_atomic_commit_tail()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/
Dintel_powerclamp.rst6 - Arjan van de Ven <arjan@linux.intel.com>
7 - Jacob Pan <jacob.jun.pan@linux.intel.com>
12 - Goals and Objectives
15 - Idle Injection
16 - Calibration
19 - Effectiveness and Limitations
20 - Power vs Performance
21 - Scalability
22 - Calibration
23 - Comparison with Alternative Techniques
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/man/
Dcpupower-set.11 .TH CPUPOWER\-SET "1" "22/02/2011" "" "cpupower Manual"
3 cpupower\-set \- Set processor power related kernel or hardware configurations
6 .B cpupower set [ \-b VAL ]
15 described in the cpupower(1) manpage in the \-\-cpu option section. Whether an
24 \-\-perf-bias, \-b
30 The range of valid numbers is 0-15, where 0 is maximum
33 The processor uses this information in model-specific ways
34 when it must select trade-offs between performance and
37 This policy hint does not supersede Processor Performance states
38 (P-states) or CPU Idle power states (C-states), but allows
[all …]
/kernel/linux/linux-6.6/tools/power/cpupower/man/
Dcpupower-set.11 .TH CPUPOWER\-SET "1" "22/02/2011" "" "cpupower Manual"
3 cpupower\-set \- Set processor power related kernel or hardware configurations
6 .B cpupower set [ \-b VAL ]
15 described in the cpupower(1) manpage in the \-\-cpu option section. Whether an
24 \-\-perf-bias, \-b
30 The range of valid numbers is 0-15, where 0 is maximum
33 The processor uses this information in model-specific ways
34 when it must select trade-offs between performance and
37 This policy hint does not supersede Processor Performance states
38 (P-states) or CPU Idle power states (C-states), but allows
[all …]
/kernel/linux/linux-6.6/drivers/xen/
Dxen-acpi-processor.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * https://lore.kernel.org/lkml/1322673664-14642-6-git-send-email-konrad.wilk@oracle.com
35 * - as those shrink to nr_cpu_bits (which is dependent on possible_cpu), which
40 /* Mutex to protect the acpi_ids_done - for CPU hotplug use. */
48 /* Which ACPI P-State dependencies for a enumerated processor */
56 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
64 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
67 return -ENOMEM; in push_cxx_to_hypervisor()
69 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor()
70 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dxen-acpi-processor.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * - as those shrink to nr_cpu_bits (which is dependent on possible_cpu), which
39 /* Mutex to protect the acpi_ids_done - for CPU hotplug use. */
47 /* Which ACPI P-State dependencies for a enumerated processor */
55 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
63 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
66 return -ENOMEM; in push_cxx_to_hypervisor()
68 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor()
69 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
70 if (!cx->valid) in push_cxx_to_hypervisor()
[all …]
/kernel/linux/linux-5.10/include/linux/
Denergy_model.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * em_perf_state - Performance state of a performance domain
16 * @power: The power consumed at this level, in milli-watts (by 1 CPU or
29 * em_perf_domain - Performance domain
30 * @table: List of performance states, in ascending order
31 * @nr_perf_states: Number of performance states
39 * must have the same micro-architecture. Performance domains often have
40 * a 1-to-1 mapping with CPUFreq policies. In case of other devices the @cpus
49 #define em_span_cpus(em) (to_cpumask((em)->cpus))
55 * Increase resolution of energy estimation calculations for 64-bit
[all …]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
D8xx_immap.h10 * functional files.....but anyone else is welcome to try. -- Dan
95 /*-----------------------------------------------------------------------
96 * BR - Memory Controller: Base Register 16-9
107 #define BR_MS_GPCM 0x00000000 /* G.P.C.M. Machine Select */
108 #define BR_MS_UPMA 0x00000080 /* U.P.M.A Machine Select */
109 #define BR_MS_UPMB 0x000000c0 /* U.P.M.B Machine Select */
112 /*-----------------------------------------------------------------------
113 * OR - Memory Controller: Option Register 16-11
127 #define OR_SCY_0_CLK 0x00000000 /* 0 clock cycles wait states */
128 #define OR_SCY_1_CLK 0x00000010 /* 1 clock cycles wait states */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
D8xx_immap.h10 * functional files.....but anyone else is welcome to try. -- Dan
95 /*-----------------------------------------------------------------------
96 * BR - Memory Controller: Base Register 16-9
107 #define BR_MS_GPCM 0x00000000 /* G.P.C.M. Machine Select */
108 #define BR_MS_UPMA 0x00000080 /* U.P.M.A Machine Select */
109 #define BR_MS_UPMB 0x000000c0 /* U.P.M.B Machine Select */
112 /*-----------------------------------------------------------------------
113 * OR - Memory Controller: Option Register 16-11
127 #define OR_SCY_0_CLK 0x00000000 /* 0 clock cycles wait states */
128 #define OR_SCY_1_CLK 0x00000010 /* 1 clock cycles wait states */
[all …]
/kernel/linux/linux-6.6/drivers/acpi/
Dprocessor_idle.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * processor_idle - idle state submodule to the ACPI processor driver
9 * - Added processor hotplug support
11 * - Added support for C3 on SMP
31 * creating an empty asm-ia64/apic.h would just trade pest vs. cholera.
78 pr_notice("%s detected - limiting to C%ld max_cstate." in set_max_cstate()
79 " Override with \"processor.max_cstate=%d\"\n", id->ident, in set_max_cstate()
80 (long)id->driver_data, ACPI_PROCESSOR_MAX_POWER + 1); in set_max_cstate()
82 max_cstate = (long)id->driver_data; in set_max_cstate()
93 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
[all …]
Dprocessor_perflib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * processor_perflib.c - ACPI Processor P-States Library ($Revision: 71 $)
9 * - Added processor hotplug support
40 * -1 -> cpufreq low level drivers not initialized -> _PSS, etc. not called yet
42 * 0 -> cpufreq low level drivers initialized -> consider _PPC values
43 * 1 -> ignore _PPC totally -> forced by user through boot param
45 static int ignore_ppc = -1;
61 return -EINVAL; in acpi_processor_get_platform_limit()
65 * (e.g. 0 = states 0..n; 1 = states 1..n; etc. in acpi_processor_get_platform_limit()
67 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc); in acpi_processor_get_platform_limit()
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/thermal/
Dintel_powerclamp.rst6 - Arjan van de Ven <arjan@linux.intel.com>
7 - Jacob Pan <jacob.jun.pan@linux.intel.com>
12 - Goals and Objectives
15 - Idle Injection
16 - Calibration
19 - Effectiveness and Limitations
20 - Power vs Performance
21 - Scalability
22 - Calibration
23 - Comparison with Alternative Techniques
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_perflib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * processor_perflib.c - ACPI Processor P-States Library ($Revision: 71 $)
9 * - Added processor hotplug support
43 * -1 -> cpufreq low level drivers not initialized -> _PSS, etc. not called yet
45 * 0 -> cpufreq low level drivers initialized -> consider _PPC values
46 * 1 -> ignore _PPC totally -> forced by user through boot param
48 static int ignore_ppc = -1;
64 return -EINVAL; in acpi_processor_get_platform_limit()
68 * (e.g. 0 = states 0..n; 1 = states 1..n; etc. in acpi_processor_get_platform_limit()
70 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc); in acpi_processor_get_platform_limit()
[all …]

12345678910>>...42