[GIT PULL] Power management updates for v6.1-rc1

From: Rafael J. Wysocki
Date: Mon Oct 03 2022 - 15:56:22 EST


Hi Linus,

Please pull from the tag

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

with top-most commit ac73ce394a129a88cb01ce190844bcd172ce14fb

Merge branches 'pm-cpuidle', 'pm-core', 'pm-sleep' and 'powercap'

on top of commit f76349cf41451c5c42a99f18a9163377e4b364ff

Linux 6.0-rc7

to receive power management updates for 6.1-rc1.

These add support for some new hardware, extend the existing hardware
support, fix some issues and clean up code.

Specifics:

- Add support for Tiger Lake in no-HWP mode to intel_pstate (Doug
Smythies).

- Update the AMD P-state driver (Perry Yuan):
* Fix wrong lowest perf fetch.
* Map desired perf into pstate scope for powersave governor.
* Update pstate frequency transition delay time.
* Fix initial highest_perf value.
* Clean up.

- Move max CPU capacity to sugov_policy in the schedutil cpufreq
governor (Lukasz Luba).

- Add SM6115 to cpufreq-dt blocklist (Adam Skladowski).

- Add support for Tegra239 and minor cleanups (Sumit Gupta, ye xingchen,
and Yang Yingliang).

- Add freq qos for qcom cpufreq driver and minor cleanups (Xuewen Yan,
and Viresh Kumar).

- Minor cleanups around functions called at module_init() (Xiu Jianfeng).

- Use module_init and add module_exit for bmips driver (Zhang Jianhua).

- Add AlderLake-N support to intel_idle (Zhang Rui).

- Replace strlcpy() with unused retval with strscpy() in intel_idle
(Wolfram Sang).

- Remove redundant check from cpuidle_switch_governor() (Yu Liao).

- Replace strlcpy() with unused retval with strscpy() in the powernv
cpuidle driver (Wolfram Sang).

- Drop duplicate word from a comment in the coupled cpuidle driver
(Jason Wang).

- Make rpm_resume() return -EINPROGRESS if RPM_NOWAIT is passed to it
in the flags and the device is about to resume (Rafael Wysocki).

- Add extra debugging statement for multiple active IRQs to system
wakeup handling code (Mario Limonciello).

- Replace strlcpy() with unused retval with strscpy() in the core
system suspend support code (Wolfram Sang).

- Update the intel_rapl power capping driver:
* Use standard Energy Unit for SPR Dram RAPL domain (Zhang Rui).
* Add support for RAPTORLAKE_S (Zhang Rui).
* Fix UBSAN shift-out-of-bounds issue (Chao Qin).

- Handle -EPROBE_DEFER when regulator is not probed on
mtk-ci-devfreq.c (AngeloGioacchino Del Regno).

- Fix message typo and use dev_err_probe() in rockchip-dfi.c
(Christophe JAILLET).

Thanks!


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

Adam Skladowski (1):
cpufreq: Add SM6115 to cpufreq-dt-platdev blocklist

AngeloGioacchino Del Regno (1):
PM / devfreq: mtk-cci: Handle sram regulator probe deferral

Chao Qin (1):
powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue

Christophe JAILLET (1):
PM / devfreq: rockchip-dfi: Fix an error message

Doug Smythies (1):
cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode

Jason Wang (1):
cpuidle: coupled: Drop duplicate word from a comment

Lukasz Luba (1):
cpufreq: schedutil: Move max CPU capacity to sugov_policy

Mario Limonciello (1):
PM: wakeup: Add extra debugging statement for multiple active IRQs

Perry Yuan (6):
cpufreq: amd-pstate: simplify cpudata pointer assignment
cpufreq: amd-pstate: fix white-space
cpufreq: amd_pstate: fix wrong lowest perf fetch
cpufreq: amd_pstate: map desired perf into pstate scope for
powersave governor
cpufreq: amd-pstate: update pstate frequency transition delay time
cpufreq: amd-pstate: Fix initial highest_perf value

Rafael J. Wysocki (1):
PM: runtime: Return -EINPROGRESS from rpm_resume() in the RPM_NOWAIT case

Sumit Gupta (1):
cpufreq: tegra194: Add support for Tegra239

Viresh Kumar (1):
cpufreq: qcom-cpufreq-hw: Fix uninitialized throttled_freq warning

Wolfram Sang (3):
cpuidle: powernv: move from strlcpy() with unused retval to strscpy()
intel_idle: move from strlcpy() with unused retval to strscpy()
PM: suspend: move from strlcpy() with unused retval to strscpy()

Xiu Jianfeng (1):
cpufreq: Add __init annotation to module init funcs

Xuewen Yan (1):
cpufreq: qcom-cpufreq-hw: Add cpufreq qos for LMh

Yang Yingliang (1):
cpufreq: tegra194: change tegra239_cpufreq_soc to static

Yu Liao (1):
cpuidle: Remove redundant check in cpuidle_switch_governor()

Zhang Jianhua (1):
cpufreq: bmips-cpufreq: Use module_init and add module_exit

Zhang Rui (3):
powercap: intel_rapl: Add support for RAPTORLAKE_S
intel_idle: Add AlderLake-N support
powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain

ye xingchen (1):
cpufreq: tegra194: Remove the unneeded result variable

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

drivers/base/power/runtime.c | 7 +++--
drivers/base/power/wakeup.c | 2 ++
drivers/cpufreq/amd-pstate.c | 39 ++++++++++++++------------
drivers/cpufreq/bmips-cpufreq.c | 10 +++++--
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
drivers/cpufreq/highbank-cpufreq.c | 2 +-
drivers/cpufreq/intel_pstate.c | 1 +
drivers/cpufreq/qcom-cpufreq-hw.c | 24 ++++++++++++----
drivers/cpufreq/sti-cpufreq.c | 2 +-
drivers/cpufreq/tegra194-cpufreq.c | 35 +++++++++++-------------
drivers/cpufreq/ti-cpufreq.c | 2 +-
drivers/cpuidle/coupled.c | 2 +-
drivers/cpuidle/cpuidle-powernv.c | 4 +--
drivers/cpuidle/governor.c | 11 ++++----
drivers/devfreq/event/rockchip-dfi.c | 7 ++---
drivers/devfreq/mtk-cci-devfreq.c | 8 ++++--
drivers/idle/intel_idle.c | 53 +++++++++++++++++++++++++++++++++++-
drivers/powercap/intel_rapl_common.c | 5 +++-
include/linux/suspend.h | 2 +-
kernel/sched/cpufreq_schedutil.c | 30 ++++++++++----------
20 files changed, 165 insertions(+), 82 deletions(-)