All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Teddy Astie" <teddy.astie@vates.tech>
To: xen-devel@lists.xenproject.org
Cc: "Teddy Astie" <teddy.astie@vates.tech>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Anthony PERARD" <anthony.perard@vates.tech>
Subject: [PATCH v3 0/3] Support for Intel temperature sensors (DTS)
Date: Tue, 09 Dec 2025 17:19:06 +0000	[thread overview]
Message-ID: <cover.1765300623.git.teddy.astie@vates.tech> (raw)

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

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

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                   | 91 +++++++++++++++++++++++++++-
 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, 125 insertions(+), 2 deletions(-)

-- 
2.51.2



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech



             reply	other threads:[~2025-12-09 17:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-09 17:19 Teddy Astie [this message]
2025-12-09 17:19 ` [PATCH v3 1/3] x86/cpu-policy: Infrastructure for CPUID leaf 0x6 Teddy Astie
2025-12-10  8:27   ` Jan Beulich
2025-12-09 17:19 ` [PATCH v3 2/3] x86/platform: Expose DTS sensors MSR Teddy Astie
2025-12-10  8:32   ` Jan Beulich
2025-12-10  9:24     ` Teddy Astie
2025-12-09 17:19 ` [PATCH v3 3/3] xenpm: Add get-intel-temp subcommand Teddy Astie
2025-12-10  8:50   ` Jan Beulich
2025-12-10 10:26     ` Teddy Astie
2025-12-10 10:51       ` Jan Beulich
2025-12-10 10:37     ` Teddy Astie
2025-12-10 11:01       ` Jan Beulich
2025-12-18  9:37 ` [PATCH v3 0/3] Support for Intel temperature sensors (DTS) Oleksii Kurochko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1765300623.git.teddy.astie@vates.tech \
    --to=teddy.astie@vates.tech \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.