Skip to content

cpufreq: Fixes and cleanups related to CPUFREQ_ETERNAL

Rafael J. Wysocki linux-acpi linux-pm lkml rust-for-linux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 5 repliesIn review
  2. v14 patches 9 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpufreq: Make drivers using CPUFREQ_ETERNAL specify transition latencydrivers/cpufreq/cpufreq-dt.c drivers/cpufreq/imx6q-cpufreq.c drivers/cpufreq/mediatek-cpufreq-hw.c +6 more+14 -104 replies
2/4cpufreq: CPPC: Avoid using CPUFREQ_ETERNAL as transition delaydrivers/cpufreq/cppc_cpufreq.c+12 -21 reply
3/4ACPI: CPPC: Do not use CPUFREQ_ETERNAL as an error valuedrivers/acpi/cppc_acpi.c drivers/cpufreq/amd-pstate.c drivers/cpufreq/cppc_cpufreq.c +1 more+16 -180 replies
4/4cpufreq: Drop unused symbol CPUFREQ_ETERNALDocumentation/admin-guide/pm/cpufreq.rst Documentation/cpu-freq/cpu-drivers.rst Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst +2 more+3 -150 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMario Limonciello (AMD)Jie ZhanShawn GuoQais Yousef
1/4R-b R-b T-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-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 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] cpufreq: Fixes and cleanups related to CPUFREQ_ETERNAL

Hi All,

This is an update of

https://lore.kernel.org/linux-pm/[email protected]/

The update is due because of some changes in the first patch (involving Rust) and in the second patch (function rename). It is v3 because a v2 of the third patch was sent after the v1.

The original cover letter quoted below still applies:

The first patch in this series is meant to address the failure discussed in

https://lore.kernel.org/linux-pm/[email protected]/

but in a different way than proposed by Shawn.

The second one is a CPPC cpufreq driver fix preventing it from using an overly large transition delay in the cases when that delay cannot be obtained from the platform firmware.

Patch [3/4] makes CPPC use a specific symbol instead of CPUFREQ_ETERNAL for signaling error conditions while attempting to retrieve a transition latency value from the platform firmware.

The last patch removes CPUFREQ_ETERNAL (which has no users any more) from cpufreq, including all references to it in cpufreq documentation.

Thanks!