linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux PM <linux-pm@vger.kernel.org>,
	"the arch/x86 maintainers" <x86@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] Power management updates for v5.17-rc1
Date: Mon, 10 Jan 2022 20:16:29 +0100	[thread overview]
Message-ID: <CAJZ5v0jHk1fP=V_iDGKVOeYg4xt-EEdgi5UUtQA4_qrQvUibNA@mail.gmail.com> (raw)

Hi Linus,

Please pull from the tag

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

with top-most commit 78e6e4dfd8f0cbb477a6f9571123edcbd5873c28

 Merge branches 'pm-opp', 'pm-devfreq' and 'powercap'

on top of commit c9e6606c7fe92b50a02ce51dda82586ebdf99b48

 Linux 5.16-rc8

to receive power management updates for 5.17-rc1.

The most signigicant change here is the addition of a new cpufreq
"P-state" driver for AMD processors as a better replacement for
the venerable acpi-cpufreq driver.  There are also other cpufreq
updates (in the core, intel_pstate, ARM drivers), PM core updates
(mostly related to adding new macros for declaring PM operations
which should make the lives of driver developers somewhat easier),
and a bunch of assorted fixes and cleanups.

Specifics:

 - Add new P-state driver for AMD processors (Huang Rui).

 - Fix initialization of min and max frequency QoS requests in the
   cpufreq core (Rafael Wysocki).

 - Fix EPP handling on Alder Lake in intel_pstate (Srinivas Pandruvada).

 - Make intel_pstate update cpuinfo.max_freq when notified of HWP
   capabilities changes and drop a redundant function call from that
   driver (Rafael Wysocki).

 - Improve IRQ support in the Qcom cpufreq driver (Ard Biesheuvel,
   Stephen Boyd, Vladimir Zapolskiy).

 - Fix double devm_remap() in the Mediatek cpufreq driver (Hector Yuan).

 - Introduce thermal pressure helpers for cpufreq CPU cooling (Lukasz
   Luba).

 - Make cpufreq use default_groups in kobj_type (Greg Kroah-Hartman).

 - Make cpuidle use default_groups in kobj_type (Greg Kroah-Hartman).

 - Fix two comments in cpuidle code (Jason Wang, Yang Li).

 - Allow model-specific normal EPB value to be used in the intel_epb
   sysfs attribute handling code (Srinivas Pandruvada).

 - Simplify locking in pm_runtime_put_suppliers() (Rafael Wysocki).

 - Add safety net to supplier device release in the runtime PM core
   code (Rafael Wysocki).

 - Capture device status before disabling runtime PM for it (Rafael
   Wysocki).

 - Add new macros for declaring PM operations to allow drivers to
   avoid guarding them with CONFIG_PM #ifdefs or __maybe_unused and
   update some drivers to use these macros (Paul Cercueil).

 - Allow ACPI hardware signature to be honoured during restore from
   hibernation (David Woodhouse).

 - Update outdated operating performance points (OPP) documentation
   (Tang Yizhou).

 - Reduce log severity for informative message regarding frequency
   transition failures in devfreq (Tzung-Bi Shih).

 - Add DRAM frequency controller devfreq driver for Allwinner sunXi
   SoCs (Samuel Holland).

 - Add missing COMMON_CLK dependency to sun8i devfreq driver (Arnd
   Bergmann).

 - Add support for new layout of Psys PowerLimit Register on SPR to
   the Intel RAPL power capping driver (Zhang Rui).

 - Fix typo in a comment in idle_inject.c (Jason Wang).

 - Remove unused function definition from the DTPM (Dynamit Thermal
   Power Management) power capping framework (Daniel Lezcano).

 - Reduce DTPM trace verbosity (Daniel Lezcano).

Thanks!


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

Ard Biesheuvel (1):
      cpufreq: qcom-cpufreq-hw: Avoid stack buffer for IRQ name

Arnd Bergmann (1):
      PM / devfreq: sun8i: addd COMMON_CLK dependency

Daniel Lezcano (2):
      powercap/drivers/dtpm: Remove unused function definition
      powercap/drivers/dtpm: Reduce trace verbosity

