[PATCH 3/4] cpufreq/schedutil: use a fixed reference frequency

Vincent Guittot vincent.guittot at linaro.org
Sat Sep 2 05:49:36 PDT 2023


On Sat, 2 Sept 2023 at 12:57, Conor Dooley <conor at kernel.org> wrote:
>
> On Fri, Sep 01, 2023 at 03:03:11PM +0200, Vincent Guittot wrote:
>
> > +#ifdef arch_scale_freq_ref
> > +/**
> > + * arch_scale_freq_ref_policy - get the reference frequency of a given CPU that
> > + * has been used to correlate frequency and compute capacity.
> > + * @cpu: the CPU in question.
>
> Copy-pasting fail? That's not what your parameter is called.

Yes, I forgot to change parameter and its description

>
> > + *
> > + * Return: the reference CPU frequency.
> > + */
> > +static __always_inline
> > +unsigned long  arch_scale_freq_ref_policy(struct cpufreq_policy *policy)



More information about the linux-arm-kernel mailing list