Add a property "uncore_max_delta_khz" to cpu_plugin, so that uncore maximum frequency can be set. The property is exported per die, hence add extra logic to map it to per cpu setting and check for wrong config.
For now, for simplicity , uncore max_freq_khz is configured as direct value. Also uncore's that are not defined as package_NN_die_MM are not covered in this PR.
Add a property "uncore_max_delta_khz" to cpu_plugin, so that uncore maximum frequency can be set. The property is exported per die, hence add extra logic to map it to per cpu setting and check for wrong config.
Refer to the following link to get details uncore frequency scaling: https://docs.kernel.org/admin-guide/pm/intel_uncore_frequency_scaling.html
This extends PR #519 to make uncore frequency defined per cpu as proposed in https://github.com/redhat-performance/tuned/pull/519#issuecomment-1602367982
For now, for simplicity , uncore max_freq_khz is configured as direct value. Also uncore's that are not defined as package_NN_die_MM are not covered in this PR.