[PATCH v3 5/6] cpufreq/cppc: set the frequency used for computing the capacity

Peter Zijlstra peterz at infradead.org
Wed Oct 25 05:24:55 PDT 2023


On Wed, Oct 18, 2023 at 06:25:39PM +0200, Vincent Guittot wrote:
> Save the frequency associated to the performance that has been used when
> initializing the capacity of CPUs.
> Also, cppc cpufreq driver can register an artificial energy model. In such
> case, it needs the frequency for this compute capacity.
> We moved and renamed cppc_perf_to_khz and cppc_perf_to_khz to use them

perf_to_khz and khz_to_perf presumably :-)

> outside cppc_cpufreq in topology_init_cpu_capacity_cppc().



More information about the linux-riscv mailing list