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

From: Vincent Guittot
Date: Sat Sep 02 2023 - 08:50:37 EST


On Sat, 2 Sept 2023 at 12:57, Conor Dooley <conor@xxxxxxxxxx> 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)