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

From: Rafael J. Wysocki
Date: Fri Jan 08 2021 - 12:54:17 EST


Hi Linus,

Please pull from the tag

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

with top-most commit c4151604f0603d5700072183a05828ff87d764e4

cpufreq: intel_pstate: remove obsolete functions

on top of commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62

Linux 5.11-rc2

to receive power management fixes for 5.11-rc3.

These address two issues in the intel_pstate driver and one in the
powernow-k8 cpufreq driver.

Specifics:

- Make the powernow-k8 cpufreq driver avoid calling cpufreq_cpu_get(),
which theoretically may return NULL, to get a policy pointer that
is known to it already (Colin Ian King).

- Drop two functions that are not used any more from the intel_pstate
driver (Lukas Bulwahn).

- Make intel_pstate check the HWP capabilities to get the maximum
available P-state in the passive mode to avoid using a stale value
of it in case of out-of-band updates (Rafael Wysocki).

Thanks!


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

Colin Ian King (1):
cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()

Lukas Bulwahn (1):
cpufreq: intel_pstate: remove obsolete functions

Rafael J. Wysocki (1):
cpufreq: intel_pstate: Use HWP capabilities in intel_cpufreq_adjust_perf()

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

drivers/cpufreq/intel_pstate.c | 15 +++------------
drivers/cpufreq/powernow-k8.c | 9 +++------
2 files changed, 6 insertions(+), 18 deletions(-)