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

From: Rafael J. Wysocki
Date: Fri Oct 30 2020 - 12:28:45 EST


Hi Linus,

Please pull from the tag

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

with top-most commit dea47cf45a7f9bb94684830c47d4b259d5f8d6af

Merge branches 'pm-cpuidle' and 'pm-sleep'

on top of commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec

Linux 5.10-rc1

to receive power management fixes for 5.10-rc2.

These fix a few issues related to running intel_pstate in the passive
mode with HWP enabled, correct the handling of the max_cstate module
parameter in intel_idle and make a few janitorial changes.

Specifics:

- Modify Kconfig to prevent configuring either the "conservative"
or the "ondemand" governor as the default cpufreq governor if
intel_pstate is selected, in which case "schedutil" is the
default choice for the default governor setting (Rafael Wysocki).

- Modify the cpufreq core, intel_pstate and the schedutil governor
to avoid missing updates of the HWP max limit when intel_pstate
operates in the passive mode with HWP enabled (Rafael Wysocki).

- Fix max_cstate module parameter handling in intel_idle for
processor models with C-state tables coming from ACPI (Chen Yu).

- Clean up assorted pieces of power management code (Jackie Zamow,
Tom Rix, Zhang Qilong).

Thanks!


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

Chen Yu (1):
intel_idle: Fix max_cstate for processor models without C-state tables

Jackie Zamow (1):
PM: sleep: fix typo in kernel/power/process.c

Rafael J. Wysocki (5):
cpufreq: Avoid configuring old governors as default with intel_pstate
cpufreq: Introduce CPUFREQ_NEED_UPDATE_LIMITS driver flag
cpufreq: intel_pstate: Avoid missing HWP max updates in passive mode
cpufreq: Introduce cpufreq_driver_test_flags()
cpufreq: schedutil: Always call driver if
CPUFREQ_NEED_UPDATE_LIMITS is set

Tom Rix (1):
cpufreq: speedstep: remove unneeded semicolon

Zhang Qilong (1):
cpufreq: e_powersaver: remove unreachable break

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

drivers/cpufreq/Kconfig | 2 ++
drivers/cpufreq/cpufreq.c | 15 ++++++++++++++-
drivers/cpufreq/e_powersaver.c | 1 -
drivers/cpufreq/intel_pstate.c | 13 ++++++-------
drivers/cpufreq/longhaul.c | 1 -
drivers/cpufreq/speedstep-lib.c | 2 +-
drivers/idle/intel_idle.c | 2 +-
include/linux/cpufreq.h | 11 ++++++++++-
kernel/power/process.c | 2 +-
kernel/sched/cpufreq_schedutil.c | 6 ++++--
10 files changed, 39 insertions(+), 16 deletions(-)