Skip to content

Save & restore cpufreq governor tunables for RTA calibration

Darryl Green requested to merge github/fork/bjackman/rta-save-tunables into master

Created by: bjackman

Governor tunables are reset to default when switching governors.

This is particularly relevant when using the Executor, which calls te.calibration() after _setup_cpufreq. If the calibration has not been done yet, that will result in setting the performance governor then restoring the previous governor. However if _setup_cpufreq set up any tunables they are not currently restored. This commit fixes that.


While I'm touching this code, I've also updated it to use the iter_domains method I added to devlib.

Merge request reports