[GIT PULL] Power management fixes for v4.8-rc2

From: Rafael J. Wysocki
Date: Fri Aug 12 2016 - 17:25:15 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 0aeeb3e73f5fd7faef3dce8cb590effd6ee51571

Merge branches 'pm-sleep' and 'pm-cpufreq'

on top of commit 29b4817d4018df78086157ea3a55c1d9424a7cfc

Linux 4.8-rc1

to receive power management fixes for v4.8-rc2.

Two hibernation fixes allowing it to work with the recently added
randomization of the kernel identity mapping base on x86-64 and
one cpufreq driver regression fix.

Specifics:

- Fix the x86 identity mapping creation helpers to avoid the
assumption that the base address of the mapping will always be
aligned at the PGD level, as it may be aligned at the PUD level
if address space randomization is enabled (Rafael Wysocki).

- Fix the hibernation core to avoid executing tracing functions
before restoring the processor state completely during resume
(Thomas Garnier).

- Fix a recently introduced regression in the powernv cpufreq
driver that causes it to crash due to an out-of-bounds array
access (Akshay Adiga).

Thanks!

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

Akshay Adiga (1):
cpufreq: powernv: Fix crash in gpstate_timer_handler()

Rafael J. Wysocki (1):
x86/power/64: Always create temporary identity mapping correctly

Thomas Garnier (1):
PM / hibernate: Restore processor state before using per-CPU variables

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

arch/x86/include/asm/init.h | 4 ++--
arch/x86/mm/ident_map.c | 19 +++++++++++--------
arch/x86/power/hibernate_64.c | 2 +-
drivers/cpufreq/powernv-cpufreq.c | 21 ++++++++++++++++++++-
kernel/power/hibernate.c | 4 ++--
5 files changed, 36 insertions(+), 14 deletions(-)