[GIT PULL] More power management updates for v5.16-rc1

From: Rafael J. Wysocki
Date: Wed Nov 10 2021 - 09:32:10 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.16-rc1-2

with top-most commit dcc0b6f2e63ac3bdcea5c9686de4cb1684f2eb33

Merge branches 'pm-opp' and 'pm-cpufreq'

on top of commit 833db72142b93a89211c1e43ca0a1e2e16457756

Merge tag 'pm-5.16-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive more power management updates for 5.16-rc1.

These fix 3 intel_pstate driver regressions, fix locking in the core
code suspending and resuming devices during system PM transitions, fix
the handling of cpuidle drivers based on runtime PM during system-wide
suspend, fix 2 issues in the operating performance points (OPP)
framework and resource-managed helpers to it.

Specifics:

- Fix 2 intel_pstate driver regressions related to the HWP interrupt
handling added recently (Srinivas Pandruvada).

- Fix intel_pstate driver regression introduced during the 5.11
cycle and causing HWP desired performance to be mishandled in
some cases when switching driver modes and during system
suspend and shutdown (Rafael Wysocki).

- Fix system-wide device suspend and resume locking to avoid
deadlocks when device objects are deleted during a system-wide
PM transition (Rafael Wysocki).

- Modify system-wide suspend of devices to prevent cpuidle drivers
based on runtime PM from misbehaving during the "no IRQ" phase of
it (Ulf Hansson).

- Fix return value of _opp_add_static_v2() helper (YueHaibing).

- Fix required-opp handle count (Pavankumar Kondeti).

- Add resource managed OPP helpers, update dev_pm_opp_attach_genpd(),
update their devfreq users, and make minor DT binding change (Dmitry
Osipenko).

Thanks!


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

Dmitry Osipenko (6):
opp: Change type of dev_pm_opp_attach_genpd(names) argument
opp: Add more resource-managed variants of dev_pm_opp_of_add_table()
PM / devfreq: Add devm_devfreq_add_governor()
PM / devfreq: tegra30: Use resource-managed helpers
PM / devfreq: tegra30: Check whether clk_round_rate() returns zero rate
dt-bindings: opp: Allow multi-worded OPP entry name

Pavankumar Kondeti (1):
opp: Fix required-opps phandle array count check

Rafael J. Wysocki (2):
cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
PM: sleep: Avoid calling put_device() under dpm_list_mtx

Srinivas Pandruvada (2):
cpufreq: intel_pstate: Fix unchecked MSR 0x773 access
cpufreq: intel_pstate: Clear HWP Status during HWP Interrupt enable

Ulf Hansson (1):
PM: sleep: Fix runtime PM based cpuidle support

YueHaibing (1):
opp: Fix return in _opp_add_static_v2()

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

.../devicetree/bindings/opp/opp-v2-base.yaml | 2 +-
drivers/base/power/main.c | 85 +++++++++++-----
drivers/cpufreq/intel_pstate.c | 36 ++++++-
drivers/devfreq/devfreq.c | 26 +++++
drivers/devfreq/governor.h | 3 +
drivers/devfreq/tegra30-devfreq.c | 109 +++++++++------------
drivers/opp/core.c | 6 +-
drivers/opp/of.c | 50 ++++++++--
include/linux/pm_opp.h | 20 +++-
9 files changed, 229 insertions(+), 108 deletions(-)