mbox series

[v2,0/2] power: add support for cppc cpufreq driver

Message ID 20210512034946.37550-1-richael.zhuang@arm.com (mailing list archive)
Headers show
Series power: add support for cppc cpufreq driver | expand

Message

Richael Zhuang May 12, 2021, 3:49 a.m. UTC
v2:
rebase on Anatoly's patch: http://dpdk.org/patch/92077;
fix check_cur_freq bug: round cur freq only when using CPPC driver

Richael Zhuang (2):
  power: add support for cppc cpufreq
  test/power: round cpuinfo cur freq only when using CPPC cpufreq

 app/test/test_power.c          |   3 +-
 app/test/test_power_cpufreq.c  |  26 +-
 lib/power/meson.build          |   1 +
 lib/power/power_cppc_cpufreq.c | 632 +++++++++++++++++++++++++++++++++
 lib/power/power_cppc_cpufreq.h | 229 ++++++++++++
 lib/power/rte_power.c          |  26 ++
 lib/power/rte_power.h          |   2 +-
 7 files changed, 907 insertions(+), 12 deletions(-)
 create mode 100644 lib/power/power_cppc_cpufreq.c
 create mode 100644 lib/power/power_cppc_cpufreq.h