Re: [PATCH v2 2/2] cpufreq: CPPC: Dont read counters for idle CPUs

From: Beata Michalska
Date: Thu Jul 31 2025 - 16:31:24 EST


On Thu, Jul 31, 2025 at 09:51:51AM -0700, Prashant Malani wrote:
> HI Beata,
>
> On Thu, 31 Jul 2025 at 01:27, Beata Michalska <beata.michalska@xxxxxxx> wrote:
> > In the meantime I'm still trying to figure out smht to mitigate the issues with
> > the numbers we get from counters after waking up the CPU.
>
> My attempt at that is here: [1]
> It's been proposed before, but it's increasing the delay between samples.
>
> [1] https://lore.kernel.org/linux-pm/20250730220812.53098-1-pmalani@xxxxxxxxxx/
Thank you for the info, but I'm exploring ways that will not increase the time
window between the reads.
While we are at it, would you be able to drop me some numbers from your
platform, preferably good and `bad` ones:
both counter values, and the bits that are used for mapping performance to
actual frequency (nominal freq/perf, reference perf)

---
BR
Beata
>
> BR,
>
> -Prashant