/linux/drivers/cpufreq/ |
H A D | amd-pstate-ut.c | 111 * highest_perf >= nominal_perf > lowest_nonlinear_perf > lowest_perf > 0 116 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local 137 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf() 148 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf() 155 if (highest_perf != cur_perf.highest_perf && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf() 157 __func__, cpu, highest_perf, cur_perf.highest_perf); in amd_pstate_ut_check_perf() 170 if (!((highest_perf > in amd_pstate_ut_check_perf() [all...] |
H A D | amd-pstate-trace.h | 89 u8 highest_perf, 98 highest_perf, 107 __field(u8, highest_perf) 117 __entry->highest_perf = highest_perf; 129 (u8)__entry->highest_perf,
|
H A D | amd-pstate.c | 143 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf() 249 perf.highest_perf, in msr_update_perf() 299 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in msr_set_epp() 344 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in shmem_set_epp() 420 perf.highest_perf = numerator; in msr_init_perf() 447 perf.highest_perf = numerator; in shmem_init_perf() 454 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf() 509 perf.highest_perf, in shmem_update_perf() 720 cap_perf = perf.highest_perf; in amd_pstate_adjust_perf() 750 max_freq = perf_to_freq(perf, cpudata->nominal_freq, perf.highest_perf); in amd_pstate_cpu_boost_update() [all...] |
H A D | acpi-cpufreq.c | 628 * between the highest_perf and the nominal_perf. 636 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local 650 ret = amd_get_boost_ratio_numerator(cpu, &highest_perf); in get_max_boost_ratio() 657 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio() 665 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio() 670 if (highest_perf < nominal_perf) { in get_max_boost_ratio() 675 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
|
H A D | amd-pstate.h | 19 * @highest_perf: the maximum performance an individual processor may reach, 21 * For platforms that support the preferred core feature, the highest_perf value maybe 23 * core ranking is encoded in the highest_perf value). To maintain consistency across 24 * all platforms, we split the highest_perf and preferred core ranking values into 25 * cpudata->perf.highest_perf and cpudata->prefcore_ranking. 37 u8 highest_perf; member
|
H A D | intel_pstate.c | 376 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio() 377 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio() 384 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio() 387 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio() 388 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio() 390 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio() 391 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
|
/linux/arch/x86/kernel/acpi/ |
H A D | cppc.c | 140 * @highest_perf: Return address for highest performance value. 144 int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument 161 WRITE_ONCE(*highest_perf, (u32)val); in amd_get_highest_perf() 183 u64 highest_perf[2] = {0}; in amd_detect_prefcore() local 207 if (!count || (count == 1 && tmp != highest_perf[0])) in amd_detect_prefcore() 208 highest_perf[count++] = tmp; in amd_detect_prefcore() 215 boost_numerator = highest_perf[0]; in amd_detect_prefcore() 221 *detected ? "" : "un", highest_perf[0]); in amd_detect_prefcore()
|
/linux/include/acpi/ |
H A D | cppc_acpi.h | 116 u32 highest_perf; member 152 extern int cppc_get_highest_perf(int cpunum, u64 *highest_perf); 175 extern int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf); 187 static inline int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument 263 static inline int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument
|
/linux/tools/power/cpupower/utils/helpers/ |
H A D | amd.c | 204 unsigned long highest_perf, nominal_perf, cpuinfo_min, in amd_pstate_boost_init() local 207 highest_perf = amd_pstate_get_data(cpu, AMD_PSTATE_HIGHEST_PERF); in amd_pstate_boost_init() 210 *support = highest_perf > nominal_perf ? 1 : 0; in amd_pstate_boost_init()
|
/linux/Documentation/admin-guide/acpi/ |
H A D | cppc_sysfs.rst | 31 -r--r--r-- 1 root root 65536 Mar 5 19:38 highest_perf 40 * highest_perf : Highest performance of this processor (abstract scale).
|
/linux/Documentation/admin-guide/pm/ |
H A D | amd-pstate.rst | 596 | | || highest_perf >= nominal_perf > lowest_nonlinear_perf > lowest_perf > 0. |
|