[GIT PULL] Power management fix for v6.12 (final)

From: Rafael J. Wysocki
Date: Wed Nov 13 2024 - 15:15:04 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.12-rc8

with top-most commit 1a1030d10a6335bb5e6cdb24fc9388d3d9bcc1ac

cpufreq: intel_pstate: Rearrange locking in hybrid_init_cpu_capacity_scaling()

on top of commit 92447aa5f6e7fbad9427a3fd1bb9e0679c403206

cpufreq: intel_pstate: Update asym capacity for CPUs that were
offline initially

to receive a power management fix for 6.12 (final).

This fixes a locking issue in the asymmetric CPU capacity setup code in
the intel_pstate driver that may lead to a deadlock if CPU online/offline
runs in parallel with the code in question, which is unlikely but not
impossible.

Thanks!


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

Rafael J. Wysocki (1):
cpufreq: intel_pstate: Rearrange locking in
hybrid_init_cpu_capacity_scaling()

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

drivers/cpufreq/intel_pstate.c | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)