Skip to content

frequency list query from guest

David Hunt dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 3 repliesApplied

Changes in v2 from the cover letter

* replaced strcpy() with strlcpy()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4power: extend guest channel for query freqlib/librte_power/channel_commands.h lib/librte_power/guest_channel.c lib/librte_power/guest_channel.h+54 -161 reply
2/4power: process cpu freq queryexamples/vm_power_manager/channel_monitor.c+59 -80 replies
3/4power: add mechanism to disable queriesexamples/vm_power_manager/channel_manager.c examples/vm_power_manager/channel_manager.h examples/vm_power_manager/channel_monitor.c +1 more+89 -00 replies
4/4power: add cmd to query CPU freqexamples/vm_power_manager/guest_cli/vm_power_cli_guest.c+138 -121 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid HuntLee Daly
1/4T-b A-b
2/4T-b A-b
3/4T-b A-b
4/4T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/4] frequency list query from guest

Extend guest channel and sample apps to query CPU frequencies.

Please note that these changes depends on
(http://patches.dpdk.org/project/dpdk/list/?series=6568)
which should be applied first.

This feature is disabled by default, and must be explicitly enabled so that queries from guests are allowed:

vmpower> set_query ubuntu3 enable

Then the guest can query the set frequency for one or all cores:

vmpower(guest)> query_cpu_freq all Frequency of [0] vcore is 2300000. Frequency of [1] vcore is 2300000. Frequency of [2] vcore is 2300000. Frequency of [3] vcore is 2300000. Frequency of [4] vcore is 2300000. Frequency of [5] vcore is 2300000. Frequency of [6] vcore is 2300000. Frequency of [7] vcore is 2300000.

---

v2:
* replaced strcpy() with strlcpy()

Marcin Hajkowski (4):
1/4 power: extend guest channel for query freq 2/4 power: process cpu freq query
3/4 power: add mechanism to disable queries 4/4 power: add cmd to query CPU freq