David Woodhouse (1):
      PM: hibernate: Allow ACPI hardware signature to be honoured

Greg Kroah-Hartman (2):
      cpufreq: use default_groups in kobj_type
      cpuidle: use default_groups in kobj_type

Hector.Yuan (1):
      cpufreq: mediatek-hw: Fix double devm_remap in hotplug case

Huang Rui (13):
      x86/cpufeatures: Add AMD Collaborative Processor Performance
Control feature flag
      x86/msr: Add AMD CPPC MSR definitions
      cpufreq: amd-pstate: Introduce a new AMD P-State driver to
support future processors
      cpufreq: amd-pstate: Add fast switch function for AMD P-State
      cpufreq: amd-pstate: Introduce the support for the processors
with shared memory solution
      cpufreq: amd-pstate: Add trace for AMD P-State module
      cpufreq: amd-pstate: Add boost mode support for AMD P-State
      cpufreq: amd-pstate: Add AMD P-State frequencies attributes
      cpufreq: amd-pstate: Add AMD P-State performance attributes
      Documentation: amd-pstate: Add AMD P-State driver introduction
      MAINTAINERS: Add AMD P-State driver maintainer entry
      cpufreq: amd-pstate: Fix Kconfig dependencies for AMD P-State
      x86, sched: Fix undefined reference to
init_freq_invariance_cppc() build error

Jason Wang (2):
      cpuidle: menu: Fix typo in a comment
      powercap: fix typo in a comment in idle_inject.c

Jinzhou Su (1):
      ACPI: CPPC: Add CPPC enable register function

Lukasz Luba (5):
      arch_topology: Introduce thermal pressure update function
      thermal: cpufreq_cooling: Use new thermal pressure update function
      cpufreq: qcom-cpufreq-hw: Update offline CPUs per-cpu thermal pressure
      cpufreq: qcom-cpufreq-hw: Use new thermal pressure update function
      arch_topology: Remove unused topology_set_thermal_pressure() and related

Mario Limonciello (1):
      ACPI: CPPC: Check present CPUs for determining _CPC is valid

Paul Cercueil (5):
      r8169: Avoid misuse of pm_ptr() macro
      PM: core: Redefine pm_ptr() macro
      PM: core: Add new *_PM_OPS macros, deprecate old ones
      mmc: jz4740: Use the new PM macros
      mmc: mxc: Use the new PM macros

Rafael J. Wysocki (6):
      PM: runtime: Capture device status before disabling runtime PM
      PM: runtime: Add safety net to supplier device release
      cpufreq: intel_pstate: Drop redundant intel_pstate_get_hwp_cap() call
      cpufreq: Fix initialization of min and max frequency QoS requests
      cpufreq: intel_pstate: Update cpuinfo.max_freq on HWP_CAP changes
      PM: runtime: Simplify locking in pm_runtime_put_suppliers()

Samuel Holland (1):
      PM / devfreq: Add a driver for the sun8i/sun50i MBUS

Srinivas Pandruvada (2):
      cpufreq: intel_pstate: Update EPP for AlderLake mobile
      x86: intel_epb: Allow model specific normal EPB value

Stephen Boyd (1):
      cpufreq: qcom-hw: Use optional irq API

Steven Noonan (1):
      ACPI: CPPC: Implement support for SystemIO registers

Tang Yizhou (1):
      Documentation: power: Update outdated contents in opp.rst

Tzung-Bi Shih (1):
      PM / devfreq: Reduce log severity for informative message

Vladimir Zapolskiy (2):
      cpufreq: qcom-hw: Fix probable nested interrupt handling
      cpufreq: qcom-hw: Set CPU affinity of dcvsh interrupts

Yang Li (2):
      cpuidle: Fix cpuidle_remove_state_sysfs() kerneldoc comment
      cpufreq: amd-pstate: Fix struct amd_cpudata kernel-doc comment

Zhang Rui (1):
      powercap: intel_rapl: support new layout of Psys PowerLimit
