Files
linux/drivers/acpi
Christian Loehle 47d4e945df ACPI: CPPC: Skip writes to unsupported performance controls
MIN_PERF and MAX_PERF are optional CPPC controls. DESIRED_PERF is also
optional with CPPC2 when autonomous selection is supported.

The cppc-cpufreq target callbacks populate both limits for every request
without checking whether the controls are implemented. cppc_set_perf()
consequently passes NULL register descriptors to cpc_write(). The writes
fail width validation and their return values are ignored, so the failed
access paths are repeated on every target request. An autonomous-only
platform can take the same path for DESIRED_PERF.

Check that each performance control is supported before calling
cpc_write().

Fixes: ea3db45ae4 ("cpufreq: cppc: Update MIN_PERF/MAX_PERF in target callbacks")
Reviewed-by: Sumit Gupta <[email protected]>
Signed-off-by: Christian Loehle <[email protected]>
Reviewed-by: Lifeng Zheng <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
2026-07-27 15:18:50 +02:00
..
…
…
…
2026-04-09 21:54:15 +02:00
2026-07-03 20:28:08 +02:00
2026-05-29 14:44:15 +02:00
…
…
…
…
…
…
…
…
…
…
2026-04-06 16:43:05 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…