[GIT PULL] More power management updates for v5.14-rc1

From: Rafael J. Wysocki
Date: Wed Jul 07 2021 - 15:13:52 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 843372db2e3bf9694e98a1ff9d0da6dc3d53aab8

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

on top of commit 3563f55ce65462063543dfa6a8d8c7fbfb9d7772

Merge tag 'pm-5.14-rc1' of

to receive more power management updates for 5.14-rc1.

These include cpufreq core simplifications and fixes, cpufreq
driver updates, cpuidle driver update, a generic power domains
(genpd) locking fix and a debug-related simplification of the PM


- Drop the ->stop_cpu() (not really useful) and ->resolve_freq()
(unused) cpufreq driver callbacks and modify the users of the
former accordingly (Viresh Kumar, Rafael Wysocki).

- Add frequency invariance support to the ACPI CPPC cpufreq driver
again along with the related fixes and cleanups (Viresh Kumar).

- Update the Meditak, qcom and SCMI ARM cpufreq drivers (Fabien
Parent, Seiya Wang, Sibi Sankar, Christophe JAILLET).

- Rename black/white-lists in the DT cpufreq driver (Viresh Kumar).

- Add generic performance domains support to the dvfs DT bindings
(Sudeep Holla).

- Refine locking in the generic power domains (genpd) support code
to avoid lock dependency issues (Stephen Boyd).

- Update the MSM and qcom ARM cpuidle drivers (Bartosz Dudziak).

- Simplify the PM core debug code by using ktime_us_delta() to
compute time interval lengths (Mark-PK Tsai).



Bartosz Dudziak (2):
dt-bindings: arm: msm: Add SAW2 for MSM8226
cpuidle: qcom: Add SPM register data for MSM8226

Christophe JAILLET (1):
cpufreq: scmi: Fix an error message

Fabien Parent (1):
cpufreq: mediatek: add support for mt8365

Mark-PK Tsai (1):
PM: sleep: Use ktime_us_delta() in initcall_debug_report()

Rafael J. Wysocki (1):
cpufreq: intel_pstate: Combine ->stop_cpu() and ->offline()

Seiya Wang (2):
clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC
dt-bindings: cpufreq: update cpu type and clock name for MT8173 SoC

Sibi Sankar (1):
cpufreq: blacklist SC7280 in cpufreq-dt-platdev

Stephen Boyd (1):
PM: domains: Shrink locking area of the gpd_list_lock

Sudeep Holla (1):
dt-bindings: dvfs: Add support for generic performance domains

Viresh Kumar (10):
cpufreq: dt: Rename black/white-lists
cpufreq: CPPC: Migrate to ->exit() callback instead of ->stop_cpu()
cpufreq: powernv: Migrate to ->exit() callback instead of ->stop_cpu()
cpufreq: Remove the ->stop_cpu() driver callback
cpufreq: Reuse cpufreq_driver_resolve_freq() in __cpufreq_driver_target()
cpufreq: Remove ->resolve_freq()
cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init
cpufreq: CPPC: Pass structure instance by reference
arch_topology: Avoid use-after-free for scale_freq_data
cpufreq: CPPC: Add support for frequency invariance


Documentation/cpu-freq/cpu-drivers.rst | 6 -
Documentation/devicetree/bindings/arm/cpus.yaml | 7 +
.../devicetree/bindings/arm/msm/qcom,saw2.txt | 1 +
.../bindings/cpufreq/cpufreq-mediatek.txt | 8 +-
.../bindings/dvfs/performance-domain.yaml | 74 +++++
.../translations/zh_CN/cpu-freq/cpu-drivers.rst | 5 -
drivers/base/arch_topology.c | 27 +-
drivers/base/power/domain.c | 38 ++-
drivers/base/power/main.c | 5 +-
drivers/cpufreq/Kconfig.arm | 10 +
drivers/cpufreq/cppc_cpufreq.c | 324 ++++++++++++++++++---
drivers/cpufreq/cpufreq-dt-platdev.c | 10 +-
drivers/cpufreq/cpufreq.c | 44 ++-
drivers/cpufreq/intel_pstate.c | 11 +-
drivers/cpufreq/mediatek-cpufreq.c | 1 +
drivers/cpufreq/powernv-cpufreq.c | 23 +-
drivers/cpufreq/scmi-cpufreq.c | 2 +-
drivers/cpuidle/cpuidle-qcom-spm.c | 14 +
include/dt-bindings/clock/mt8173-clk.h | 1 -
include/linux/arch_topology.h | 1 +
include/linux/cpufreq.h | 10 -
kernel/sched/core.c | 1 +
22 files changed, 474 insertions(+), 149 deletions(-)