Re: [dpdk-dev] [20.11.3] test/power: fix CPU frequency when turbo enabled

2021-08-13 Thread Luca Boccassi
On Fri, 2021-08-13 at 15:18 +0100, David Hunt wrote: > On arm platform, the value in "/sys/.../cpuinfo_cur_freq" may not > be exactly the same as what was set when using CPPC cpufreq driver. > For other cpufreq driver, no need to round it currently, or else > this check will fail with turbo enabled

[dpdk-dev] [20.11.3] test/power: fix CPU frequency when turbo enabled

2021-08-13 Thread David Hunt
On arm platform, the value in "/sys/.../cpuinfo_cur_freq" may not be exactly the same as what was set when using CPPC cpufreq driver. For other cpufreq driver, no need to round it currently, or else this check will fail with turbo enabled. For example, with acpi_cpufreq, cpuinfo_cur_freq can be 240