[GIT PULL] More power management updates for v6.5-rc1

From: Rafael J. Wysocki
Date: Tue Jul 04 2023 - 12:50:14 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 40c565a429d706951f18fe07ccd9f6fded23a4dc

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

on top of commit 40e8e98f512fc76891ae2328a63e2e4ffdbe3010

Merge tag 'pm-6.5-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive more power management updates for 6.5-rc1.

These add support for new hardware (ap807 and AM62A7), fix several issues
in cpufreq drivers and in the operating performance points (OPP) framework,
fix up intel_idle after recent changes and add documentation.

Specifics:

- Add missing __init annotation to one function in the intel_idle
driver (Rafael Wysocki).

- Make intel_pstate use a correct scaling factor when mapping HWP
performance levels to frequency values on hybrid-capable systems
with disabled E-cores (Srinivas Pandruvada).

- Fix Kconfig dependencies of the cpufreq-dt-platform driver (Viresh
Kumar).

- Add support to build cpufreq-dt-platdev as a module (Zhipeng Wang).

- Don't allocate Sparc's cpufreq_driver dynamically (Viresh Kumar).

- Add support for TI's AM62A7 platform (Vibhore Vardhan).

- Add support for Armada's ap807 platform (Russell King (Oracle)).

- Add support for StarFive JH7110 SoC (Mason Huo).

- Fix voltage selection for Mediatek Socs (Daniel Golle).

- Fix error handling in Tegra's cpufreq driver (Christophe JAILLET).

- Document Qualcomm's IPQ8074 in DT bindings (Robert Marko).

- Don't warn for disabling a non-existing frequency for imx6q cpufreq
driver (Christoph Niedermaier).

- Use dev_err_probe() in Qualcomm's cpufreq driver (Andrew Halaney).

- Simplify performance state related logic in the OPP core (Viresh
Kumar).

- Fix use-after-free and improve locking around lazy_opp_tables (Viresh
Kumar, Stephan Gerhold).

- Minor cleanups - using dev_err_probe() and rate-limiting debug
messages (Andrew Halaney, Adrián Larumbe).

Thanks!


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

Adrián Larumbe (1):
OPP: rate-limit debug messages when no change in OPP is required

Andrew Halaney (3):
cpufreq: qcom-cpufreq-hw: Use dev_err_probe() when failing to
get icc paths
OPP: Use dev_err_probe() when failing to get icc_path
OPP: Properly propagate error along when failing to get icc_path

Christoph Niedermaier (1):
cpufreq: imx6q: don't warn for disabling a non-existing frequency

Christophe JAILLET (1):
cpufreq: tegra194: Fix an error handling path in tegra194_cpufreq_probe()

Daniel Golle (1):
cpufreq: mediatek: correct voltages for MT7622 and MT7623

Mason Huo (1):
cpufreq: dt-platdev: Add JH7110 SOC to the allowlist

Rafael J. Wysocki (1):
intel_idle: Add __init annotation to matchup_vm_state_with_baremetal()

Robert Marko (1):
dt-bindings: cpufreq: qcom-cpufreq-nvmem: document IPQ8074

Russell King (Oracle) (1):
cpufreq: armada-8k: add ap807 support

Srinivas Pandruvada (1):
cpufreq: intel_pstate: Fix scaling for hybrid-capable systems
with disabled E-cores

Stephan Gerhold (1):
opp: Fix use-after-free in lazy_opp_tables after probe deferral

Vibhore Vardhan (2):
cpufreq: ti-cpufreq: Add support for AM62A7
cpufreq: dt-platdev: Blacklist ti,am62a7 SoC

Viresh Kumar (7):
cpufreq: sparc: Don't allocate cpufreq_driver dynamically
OPP: Staticize `lazy_opp_tables` in of.c
OPP: Protect `lazy_opp_tables` list with `opp_table_lock`
OPP: don't drop performance constraint on OPP table removal
OPP: pstate is only valid for genpd OPP tables
OPP: Simplify the over-designed pstate <-> level dance
cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF

Zhipeng Wang (1):
cpufreq: dt-platdev: Support building as module

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

.../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 1 +
drivers/cpufreq/Kconfig | 3 +-
drivers/cpufreq/armada-8k-cpufreq.c | 16 +++---
drivers/cpufreq/cpufreq-dt-platdev.c | 5 ++
drivers/cpufreq/imx6q-cpufreq.c | 30 +++++------
drivers/cpufreq/intel_pstate.c | 58 ++++++++++++++++++----
drivers/cpufreq/mediatek-cpufreq.c | 13 +++--
drivers/cpufreq/qcom-cpufreq-hw.c | 2 +-
drivers/cpufreq/sparc-us2e-cpufreq.c | 58 +++++++---------------
drivers/cpufreq/sparc-us3-cpufreq.c | 58 +++++++---------------
drivers/cpufreq/tegra194-cpufreq.c | 6 ++-
drivers/cpufreq/ti-cpufreq.c | 1 +
drivers/idle/intel_idle.c | 2 +-
drivers/opp/core.c | 44 +++++++++-------
drivers/opp/debugfs.c | 1 -
drivers/opp/of.c | 40 ++++++++-------
drivers/opp/opp.h | 6 +--
17 files changed, 180 insertions(+), 164 deletions(-)