mbox series

[v2,0/2] Improve xenpm output under HWP

Message ID 20240124205922.67266-1-jandryuk@gmail.com (mailing list archive)
Headers show
Series Improve xenpm output under HWP | expand

Message

Jason Andryuk Jan. 24, 2024, 8:59 p.m. UTC
Have xen return -EOPNOTSUPP for more pmstat hypercalls instead of
returning misleading data under HWP.  Enhance xenpm to handle
-EOPNOTSUPP and provide more informative messages.

Jason Andryuk (2):
  pmstat: Limit hypercalls under HWP
  xenpm: Print message for disabled commands

 tools/misc/xenpm.c        | 19 +++++++++++++++----
 xen/drivers/acpi/pmstat.c |  5 +++++
 2 files changed, 20 insertions(+), 4 deletions(-)