summaryrefslogtreecommitdiff
path: root/devtools/test-meson-builds.sh
diff options
context:
space:
mode:
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>2019-11-14 15:10:36 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-11-21 00:52:31 +0100
commit388c4c03eca316698d2bb55435ec5c804c67c844 (patch)
tree9852540dc2c29464bff49ad4e7f206c83522fa7c /devtools/test-meson-builds.sh
parent43d0e304980a1527bcac92dc679057b189e2545a (diff)
downloaddpdk-388c4c03eca316698d2bb55435ec5c804c67c844.zip
dpdk-388c4c03eca316698d2bb55435ec5c804c67c844.tar.gz
dpdk-388c4c03eca316698d2bb55435ec5c804c67c844.tar.xz
power: handle frequency increase with turbo disabled
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: 445c6528b55f ("power: common interface for guest and host") Fixes: e6c6dc0f96c8 ("power: add p-state driver compatibility") Cc: stable@dpdk.org Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com> Tested-by: David Hunt <david.hunt@intel.com> Acked-by: David Hunt <david.hunt@intel.com> Reviewed-by: Liang Ma <liang.j.ma@intel.com>
Diffstat (limited to 'devtools/test-meson-builds.sh')
0 files changed, 0 insertions, 0 deletions