[PATCH v2 0/2] cpufreq: CPPC: idle cpu perf handling

Prashant Malani posted 2 patches 3 months, 3 weeks ago
drivers/cpufreq/cppc_cpufreq.c | 5 +++++
kernel/sched/syscalls.c        | 1 +
2 files changed, 6 insertions(+)
[PATCH v2 0/2] cpufreq: CPPC: idle cpu perf handling
Posted by Prashant Malani 3 months, 3 weeks ago
This is a short series to address the unreliable feedback performance
counter values that are returned by the CPPC driver when the CPU is
idle.

The first patch exposes idle_cpu() to be accessible to modules, and the
second patch does the actual change of not reading the feedback counters
when we know that the CPU is idle.

v1(single patch): https://lore.kernel.org/all/20250614003601.1600784-1-pmalani@google.com/

Prashant Malani (2):
  sched: Expose idle_cpu() to modules
  cpufreq: CPPC: Dont read counters for idle CPUs

 drivers/cpufreq/cppc_cpufreq.c | 5 +++++
 kernel/sched/syscalls.c        | 1 +
 2 files changed, 6 insertions(+)

-- 
2.50.0.rc2.701.gf1e915cc24-goog