Merge cpufreq fixes and cleanups, mostly on top of those fixes, for 6.18-rc1: - Make cpufreq drivers setting the default CPU transition latency to CPUFREQ_ETERNAL specify a proper default transition latency value instead which addresses a regression introduced during the 6.6 cycle that broke CPUFREQ_ETERNAL handling (Rafael Wysocki) - Make the cpufreq CPPC driver use a proper transition delay value when CPUFREQ_ETERNAL is returned by cppc_get_transition_latency() to indicate an error condition (Rafael Wysocki) - Make cppc_get_transition_latency() return a negative error code to indicate error conditions instead of using CPUFREQ_ETERNAL for this purpose and drop CPUFREQ_ETERNAL that has no other users (Rafael Wysocki, Gopi Krishna Menon) - Fix device leak in the mediatek cpufreq driver (Johan Hovold) - Set target frequency on all CPUs sharing a policy during frequency updates in the tegra186 cpufreq driver and make it initialize all cores to max frequencies (Aaron Kling) - Rust cpufreq helper cleanup (Thorsten Blum) * pm-cpufreq: docs/zh_CN: Fix malformed table docs/zh_TW: Fix malformed table cpufreq: Drop unused symbol CPUFREQ_ETERNAL ACPI: CPPC: Do not use CPUFREQ_ETERNAL as an error value cpufreq: CPPC: Avoid using CPUFREQ_ETERNAL as transition delay cpufreq: Make drivers using CPUFREQ_ETERNAL specify transition latency cpufreq: tegra186: Initialize all cores to max frequencies cpufreq: tegra186: Set target frequency for all cpus in policy rust: cpufreq: streamline find_supply_names cpufreq: mediatek: fix device leak on probe failure
Showing the changes to include/linux (1 of 19 files). Show all
Unified · Split
| @@ -26,12 +26,10 @@ · 25 unmodified lines | |||
| 26 | *********************************************************************/ | 26 | *********************************************************************/ |
| 27 | /* | 27 | /* |
| 28 | * Frequency values here are CPU kHz | 28 | * Frequency values here are CPU kHz |
| 29 | * | ||
| 30 | * Maximum transition latency is in nanoseconds - if it's unknown, | ||
| 31 | * CPUFREQ_ETERNAL shall be used. | ||
| 32 | */ | 29 | */ |
| 33 | 30 | ||
| 34 | #define CPUFREQ_ETERNAL (-1) | 31 | #define CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS NSEC_PER_MSEC |
| 32 | |||
| 35 | #define CPUFREQ_NAME_LEN 16 | 33 | #define CPUFREQ_NAME_LEN 16 |
| 36 | /* Print length for names. Extra 1 space for accommodating '\n' in prints */ | 34 | /* Print length for names. Extra 1 space for accommodating '\n' in prints */ |
| 37 | #define CPUFREQ_NAME_PLEN (CPUFREQ_NAME_LEN + 1) | 35 | #define CPUFREQ_NAME_PLEN (CPUFREQ_NAME_LEN + 1) |