[dpdk-dev] [PATCH v6 1/2] power: add support for cppc cpufreq

David Hunt david.hunt at intel.com
Thu Jul 8 10:27:17 CEST 2021


On 8/7/2021 3:34 AM, Richael Zhuang wrote:
> Currently in DPDK only acpi_cpufreq and pstate_cpufreq drivers are
> supported, which are both not available on arm64 platforms. Add
> support for cppc_cpufreq driver which works on most arm64 platforms.
>
> Signed-off-by: Richael Zhuang <richael.zhuang at arm.com>
> ---
>   app/test/test_power.c          |   3 +-
>   app/test/test_power_cpufreq.c  |   3 +-
>   lib/power/meson.build          |   1 +
>   lib/power/power_cppc_cpufreq.c | 681 +++++++++++++++++++++++++++++++++
>   lib/power/power_cppc_cpufreq.h | 230 +++++++++++
>   lib/power/rte_power.c          |  26 ++
>   lib/power/rte_power.h          |   2 +-
>   7 files changed, 943 insertions(+), 3 deletions(-)
>   create mode 100644 lib/power/power_cppc_cpufreq.c
>   create mode 100644 lib/power/power_cppc_cpufreq.h
>

--snip--

Hi Richael, thanks for the quick re-spin.

Although this shows a build error in patchwork, as we know, that's 
because of the depenedent patch set - 
http://patches.dpdk.org/project/dpdk/list/?series=17453 
<http://patches.dpdk.org/project/dpdk/list/?series=17453>

If I apply that dependency first, it then builds fine, and checkpatch is 
clean, although I can't give it a run, as I currently don't have access 
to a suitable machine. LGTM.

Acked-by: David Hunt <david.hunt at intel.com>




More information about the dev mailing list