Skip to content

cpufreq: cpufreq_update_limits() fix and some cleanups

Rafael J. Wysocki linux-pm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10cpufreq: Reference count policy in cpufreq_update_limits()drivers/cpufreq/cpufreq.c+6 -06 replies
2/10cpufreq: Consolidate some code in cpufreq_online()drivers/cpufreq/cpufreq.c+5 -51 reply
3/10cpufreq: Split cpufreq_online()drivers/cpufreq/cpufreq.c+54 -412 replies
4/10cpufreq: Add and use cpufreq policy locking guardsdrivers/cpufreq/cpufreq.c include/linux/cpufreq.h+60 -671 reply
5/10cpufreq: intel_pstate: Rearrange max frequency updates handling codedrivers/cpufreq/intel_pstate.c+17 -351 reply
6/10cpufreq: Use locking guard and __free() in cpufreq_update_policy()drivers/cpufreq/cpufreq.c+5 -51 reply
7/10cpufreq: Drop cpufreq_cpu_acquire() and cpufreq_cpu_release()drivers/cpufreq/cpufreq.c include/linux/cpufreq.h+0 -471 reply
8/10cpufreq: Use __free() for policy reference counting cleanupdrivers/cpufreq/cpufreq.c+25 -321 reply
9/10cpufreq: Introduce cpufreq_policy_refresh()drivers/cpufreq/cpufreq.c+18 -131 reply
10/10cpufreq: Pass policy pointer to ->update_limits()drivers/cpufreq/amd-pstate.c drivers/cpufreq/cpufreq.c drivers/cpufreq/intel_pstate.c +1 more+22 -1810 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarek Marczykowski-GóreckiViresh KumarMario LimoncielloSrinivas PandruvadaSudeep Holla
SeriesR-b A-b T-b
1/10Reporetd-by A-b
2/10A-b
3/10A-b
4/10A-b
5/10
6/10A-b
7/10A-b
8/10A-b
9/10A-b
10/10A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH v1 00/10] cpufreq: cpufreq_update_limits() fix and some cleanups

Hi Everyone,

This series of patches consists of a fix for a possible (and actually happening in some cases) NULL pointer dereference in cpufreq_update_limits() (patch [01/10]) and a bunch of tangentially related fixes inspired by it, mostly about using __free() for cleanup and locking guards.

The first patch is definitely for 6.15, but the rest is rather 6.16 material.

Please refer to the individual patch changelogs for more information.

Thanks!