All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] pmstat interface fixes
@ 2025-05-27 15:26 Ross Lagerwall
  2025-05-27 15:26 ` [PATCH v3 1/5] x86/pmstat: Check size of PMSTAT_get_pxstat buffers Ross Lagerwall
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Ross Lagerwall @ 2025-05-27 15:26 UTC (permalink / raw)
  To: xen-devel
  Cc: Ross Lagerwall, Jan Beulich, Andrew Cooper, Anthony PERARD,
	Michal Orzel, Julien Grall, Roger Pau Monné,
	Stefano Stabellini, Juergen Gross

Clarify and fix usage of the pmstat hypervisor and tools interfaces
regarding sizes of buffers passed in.

Ross Lagerwall (5):
  x86/pmstat: Check size of PMSTAT_get_pxstat buffers
  public/sysctl: Clarify usage of pm_{px,cx}_stat
  cpufreq: Avoid potential buffer overrun and leak
  libxc/PM: Ensure pxstat buffers are correctly sized
  libxc/PM: Retry get_pxstat if data is incomplete

 tools/libs/ctrl/xc_pm.c       | 21 +++++++-------
 tools/misc/xenpm.c            | 48 ++++++++++++++++++++-----------
 xen/drivers/acpi/pmstat.c     |  7 +++--
 xen/drivers/cpufreq/cpufreq.c |  3 +-
 xen/include/public/sysctl.h   | 54 +++++++++++++++++++++++++++--------
 5 files changed, 90 insertions(+), 43 deletions(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-06-06  8:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 15:26 [PATCH v3 0/5] pmstat interface fixes Ross Lagerwall
2025-05-27 15:26 ` [PATCH v3 1/5] x86/pmstat: Check size of PMSTAT_get_pxstat buffers Ross Lagerwall
2025-06-05 10:10   ` Jan Beulich
2025-06-06  8:42     ` Ross Lagerwall
2025-05-27 15:26 ` [PATCH v3 2/5] public/sysctl: Clarify usage of pm_{px,cx}_stat Ross Lagerwall
2025-06-05 10:12   ` Jan Beulich
2025-05-27 15:26 ` [PATCH v3 3/5] cpufreq: Avoid potential buffer overrun and leak Ross Lagerwall
2025-06-05 10:13   ` Jan Beulich
2025-05-27 15:26 ` [PATCH v3 4/5] libxc/PM: Ensure pxstat buffers are correctly sized Ross Lagerwall
2025-06-04 15:30   ` Anthony PERARD
2025-05-27 15:26 ` [PATCH v3 5/5] libxc/PM: Retry get_pxstat if data is incomplete Ross Lagerwall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.