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

From: Rafael J. Wysocki
Date: Thu Jul 25 2019 - 14:04:30 EST

Hi Linus,

Please pull from the tag

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

with top-most commit fdc75701578269f6931975aebf4069d9d8c77d34

Merge branch 'pm-cpufreq'

on top of commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b

Linus 5.3-rc1

to receive power management fixes for 5.3-rc2.

These fix two issues related to the RAPL MMIO interface support
added recently and one cpufreq driver issue.


- Initialize the power capping subsystem and the RAPL driver earlier
in case the int340X thermal driver is built-in and attempts to
register an MMIO interface for RAPL which must not happen before
the requisite infrastructure is ready (Zhang Rui).

- Fix the int340X thermal driver's RAPL MMIO interface registration
error path (Rafael Wysocki).

- Fix possible use-after-free in the pasemi cpufreq driver (Wen Yang).



Rafael J. Wysocki (1):
int340X/processor_thermal_device: Fix proc_thermal_rapl_remove()

Wen Yang (1):
cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()

Zhang Rui (1):
powercap: Invoke powercap_init() and rapl_init() earlier


drivers/cpufreq/pasemi-cpufreq.c | 23 +++++++++-------------
drivers/powercap/intel_rapl_common.c | 2 +-
drivers/powercap/powercap_sys.c | 2 +-
.../int340x_thermal/processor_thermal_device.c | 4 ++++
4 files changed, 15 insertions(+), 16 deletions(-)