power: fix max frequency after turbo disabling
authorLee Daly <lee.daly@intel.com>
Fri, 12 Apr 2019 15:57:27 +0000 (16:57 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 22:15:09 +0000 (00:15 +0200)
commita0d15e43e42b158e25b9ad13052368ba22ecf113
tree43db180b2006c3cc06fa2fb5a1b549ff7f66582d
parent2653bee888b4e3bdd37cc7f6f1de3405acb8989b
power: fix max frequency after turbo disabling

This patch will ensure the correct max frequency of a core is set in
the lcore_power_info struct when disabling turbo, while using the
intel pstate driver.

Fixes: e6c6dc0f96c8 ("power: add p-state driver compatibility")
Cc: stable@dpdk.org
Signed-off-by: Lee Daly <lee.daly@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
Acked-by: Liang Ma <liang.j.ma@intel.com>
lib/librte_power/power_pstate_cpufreq.c