[GIT PULL] Power management fixes for v5.9-rc4

From: Rafael J. Wysocki
Date: Fri Sep 04 2020 - 12:56:45 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.9-rc4

with top-most commit f7ce2c3afc938b7d743ee8e5563560c04e17d7be

Merge branch 'pm-cpufreq'

on top of commit f75aef392f869018f78cfedf3c320a6b3fcfda6b

Linux 5.9-rc3

to receive power management fixes for 5.9-rc4.

These fix reference counting in the operating performance points
(OPP) framework and address a few intel_pstate driver issues,
mostly related to switching driver operation modes and similar
with hardware-managed P-states (HWP) enabled.

Specifics:

- Fix reference counting of operating performance points (OPP)
tables (Viresh Kumar).

- Address intel_pstate driver interface issues, mostly related
to switching operation modes and handling CPU offline and
online and system-wide suspend/resume with hardware-managed
P-states (HWP) enabled (Rafael Wysocki).

- Fix the maximum frequency computation in the intel_pstate driver
with turbo P-states disabled by the platform firmware and HWP
enabled (Francisco Jerez).

Thanks!


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

Francisco Jerez (1):
cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled

Rafael J. Wysocki (5):
cpufreq: intel_pstate: Refuse to turn off with HWP enabled
cpufreq: intel_pstate: Update cached EPP in the active mode
cpufreq: intel_pstate: Tweak the EPP sysfs interface
cpufreq: intel_pstate: Add ->offline and ->online callbacks
cpufreq: intel_pstate: Free memory only when turning off

Viresh Kumar (1):
opp: Don't drop reference for an OPP table that was never parsed

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

Documentation/admin-guide/pm/intel_pstate.rst | 4 +-
drivers/cpufreq/intel_pstate.c | 236 ++++++++++++++++----------
drivers/opp/core.c | 22 ++-
drivers/opp/opp.h | 2 +-
4 files changed, 168 insertions(+), 96 deletions(-)