diff options
| author | Prashant Malani <[email protected]> | 2025-07-22 05:55:40 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-07-22 10:13:12 +0000 |
| commit | 0a1416a49e63c320f6e6c1c8d07e1b58c0d4a3f3 (patch) | |
| tree | a0d49536d90e3751382fe2c3f6f82a2c0d4cd717 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | Merge tag 'cpufreq-arm-updates-6.17' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-0a1416a49e63c320f6e6c1c8d07e1b58c0d4a3f3.tar.gz kernel-0a1416a49e63c320f6e6c1c8d07e1b58c0d4a3f3.zip | |
cpufreq: CPPC: Mark driver with NEED_UPDATE_LIMITS flag
AMU counters on certain CPPC-based platforms tend to yield inaccurate
delivered performance measurements on systems that are idle/mostly idle.
This results in an inaccurate frequency being stored by cpufreq in its
policy structure when the CPU is brought online. [1]
Consequently, if the userspace governor tries to set the frequency to a
new value, there is a possibility that it would be the erroneous value
stored earlier. In such a scenario, cpufreq would assume that the
requested frequency has already been set and return early, resulting in
the correct/new frequency request never making it to the hardware.
Since the operating frequency is liable to this sort of inconsistency,
mark the CPPC driver with CPUFREQ_NEED_UPDATE_LIMITS so that it is always
invoked when a target frequency update is requested.
Link: https://lore.kernel.org/linux-pm/[email protected]/ [1]
Suggested-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Prashant Malani <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
