All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Support for Intel temperature sensors (DTS)
@ 2025-12-19 15:42 Teddy Astie
  2025-12-19 15:42 ` [PATCH v4 1/4] x86/cpu-policy: define bits of leaf 6 Teddy Astie
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Teddy Astie @ 2025-12-19 15:42 UTC (permalink / raw)
  To: xen-devel
  Cc: Teddy Astie, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Oleksii Kurochko, Community Manager, Anthony PERARD

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

v4:
 - reuse original cpu-policy patch
 - remove xenpm building on non-x86
 - add changelog notes
 - reviewed xc_resource_op return code handling
 - only print missing MSR_TEMPERATURE_TARGET message once
 - formatting changes

v3:
 - use msr-index.h instead of adding defines to MSRs in xenpm

v2:
 - moved userland part to xenpm
 - use cpu policy infrastructure instead of inline cpuid_*
 
Jan Beulich (1):
  x86/cpu-policy: define bits of leaf 6

Teddy Astie (3):
  xenpm: Don't build outside of x86
  x86/platform: Expose DTS sensors MSR
  xenpm: Add get-intel-temp subcommand

 CHANGELOG.md                         |   6 ++
 tools/misc/Makefile                  |   2 +-
 tools/misc/xenpm.c                   | 113 ++++++++++++++++++++++++++-
 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 ++++++-
 6 files changed, 154 insertions(+), 3 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:[~2026-01-12 11:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 15:42 [PATCH v4 0/4] Support for Intel temperature sensors (DTS) Teddy Astie
2025-12-19 15:42 ` [PATCH v4 1/4] x86/cpu-policy: define bits of leaf 6 Teddy Astie
2025-12-22  8:12   ` Jan Beulich
2025-12-19 15:42 ` [PATCH v4 2/4] xenpm: Don't build outside of x86 Teddy Astie
2025-12-22 10:44   ` Jan Beulich
2026-01-07 15:58   ` Anthony PERARD
2026-01-12 11:54     ` Jan Beulich
2025-12-19 15:42 ` [PATCH v4 3/4] x86/platform: Expose DTS sensors MSR Teddy Astie
2025-12-22 12:40   ` Jan Beulich
2025-12-19 15:42 ` [PATCH v4 4/4] xenpm: Add get-intel-temp subcommand Teddy Astie
2025-12-22 10:48   ` 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.