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

From: Rafael J. Wysocki
Date: Fri Oct 23 2020 - 13:29:59 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 41c169d9ae2c890552044e129d101995b62c8a02

Merge branch 'pm-avs'

on top of commit defb53a7c790f9e37a765de8a5d830ed15e2055b

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

to receive more power management updates for 5.10-rc1.

First of all, the adaptive voltage scaling (AVS) drivers go to new
platform-specific locations as planned (this part was reported to
have merge conflicts against the new arm-soc updates in linux-next).

In addition to that, there are some fixes (intel_idle, intel_pstate,
RAPL, acpi_cpufreq), the addition of on/off notifiers and idle state
accounting support to the generic power domains (genpd) code and some
janitorial changes all over.

Specifics:

- Move the AVS drivers to new platform-specific locations and get
rid of the drivers/power/avs directory (Ulf Hansson).

- Add on/off notifiers and idle state accounting support to the
generic power domains (genpd) framework (Ulf Hansson, Lina Iyer).

- Ulf will maintain the PM domain part of cpuidle-psci (Ulf Hansson).

- Make intel_idle disregard ACPI _CST if it cannot use the data
returned by that method (Mel Gorman).

- Modify intel_pstate to avoid leaving useless sysfs directory
structure behind if it cannot be registered (Chen Yu).

- Fix domain detection in the RAPL power capping driver and prevent
it from failing to enumerate the Psys RAPL domain (Zhang Rui).

- Allow acpi-cpufreq to use ACPI _PSD information with Family 19 and
later AMD chips (Wei Huang).

- Update the driver assumptions comment in intel_idle and fix a
kerneldoc comment in the runtime PM framework (Alexander Monakov,
Bean Huo).

- Avoid unnecessary resets of the cached frequency in the schedutil
cpufreq governor to reduce overhead (Wei Wang).

- Clean up the cpufreq core a bit (Viresh Kumar).

- Make assorted minor janitorial changes (Daniel Lezcano, Geert
Uytterhoeven, Hubert Jasudowicz, Tom Rix).

- Clean up and optimize the cpupower utility somewhat (Colin Ian
King, Martin Kaistra).

Thanks!


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

Alexander Monakov (1):
intel_idle: mention assumption that WBINVD is not needed

Bean Huo (1):
PM: runtime: Fix typo in pm_runtime_set_active() helper comment

Chen Yu (1):
cpufreq: intel_pstate: Delete intel_pstate sysfs if failed to
register the driver

Colin Ian King (1):
cpupowerutils: fix spelling mistake "dependant" -> "dependent"

Daniel Lezcano (1):
cpuidle: Remove pointless stub

Geert Uytterhoeven (1):
PM: domains: Add curly braces to delimit comment + statement block

Hubert Jasudowicz (1):
powercap: Fix typo in Kconfig "Plance" -> "Plane"

Lina Iyer (1):
PM: domains: enable domain idle state accounting

Martin Kaistra (1):
cpupower: speed up generating git version string

Mel Gorman (1):
intel_idle: Ignore _CST if control cannot be taken from the platform

Tom Rix (1):
PM: sleep: remove unreachable break

Ulf Hansson (7):
MAINTAINERS: Add section for cpuidle-psci PM domain
PM: domains: Add support for PM domain on/off notifiers for genpd
PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers
PM: AVS: smartreflex Move driver to soc specific drivers
PM: domains: Fix build error for genpd notifiers
PM: AVS: qcom-cpr: Move the driver to the qcom specific drivers
PM: AVS: Drop the avs directory and the corresponding Kconfig

Viresh Kumar (1):
cpufreq: Improve code around unlisted freq check

Wei Huang (1):
acpi-cpufreq: Honor _PSD table setting on new AMD CPUs

Wei Wang (1):
cpufreq: schedutil: restore cached freq when next_f is not changed

Zhang Rui (2):
powercap/intel_rapl: Fix domain detection
powercap/intel_rapl: enumerate Psys RAPL domain together with
package RAPL domain

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

MAINTAINERS | 14 +-
arch/arm/plat-omap/Kconfig | 2 +-
drivers/base/power/domain.c | 167 +++++++++++++++++++--
drivers/base/power/main.c | 1 -
drivers/cpufreq/acpi-cpufreq.c | 3 +-
drivers/cpufreq/cpufreq.c | 15 +-
drivers/cpufreq/intel_pstate.c | 22 ++-
drivers/idle/intel_idle.c | 15 +-
drivers/power/Kconfig | 1 -
drivers/power/Makefile | 1 -
drivers/power/avs/Kconfig | 37 -----
drivers/power/avs/Makefile | 4 -
drivers/powercap/Kconfig | 2 +-
drivers/powercap/intel_rapl_common.c | 82 ++--------
drivers/powercap/intel_rapl_msr.c | 5 +-
drivers/soc/qcom/Kconfig | 16 ++
drivers/soc/qcom/Makefile | 1 +
drivers/{power/avs/qcom-cpr.c => soc/qcom/cpr.c} | 0
drivers/soc/rockchip/Kconfig | 8 +
drivers/soc/rockchip/Makefile | 1 +
.../rockchip/io-domain.c} | 0
drivers/soc/ti/Makefile | 1 +
drivers/{power/avs => soc/ti}/smartreflex.c | 0
include/linux/cpuidle.h | 5 -
include/linux/intel_rapl.h | 7 +-
include/linux/pm_domain.h | 24 +++
include/linux/pm_runtime.h | 2 +-
kernel/sched/cpufreq_schedutil.c | 5 +-
tools/power/cpupower/Makefile | 2 +-
tools/power/cpupower/debug/i386/intel_gsic.c | 2 +-
30 files changed, 281 insertions(+), 164 deletions(-)