[GIT PULL] Power management fixes for 7.2-rc6

"Rafael J. Wysocki (Intel)" <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel
Message-ID <CAJZ5v0hnQknRyf1YW9gDiyuh+S-Rpb-_cL-1jayO9R8Uq9G_Zw@mail.gmail.com>
Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-7.2-rc6

with top-most commit d5f8e5f6040d052d44fcbf4f31dd35145c0c8d7d

 cpufreq: powernow-k8: Fix possible memory leak in powernowk8_cpu_init()

on top of commit 1590cf0329716306e948a8fc29f1d3ee87d3989f

 Linux 7.2-rc4

to receive power management fixes for 7.2-rc6.

These fix issues related to cpufreq, in the ACPI CPPC library and the
generic CPPC cpufreq driver, in the powernow-k8 and amd-pstate drivers,
and in the schedutil governor:

 - Allow fast frequency switching in the ACPI CPPC library only when
   every supported control used by the driver callback has an address
   space already accepted for fast access (Christian Loehle)

 - Skip writes to unsupported performance controls in the ACPI CPPC
   library (Christian Loehle)

 - Update cppc_cpufreq_update_perf_limits() to read policy->min and
   policy->max once and, if the lockless snapshot is inconsistent,
   reduce the minimum to the observed maximum, along the lines of
   cpufreq_driver_resolve_freq() (Christian Loehle)

 - Fix a possible memory leak in the powernowk8_cpu_init() error
   paths (Abdun Nihaal)

 - Loosen the requirement on lowest nonlinear frequency != min freq in
   the amd-pstate driver that is too tight for new systems some of
   which actually have the lowest nonlinear frequency identical to the
   minimum frequency (Mario Limonciello)

 - Prevent amd-pstate from loading on unsupported hardware (Rong Zhang)

 - Address an initialization race in the schedutil governor when it
   runs on multi-CPU cpufreq policies, by making it initialize all
   per-CPU structures first and only then publish the per-CPU
   utilization update hooks (Zhongqiu Han)

Thanks!


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

Abdun Nihaal (1):
      cpufreq: powernow-k8: Fix possible memory leak in powernowk8_cpu_init()

Christian Loehle (3):
      ACPI: CPPC: Check all controls for fast switching
      cpufreq: cppc: Sanitize lockless policy limit snapshots
      ACPI: CPPC: Skip writes to unsupported performance controls

Mario Limonciello (1):
      cpufreq/amd-pstate: Loosen requirement on lowest nonlinear
frequency != min freq

Rong Zhang (1):
      cpufreq/amd-pstate: Prevent the driver from loading on
unsupported hardware

Zhongqiu Han (1):
      cpufreq: schedutil: Publish util hooks only after all sg_cpu are
initialized

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

 drivers/acpi/cppc_acpi.c         | 29 +++++++++++++++++++++--------
 drivers/cpufreq/amd-pstate.c     |  8 +++++++-
 drivers/cpufreq/cppc_cpufreq.c   | 33 +++++++++++++++++++++++----------
 drivers/cpufreq/powernow-k8.c    |  1 +
 include/acpi/cppc_acpi.h         |  5 +++--
 kernel/sched/cpufreq_schedutil.c | 11 +++++++++++
 6 files changed, 66 insertions(+), 21 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.