388c4c03ec
Calling pstate's or acpi's rte_power_freq_up() when on the highest non-turbo frequency results in an error, if turbo is enabled in the BIOS, but disabled via the power library. The error is in the form of a return code and a RTE_LOG() entry on the ERR level. According to the API documentation, the frequency is scaled up "according to the available frequencies". In case turbo is disabled, that frequency is not available. This patch's rte_power_freq_up() behaviour is also consistent with how rte_power_freq_max() is implemented (i.e. the highest non-turbo frequency is set, in case turbo is disabled). Fixes: |
||
---|---|---|
.. | ||
channel_commands.h | ||
guest_channel.c | ||
guest_channel.h | ||
Makefile | ||
meson.build | ||
power_acpi_cpufreq.c | ||
power_acpi_cpufreq.h | ||
power_common.h | ||
power_kvm_vm.c | ||
power_kvm_vm.h | ||
power_pstate_cpufreq.c | ||
power_pstate_cpufreq.h | ||
rte_power_empty_poll.c | ||
rte_power_empty_poll.h | ||
rte_power_version.map | ||
rte_power.c | ||
rte_power.h |