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

From: Rafael J. Wysocki
Date: Fri Mar 12 2021 - 13:21:39 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 7180323227702b46677e51d0da71f452615efd8c

Merge branch 'pm-opp'

on top of commit a38fd8748464831584a19438cbb3082b5a2dab15

Linux 5.12-rc2

to receive power management fixes for 5.12-rc3.

These fix an operating performance point (OPP) reference
counting issue and three issues in ARM cpufreq drivers.

Specifics:

- Add a flag to mark OPPs that are not referenced by he OPP
core any more to prevent OPPs from being freed prematurely
by mistake (Beata Michalska).

- Add ARM Vexpress platforms to the cpufreq-dt-platdev blacklist
since the actual scaling of them is handled elsewhere (Sudeep
Holla).

- Fix a function return value check and a possible use-after-free
in the qcom-hw cpufreq driver (Shawn Guo, Wei Yongjun).

Thanks!


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

Beata Michalska (1):
opp: Don't drop extra references to OPPs accidentally

Shawn Guo (1):
cpufreq: qcom-hw: fix dereferencing freed memory 'data'

Sudeep Holla (1):
cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev

Wei Yongjun (1):
cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()

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

drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++
drivers/cpufreq/qcom-cpufreq-hw.c | 6 ++---
drivers/opp/core.c | 48 +++++++++++++++++++-----------------
drivers/opp/opp.h | 2 ++
4 files changed, 32 insertions(+), 26 deletions(-)