diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2025-03-14 11:00:57 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-04-23 10:08:34 +0200 |
commit | d0252ba821a3076615b34c1107854f8ff31ecd2e (patch) | |
tree | 6876a9eb3f3fbad608f383a1f787e5159cabd6ed /scripts/lib/kdoc/kdoc_output.py | |
parent | 3290e9f98a2d3c43c0c9b89a73affa3aaebe62a3 (diff) |
cpuidle: psci: Correct the domain-idlestate statistics in debugfs
When trying to enter a domain-idlestate, we may occasionally fail to enter
the state, which is informed to us by psci_cpu_suspend_enter() returning an
error-code. In these cases, our corresponding genpd->power_off() callback
has already returned zero to indicate success, leading to getting
in-correct domain-idlestate statistics in debugfs for the genpd in
question.
Let's fix this by making use of the new pm_genpd_inc_rejected() helper, as
it allows us to correct the domain-idlestate statistics for this type of
scenario.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250314100103.1294715-4-ulf.hansson@linaro.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions