Re: [PATCH v5 16/18] tools: drop "has_num" condition check for cppc mode

2025-06-12 Thread Jan Beulich
On 27.05.2025 10:48, Penny Zheng wrote: > In `xenpm get-cpufreq-para `, ->freq_num and ->cpu_num checking are > tied together via variable "has_num", while ->freq_num only has non-zero value > when cpufreq driver in legacy P-states mode. > > So we drop the "has_num" condition check, and mirror the

[PATCH v5 16/18] tools: drop "has_num" condition check for cppc mode

2025-05-27 Thread Penny Zheng
In `xenpm get-cpufreq-para `, ->freq_num and ->cpu_num checking are tied together via variable "has_num", while ->freq_num only has non-zero value when cpufreq driver in legacy P-states mode. So we drop the "has_num" condition check, and mirror the ->gov_num check for both ->freq_num and ->cpu_num