Register on SPR

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

 Documentation/admin-guide/acpi/cppc_sysfs.rst   |   2 +
 Documentation/admin-guide/kernel-parameters.txt |  15 +-
 Documentation/admin-guide/pm/amd-pstate.rst     | 382 ++++++++++++++
 Documentation/admin-guide/pm/working-state.rst  |   1 +
 Documentation/power/opp.rst                     |  14 +-
 Documentation/power/runtime_pm.rst              |  14 +-
 MAINTAINERS                                     |   7 +
 arch/arm/include/asm/topology.h                 |   2 +-
 arch/arm64/include/asm/topology.h               |   2 +-
 arch/x86/include/asm/cpufeatures.h              |   1 +
 arch/x86/include/asm/msr-index.h                |  17 +
 arch/x86/include/asm/topology.h                 |   2 +-
 arch/x86/kernel/acpi/sleep.c                    |   4 +-
 arch/x86/kernel/cpu/intel_epb.c                 |  45 +-
 drivers/acpi/cppc_acpi.c                        |  99 +++-
 drivers/acpi/sleep.c                            |  26 +-
 drivers/base/arch_topology.c                    |  42 +-
 drivers/base/core.c                             |   3 +-
 drivers/base/power/runtime.c                    |  98 ++--
 drivers/cpufreq/Kconfig.x86                     |  17 +
 drivers/cpufreq/Makefile                        |   5 +
 drivers/cpufreq/amd-pstate-trace.c              |   2 +
 drivers/cpufreq/amd-pstate-trace.h              |  77 +++
 drivers/cpufreq/amd-pstate.c                    | 645 ++++++++++++++++++++++++
 drivers/cpufreq/cpufreq.c                       |   9 +-
 drivers/cpufreq/cpufreq_conservative.c          |   5 +-
 drivers/cpufreq/cpufreq_ondemand.c              |   5 +-
 drivers/cpufreq/intel_pstate.c                  | 121 +++--
 drivers/cpufreq/mediatek-cpufreq-hw.c           |  33 +-
 drivers/cpufreq/qcom-cpufreq-hw.c               |  39 +-
 drivers/cpuidle/governors/menu.c                |   2 +-
 drivers/cpuidle/sysfs.c                         |   8 +-
 drivers/devfreq/Kconfig                         |   9 +
 drivers/devfreq/Makefile                        |   1 +
 drivers/devfreq/devfreq.c                       |   4 +-
 drivers/devfreq/sun8i-a33-mbus.c                | 511 +++++++++++++++++++
 drivers/mmc/host/jz4740_mmc.c                   |   8 +-
 drivers/mmc/host/mxcmmc.c                       |   6 +-
 drivers/net/ethernet/realtek/r8169_main.c       |   4 +-
 drivers/powercap/dtpm.c                         |   6 +-
 drivers/powercap/idle_inject.c                  |   2 +-
 drivers/powercap/intel_rapl_common.c            |  61 ++-
 drivers/thermal/cpufreq_cooling.c               |   6 +-
 include/acpi/cppc_acpi.h                        |   5 +
 include/linux/acpi.h                            |   2 +-
 include/linux/arch_topology.h                   |   4 +-
 include/linux/dtpm.h                            |   2 -
 include/linux/intel_rapl.h                      |   6 +
 include/linux/pm.h                              |  82 +--
 include/linux/pm_runtime.h                      |   3 +
 include/linux/sched/topology.h                  |   6 +-
 include/linux/suspend.h                         |   1 +
 init/Kconfig                                    |   2 +-
 kernel/power/power.h                            |   1 +
 kernel/power/swap.c                             |  16 +-
 55 files changed, 2274 insertions(+), 218 deletions(-)

             reply	other threads:[~2022-01-10 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 19:16 Rafael J. Wysocki [this message]
2022-01-11  4:54 ` [GIT PULL] Power management updates for v5.17-rc1 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJZ5v0jHk1fP=V_iDGKVOeYg4xt-EEdgi5UUtQA4_qrQvUibNA@mail.gmail.com' \
    --to=rafael@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).