Thread (2 messages) 2 messages, 2 authors, 2021-09-17

[GIT PULL] Power management fixes for v5.15-rc2

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-09-17 18:21:46
Also in: lkml

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-5.15-rc2

with top-most commit cdef1196608892b9a46caa5f2b64095a7f0be60c

 cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory

on top of commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f

 Linux 5.15-rc1

to receive power management fixes for 5.15-rc2.

These fix two cpufreq issues, one in the intel_pstate driver and one
in the core.

Specifics:

 - Prevent intel_pstate from avoiding to use HWP, even if instructed
   to do so via the kernel command line, when HWP has been enabled
   already by the platform firmware (Doug Smythies).

 - Prevent use-after-free from occurring in the schedutil cpufreq
   governor on exit by fixing a core helper function that attempts
   to access memory associated with a kobject after calling
   kobject_put() on it (James Morse).

Thanks!


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

Doug Smythies (1):
      cpufreq: intel_pstate: Override parameters if HWP forced by BIOS

James Morse (1):
      cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory

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

 drivers/cpufreq/cpufreq_governor_attr_set.c |  2 +-
 drivers/cpufreq/intel_pstate.c              | 22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help