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

2021-07-20 Thread David Marchand
On Wed, Jul 14, 2021 at 2:23 PM David Hunt 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

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

2021-07-14 Thread Richael Zhuang
> -Original Message- > From: David Hunt > Sent: Wednesday, July 14, 2021 8:23 PM > To: Richael Zhuang ; dev@dpdk.org > Cc: zhiminx.hu...@intel.com; sta...@dpdk.org > Subject: Re: [PATCH v2 1/1] test/power: fix CPU frequency check > > Hi Richael, > > On 14/7/2021 11:44 AM, Richael Zhuan

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

2021-07-14 Thread David Hunt
Hi Richael, 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 sh

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

2021-07-14 Thread Richael Zhuang
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 her