lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <efa322b1-136a-4755-9abe-f808d6e8f4b1@arm.com>
Date:   Wed, 18 Oct 2023 12:16:01 +0100
From:   Lukasz Luba <lukasz.luba@....com>
To:     Vincent Guittot <vincent.guittot@...aro.org>
Cc:     conor.dooley@...rochip.com, suagrfillet@...il.com,
        juri.lelli@...hat.com, aou@...s.berkeley.edu,
        ajones@...tanamicro.com, catalin.marinas@....com,
        palmer@...belt.com, paul.walmsley@...ive.com, rostedt@...dmis.org,
        will@...nel.org, ionela.voinescu@....com, pierre.gondois@....com,
        viresh.kumar@...aro.org, peterz@...radead.org,
        gregkh@...uxfoundation.org, bristot@...hat.com,
        dietmar.eggemann@....com, lftan@...nel.org,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, mingo@...hat.com,
        linux-riscv@...ts.infradead.org, mgorman@...e.de,
        bsegall@...gle.com, vschneid@...hat.com, linux@...linux.org.uk,
        sudeep.holla@....com, rafael@...nel.org
Subject: Re: [PATCH v2 3/6] cpufreq: use the fixed and coherent frequency for
 scaling capacity



On 10/9/23 11:36, Vincent Guittot wrote:
> cpuinfo.max_freq can change at runtime because of boost as an example. This
> implies that the value could be different from the frequency that has been
> used to compute the capacity of a CPU.
> 
> The new arch_scale_freq_ref() returns a fixed and coherent frequency
> that can be used to compute the capacity for a given frequency.
> 
> Signed-off-by: Vincent Guittot <vincent.guittot@...aro.org>
> ---
>   drivers/cpufreq/cpufreq.c | 4 ++--
>   include/linux/cpufreq.h   | 9 +++++++++
>   2 files changed, 11 insertions(+), 2 deletions(-)
> 

Reviewed-by: Lukasz Luba <lukasz.luba@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