All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH for-4.22 v2 0/3] Support for Intel temperature sensors (DTS)
@ 2025-10-29 15:59 Teddy Astie
  2025-10-29 15:59 ` [RFC PATCH for-4.22 v2 1/3] x86/cpu-policy: Infrastructure for CPUID leaf 0x6 Teddy Astie
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Teddy Astie @ 2025-10-29 15:59 UTC (permalink / raw)
  To: xen-devel
  Cc: Teddy Astie, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Anthony PERARD, Oleksii Kurochko

The idea here is to expose the DTS sensors through XENPF_resource_op
and expose it for the user through xenpm.

v2:
 - moved userland part to xenpm
 - use cpu policy infrastructure instead of inline cpuid

Teddy Astie (3):
  x86/cpu-policy: Infrastructure for CPUID leaf 0x6
  x86/platform: Expose DTS sensors MSR
  xenpm: Add get-intel-temp subcommand

 tools/misc/xenpm.c                   | 93 +++++++++++++++++++++++++++-
 xen/arch/x86/include/asm/msr-index.h |  3 +
 xen/arch/x86/platform_hypercall.c    |  6 ++
 xen/include/xen/lib/x86/cpu-policy.h | 27 +++++++-
 4 files changed, 127 insertions(+), 2 deletions(-)

-- 
2.51.2



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech



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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 15:59 [RFC PATCH for-4.22 v2 0/3] Support for Intel temperature sensors (DTS) Teddy Astie
2025-10-29 15:59 ` [RFC PATCH for-4.22 v2 1/3] x86/cpu-policy: Infrastructure for CPUID leaf 0x6 Teddy Astie
2025-10-30  7:12   ` Jan Beulich
2025-10-30 10:10     ` Teddy Astie
2025-10-29 15:59 ` [RFC PATCH for-4.22 v2 3/3] xenpm: Add get-intel-temp subcommand Teddy Astie
2025-10-30 14:02   ` Jan Beulich
2025-11-03 14:34     ` Teddy Astie
2025-10-29 15:59 ` [RFC PATCH for-4.22 v2 2/3] x86/platform: Expose DTS sensors MSR Teddy Astie
2025-10-30 13:54   ` Jan Beulich
2025-11-03 14:30     ` Teddy Astie
2025-11-06  8:14       ` Jan Beulich

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.