Re: [PATCH] pmstat: Limit hypercalls under HWP

2024-01-24 Thread Jason Andryuk
On Tue, Jan 23, 2024 at 3:17 AM Jan Beulich wrote: > > On 22.01.2024 20:09, Jason Andryuk wrote: > > When HWP is active, the cpufreq P-state information is not updated. In > > that case, return -ENODEV instead of bogus, incomplete info. The xenpm > > command already supports skipping results

Re: [PATCH] pmstat: Limit hypercalls under HWP

2024-01-23 Thread Jan Beulich
On 22.01.2024 20:09, Jason Andryuk wrote: > When HWP is active, the cpufreq P-state information is not updated. In > that case, return -ENODEV instead of bogus, incomplete info. The xenpm > command already supports skipping results when -ENODEV is returned, so > it is re-used when -EOPNOTSUPP

[PATCH] pmstat: Limit hypercalls under HWP

2024-01-22 Thread Jason Andryuk
When HWP is active, the cpufreq P-state information is not updated. In that case, return -ENODEV instead of bogus, incomplete info. The xenpm command already supports skipping results when -ENODEV is returned, so it is re-used when -EOPNOTSUPP might be more accurate. Similarly,