lkml.org 
[lkml]   [2022]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] cpufreq: Avoid unnecessary frequency updates due to mismatch
    From
    Date
    On Wed, 2022-05-04 at 13:51 +0530, Viresh Kumar wrote:
    > For some platforms, the frequency returned by hardware may be
    > slightly
    > different from what is provided in the frequency table. For example,
    > hardware may return 499 MHz instead of 500 MHz. In such cases it is
    > better to avoid getting into unnecessary frequency updates, as we may
    > end up switching policy->cur between the two and sending unnecessary
    > pre/post update notifications, etc.
    >
    > This patch has chosen allows the hardware frequency and table
    > frequency
    > to deviate by 1 MHz for now, we may want to increase it a bit later
    > on
    > if someone still complains.
    >
    > Reported-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
    > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    > ---
    >

    Hello Viresh,

    Thanks for your help!
    Jia-wei verified this patch in his device, and I help him to add this.

    Tested-by: Jia-wei Chang <jia-wei.chang@mediatek.com>

    BRs,
    Rex

    \
     
     \ /
      Last update: 2022-05-04 14:07    [W:3.771 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site