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

From: Rafael J. Wysocki
Date: Fri Jun 26 2020 - 11:39:04 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 0e3fb2a128d81bc5baee76dddcc8ddbc8ccae95c

Merge branches 'pm-cpufreq' and 'pm-cpuidle'

on top of commit 48778464bb7d346b47157d21ffde2af6b2d39110

Linux 5.8-rc2

to receive power management fixes for 5.8-rc3.

These fix a recent regression that broke suspend-to-idle on some
x86 systems, fix the intel_pstate driver to correctly let the
platform firmware control CPU performance in some cases and
add __init annotations to a couple of functions.

Specifics:

- Make sure that the _TIF_POLLING_NRFLAG is clear before entering
the last phase of suspend-to-idle to avoid wakeup issues on some
x86 systems (Chen Yu, Rafael Wysocki).

- Cover one more case in which the intel_pstate driver should let
the platform firmware control the CPU frequency and refuse to
load (Srinivas Pandruvada).

- Add __init annotations to 2 functions in the power management
core (Christophe JAILLET).

Thanks!


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

Chen Yu (1):
PM: s2idle: Clear _TIF_POLLING_NRFLAG before suspend to idle

Christophe JAILLET (1):
PM: sleep: core: mark 2 functions as __init to save some memory

Rafael J. Wysocki (1):
cpuidle: Rearrange s2idle-specific idle state entry code

Srinivas Pandruvada (1):
cpufreq: intel_pstate: Add one more OOB control bit

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

drivers/base/power/trace.c | 4 ++--
drivers/cpufreq/intel_pstate.c | 7 +++++--
drivers/cpuidle/cpuidle.c | 5 +++--
kernel/sched/idle.c | 15 +++++++++++----
4 files changed, 21 insertions(+), 10 deletions(-)