Re: [PATCH v2 2/2] cpufreq: CPPC: Dont read counters for idle CPUs
From: Viresh Kumar
Date: Thu Jul 31 2025 - 07:13:45 EST
On 31-07-25, 10:27, Beata Michalska wrote:
> I am still wondering whether cpufreq core is not a better suited place for
> checking whether the CPU is idle. We could potentially try on anther CPU within
> the policy and if there is none, just provide the last known freq ?
>
> @Viresh: What are your thoughts on that ?
For other platforms (that' don't have counters to read), I think a call to
->get() to get the currently configured frequency is perfectly fine. Isn't it ?
--
viresh