[PATCH 0/4] pmdomain/cpuidle-psci: Improve domain-idlestate statistics

From: Ulf Hansson
Date: Fri Mar 14 2025 - 06:01:30 EST


This series improves and extends the support for domain-idlestates statistic
for genpd and the cpuidle-psci-domain. More information is available in each
commit message.

Please help to review and test!

Kind regards
Ulf Hansson

Ulf Hansson (4):
pmdomain: core: Add genpd helper to correct the usage/rejected
counters
cpuidle: psci: Move the per CPU variable domain_state to a struct
cpuidle: psci: Correct the domain-idlestate statistics in debugfs
pmdomain: core: Add residency reflection for domain-idlestates to
debugfs

drivers/cpuidle/cpuidle-psci-domain.c | 2 +-
drivers/cpuidle/cpuidle-psci.c | 40 ++++++++++++-----
drivers/cpuidle/cpuidle-psci.h | 4 +-
drivers/pmdomain/core.c | 65 +++++++++++++++++++++++++--
drivers/pmdomain/governor.c | 2 +
include/linux/pm_domain.h | 10 +++++
6 files changed, 106 insertions(+), 17 deletions(-)

--
2.43.0