参见ACPI SPEC 章节:8.4.7 Collaborative Processor Performance Control CPPC(Collaborative Processor Performance Control)是ACPI规范中定义的一套机制,让OS根据CPU负载情况主动管理CPU的性能,OS与firmware通过共享内存机制通信,firmware收到消息后把请求性能转换为
* use them to convert perf to freq and vice versa. The conversion is * extrapolated as an affine function passing by the 2 points: * - (Low perf, Low freq) * - (Nominal perf, Nominal perf) */ static unsigned int cppc_cpufreq_perf_to_khz(struct cppc_cpudata *cpu...
static struct cpufreq_driver cppc_cpufreq_driver;static enum { FIE_UNSET = -1, FIE_ENABLED, FIE_DISABLED } fie_disabled = FIE_UNSET;#ifdef CONFIG_ACPI_CPPC_CPUFREQ_FIE module_param(fie_disabled, int, 0444); MODULE_PARM_DESC(fie_disabled, "Disable Frequency Invariance Engin...
cppc_cpufreq.c include/acpi cppc_acpi.h 42 changes: 42 additions & 0 deletions 42 drivers/acpi/cppc_acpi.c Original file line numberDiff line numberDiff line change @@ -1243,6 +1243,48 @@ int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) } EXPORT_SYMBOL...
当不使用英特尔的 P-State 驱动时,Schedutil已经是许多Linux发行版内核上的ACPI CPUFreq的默认值,并且总体上处于良好状态。上游公司也一直在推动 AMD 接受 Schedutil,这可以追溯到他们最初在 2019 年为 Zen 2 涉足 ACPI CPPC 支持时。 AMD的Ray Huang周五在X.Org开发者大会(XDC2021)上围绕他们的工作发表了演讲。
if (cppc_highest_perf_diff && cpumask_equal(&core_prior_mask, cpu_online_mask)) ERROR:OPEN_BRACE: that open brace { should be on the previous line #106: FILE: drivers/cpufreq/acpi-cpufreq.c:701: if (cppc_highest_perf_diff && cpumask_equal(&core_prior_mask, cpu_online_mask)) {...
drivers/cpufreq/cppc_cpufreq.c@oskernel0719 , :fa-sign-out: xiexiuqi, drivers/cpufreq/cpufreq_seep.c 以上为各修改文件匹配的推荐Committer序列,需各模块评审通过后方可合入。 表态 回复 openeuler-ci-bot 成员 2024年12月05日 Check NameCheck ResultCheck Details checkpatch WARNING#21064 checkforma...
Commits BreadcrumbsHistory for dpdk lib power power_cppc_cpufreq.c onc6552d9 User selector All users DatepickerAll time Commit History End of commit history for this fileFooter © 2024 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact Manage cookies Do ...
drivers/cpufreq/amd-pstate.c +1-1 Original file line numberDiff line numberDiff line change @@ -673,7 +673,7 @@ static int __init amd_pstate_init(void) 673 673 return -ENODEV; 674 674 675 675 if (!acpi_cpc_valid()) { 676 - pr_debug("the _CPC object is not ...
* See drivers/mailbox/pcc.c for details on PCC.* * Finer details about the PCC and CPPC spec are available in the ACPI v5.1 and * above specifications.*/ #define pr_fmt(fmt) "ACPI CPPC: " fmt #include <linux/cpufreq.h> ...