Re: [PATCH] cpufreq: intel_pstate: Simplify intel_pstate_update_perf_limits()

2021-04-09 Thread Chen Yu
On Wed, Apr 07, 2021 at 04:21:55PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Because pstate.max_freq is always equal to the product of > pstate.max_pstate and pstate.scaling and, analogously, > pstate.turbo_freq is always equal to the product of > pstate.turbo_pstate and pstat

[PATCH] cpufreq: intel_pstate: Simplify intel_pstate_update_perf_limits()

2021-04-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Because pstate.max_freq is always equal to the product of pstate.max_pstate and pstate.scaling and, analogously, pstate.turbo_freq is always equal to the product of pstate.turbo_pstate and pstate.scaling, the result of the max_policy_perf computation in intel_pstate_update