[PATCH 07/15] cpufreq: ondemand: Simplify idle cputime granularity test

Rafael J. Wysocki rafael at kernel.org
Tue Jan 20 23:32:50 AEDT 2026


On Mon, Jan 19, 2026 at 11:07 PM Frederic Weisbecker
<frederic at kernel.org> wrote:
>
> Le Mon, Jan 19, 2026 at 01:30:07PM +0100, Rafael J. Wysocki a écrit :
> > On Fri, Jan 16, 2026 at 3:53 PM Frederic Weisbecker <frederic at kernel.org> wrote:
> > >
> > > cpufreq calls get_cpu_idle_time_us() just to know if idle cputime
> > > accounting has a nanoseconds granularity.
> > >
> > > Use the appropriate indicator instead to make that deduction.
> > >
> > > Signed-off-by: Frederic Weisbecker <frederic at kernel.org>
> >
> > Acked-by: Rafael J. Wysocki (Intel) <rafael at kernel.org>
> >
> > or please let me know if you want me to take this patch.
>
> The patch is standalone but the rest of the patchset depends on it.
> Now I don't target this patchset for v6.20-rc1.
>
> So if you manage to sneak this patch in for v6.20-rc1, it works because
> I'll rebase on -rc1. Otherwise I'll need to keep it to avoid breaking
> some code assumptions.
>
> What do you think?

It can go into -rc1.


More information about the Linuxppc-dev mailing list