[GIT PULL] Power management fixes for v5.10-rc3

From: Rafael J. Wysocki
Date: Thu Nov 05 2020 - 09:20:37 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.10-rc3

with top-most commit 8c14577df4cd5c6d8b799bdfb3a0e94923f17d50

Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-opp' and 'powercap'

on top of commit 3cea11cd5e3b00d91caf0b4730194039b45c5891

Linux 5.10-rc2

to receive power management fixes for 5.10-rc3.

These fix the device links support in runtime PM, correct mistakes in
the cpuidle documentation, fix the handling of policy limits changes
in the schedutil cpufreq governor, fix assorted issues in the OPP
(operating performance points) framework and make one janitorial
change.

Specifics:

- Unify the handling of managed and stateless device links in the
runtime PM framework and prevent runtime PM references to devices
from being leaked after device link removal (Rafael Wysocki).

- Fix two mistakes in the cpuidle documentation (Julia Lawall).

- Prevent the schedutil cpufreq governor from missing policy
limits updates in some cases (Viresh Kumar).

- Prevent static OPPs from being dropped by mistake (Viresh Kumar).

- Prevent helper function in the OPP framework from returning
prematurely (Viresh Kumar).

- Prevent opp_table_lock from being held too long during removal
of OPP tables with no more active references (Viresh Kumar).

- Drop redundant semicolon from the Intel RAPL power capping
driver (Tom Rix).

Thanks!


---------------

Julia Lawall (2):
Documentation: PM: cpuidle: correct typo
Documentation: PM: cpuidle: correct path name

Rafael J. Wysocki (3):
PM: runtime: Drop runtime PM references to supplier on link removal
PM: runtime: Drop pm_runtime_clean_up_links()
PM: runtime: Resume the device earlier in __device_release_driver()

Tom Rix (1):
powercap/intel_rapl: remove unneeded semicolon

Viresh Kumar (4):
opp: Don't always remove static OPPs in _of_add_opp_table_v1()
opp: Fix early exit from dev_pm_opp_register_set_opp_helper()
opp: Reduce the size of critical section in _opp_table_kref_release()
cpufreq: schedutil: Don't skip freq update if need_freq_update is set

---------------

Documentation/admin-guide/pm/cpuidle.rst | 4 +--
drivers/base/core.c | 6 ++--
drivers/base/dd.c | 9 ++---
drivers/base/power/runtime.c | 57 +++++++++++---------------------
drivers/opp/core.c | 9 ++---
drivers/opp/of.c | 2 ++
drivers/powercap/intel_rapl_common.c | 2 +-
include/linux/pm_runtime.h | 6 ++--
kernel/sched/cpufreq_schedutil.c | 22 ++++++------
9 files changed, 49 insertions(+), 68 deletions(-)