Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500583

Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation

From Hoan Tran <hotran@apm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation
Date 2016-10-13 23:30 +0200
Message-ID <srVJD-u5-13@gated-at.bofh.it> (permalink)
References <srSiJ-6F7-13@gated-at.bofh.it> <srUaR-7SK-11@gated-at.bofh.it> <srVzY-qJ-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 13, 2016 at 2:12 PM, Rafael J. Wysocki <rafael@kernel.org> wrote:
> On Thu, Oct 13, 2016 at 9:37 PM, Prakash, Prashanth
> <pprakash@codeaurora.org> wrote:
>> On 10/13/2016 11:33 AM, Hoan Tran wrote:
>>> The desired_perf is an abstract performance number. Its value should
>>> be in the range of [lowest perf, highest perf] of CPPC.
>>> The correct calculation is
>>>   desired_perf = freq * cppc_highest_perf / cppc_dmi_max_khz
>>>
>>> And cppc_cpufreq_set_target() returns if desired_perf is exactly
>>> the same with the old perf.
>>>
>>> Signed-off-by: Hoan Tran <hotran@apm.com>
>> Reviewed-by: Prashanth Prakash <pprakash@codeaurora.org>
>>
>> Hi Rafael,
>> Can you please pick this one for 4.9, as it is bug fix?
>
> Sure, I will queue it up.
>

Thanks, Rafael and Prashanth !

Hoan

> Thanks,
> Rafael

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] cpufreq: CPPC: Correct desired_perf calculation Hoan Tran <hotran@apm.com> - 2016-10-13 19:50 +0200
  Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation "Prakash, Prashanth" <pprakash@codeaurora.org> - 2016-10-13 21:50 +0200
    Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation "Rafael J. Wysocki" <rafael@kernel.org> - 2016-10-13 23:20 +0200
      Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation Hoan Tran <hotran@apm.com> - 2016-10-13 23:30 +0200

csiph-web