mbox series

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

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

Message

Jason Andryuk Jan. 25, 2024, 6:14 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, 21 insertions(+), 3 deletions(-)