[dpdk-stable] [dpdk-dev] [PATCH v2 1/1] test/power: fix CPU frequency check

David Marchand david.marchand at redhat.com
Tue Jul 20 17:20:18 CEST 2021


On Wed, Jul 14, 2021 at 2:23 PM David Hunt <david.hunt at 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: stable at dpdk.org
> >
> > Signed-off-by: Richael Zhuang <richael.zhuang at arm.com>
> Acked-by: David Hunt <david.hunt at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the stable mailing list