On Wed, Jul 14, 2021 at 2:23 PM David Hunt <david.h...@intel.com> wrote:
> On 14/7/2021 11:44 AM, Richael Zhuang wrote:
> > For acpi_cpufreq and cppc_cpufreq, both cpuinfo_cur_freq and
> > scaling_cur_freq exist. For pstate, only scaling_cur_freq exists.
> > And value in scaling_cur_freq and cpuinfo_cur_freq may not be the
> > same. For acpi_cpufreq and cppc_cpufreq, we should check
> > cpuinfo_cur_freq but not scaling_cur_freq. So here change the
> > check sequence to make sure it works for all cpufreq drivers.
> > Besides, add rounding for pstate driver.
> >
> > Fixes: ff6dfb8e492f ("test/power: fix CPU frequency check")
> > Cc: sta...@dpdk.org
> >
> > Signed-off-by: Richael Zhuang <richael.zhu...@arm.com>
> Acked-by: David Hunt <david.h...@intel.com>

Applied, thanks.


-- 
David Marchand

Reply via email to