Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC74DD6ACD7 for ; Thu, 18 Dec 2025 09:38:04 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1189375.1510144 (Exim 4.92) (envelope-from ) id 1vWASG-0004I2-2L; Thu, 18 Dec 2025 09:37:52 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1189375.1510144; Thu, 18 Dec 2025 09:37:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vWASF-0004Hv-Vn; Thu, 18 Dec 2025 09:37:51 +0000 Received: by outflank-mailman (input) for mailman id 1189375; Thu, 18 Dec 2025 09:37:50 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vWASE-0004Hm-KL for xen-devel@lists.xenproject.org; Thu, 18 Dec 2025 09:37:50 +0000 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [2a00:1450:4864:20::52b]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 36ccd229-dbf5-11f0-9cce-f158ae23cfc8; Thu, 18 Dec 2025 10:37:48 +0100 (CET) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-64175dfc338so740135a12.0 for ; Thu, 18 Dec 2025 01:37:48 -0800 (PST) Received: from [192.168.1.6] (user-109-243-71-38.play-internet.pl. [109.243.71.38]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-64b588b0b3asm1997714a12.35.2025.12.18.01.37.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Dec 2025 01:37:47 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 36ccd229-dbf5-11f0-9cce-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766050667; x=1766655467; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=S2vf34F7y//sajh7ViQUwq0NB6wa9GyQUR15mIECzrk=; b=NP8bn5//hUBSGsNfIvlEBq1thJYd8X/RQ0gc1N2vNISxWmIxBCOPYxjN/2ApGgF0Lm tiEhI0mPVlpbyZAMY0CXG1Dx5qVPzALygVIZ4FWc0LsDaDx/hyLa6yYOdJGtKh5UUZkJ S+3VpFb/d0HBV0D10bKqhDnW+V3bYEJE6H98G/26/+iFK9qAV5L44BYPzmXriRXvT4VI PggSAjafkxHxZqYg8GTVZy/89MB+gTEl0vVzB8xdEc5twxOR2OYApPdDe9sjeA2KZBux Z31g7Q4oCUYY77pA+zp6IyaCe2AL7/STZA66dYPjwb1gb0t6z710r5T1KkEaA3owNTK9 Ef7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766050667; x=1766655467; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S2vf34F7y//sajh7ViQUwq0NB6wa9GyQUR15mIECzrk=; b=D7rB6H4rt59m/fQ/uEDNW1zV8d3y1yRVRRPHSb7UXvykZMtbMKArbGkkQNv1N4BoEZ TyYmNtLOLZLGa92l/1JBGtOJ3ouxq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FLSxwkCMUOe5d1fFALOA== X-Received: by 2002:a05:6402:4407:b0:64b:4333:1ece with SMTP id 4fb4d7f45d1cf-64b433321ccmr4581574a12.34.1766050667338; Thu, 18 Dec 2025 01:37:47 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2025 10:37:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] Support for Intel temperature sensors (DTS) To: Teddy Astie , xen-devel@lists.xenproject.org Cc: Jan Beulich , Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Anthony PERARD References: Content-Language: en-US From: Oleksii Kurochko In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/9/25 6:19 PM, Teddy Astie wrote: > The idea here is to expose the DTS sensors through XENPF_resource_op > and expose it for the user through xenpm. If this is something exposed to users, I think we should update the CHANGELOG. Thanks. ~ Oleksii > > 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(-) >