Re: [PATCH v2] PM: QoS: Add a sysfs CPU latency request with a boot-time value
From: Lukasz Luba
Date: Mon Oct 12 2026 - 07:04:18 EST
On 10/10/26 14:29, Roman Kagan wrote:
The idle states offered by a platform trade wakeup latency for energy[snip]
savings, and there are situations where the trade is not worth making:
while a latency-sensitive workload is running, or during a live update
via kexec, where everything from the outgoing kernel stopping the
workload to the incoming kernel resuming it is downtime, and deep idle
states may lengthen it.
For your scenario, when doing kexec to the new kernel, the normal
disable procedure for idle states for each CPU doesn't work?
You would like to keep this information also in the booting
system (via bootcmd) so the CPUs are still not allowed to go deeper
idle during boot, is that right?
Isn't it FW responsibility?
BTW, I'm not a fun of one global knob for all CPUs. I would
favor extending the usage of the new sysfs and make it per-CPU.
That would allow more scenarios used by user-space daemons at
runtime and not to create yet another sysfs interface.
Regards,
Lukasz