lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1b4e61c5-bf4b-4044-0dbf-bb16a331d8bc@amd.com>
Date: Thu, 11 Dec 2025 11:16:19 -0800
From: Lizhi Hou <lizhi.hou@....com>
To: Mario Limonciello <mario.limonciello@....com>,
	<ilpo.jarvinen@...ux.intel.com>, <hansg@...nel.org>, <ogabbay@...nel.org>,
	<quic_jhugo@...cinc.com>, <maciej.falkowski@...ux.intel.com>
CC: <linux-kernel@...r.kernel.org>, <max.zhen@....com>,
	<sonal.santan@....com>, <platform-driver-x86@...r.kernel.org>,
	<dri-devel@...ts.freedesktop.org>, <Shyam-sundar.S-k@....com>,
	<VinitKumar.Shukla@....com>
Subject: Re: [PATCH V1 0/2] Get real time power input via AMD PMF


On 12/11/25 10:22, Mario Limonciello wrote:
> On 12/11/25 11:58 AM, Lizhi Hou wrote:
>> Adding new NPU metrics API to AMD PMF driver is pending because of
>> lacking real case.
>> https://lore.kernel.org/all/d344b850-f68d-f9a5-f0dc-55af4b48b714@linux.intel.com/
>>
>> Create xdna driver patch to fetch real time power input via PMF API.
>> Here is an example output with xrt-smi(1) tool.
>>
>> # xrt-smi examine -r all | grep Power
>>    Power Mode             : Default
>> Estimated Power          : 0.563 Watts
>>
>> Lizhi Hou (1):
>>    accel/amdxdna: Add IOCTL to retrieve realtime NPU power estimate
>>
>> Shyam Sundar S K (1):
>>    platform/x86/amd/pmf: Introduce new interface to export NPU metrics
>>
>>   drivers/accel/amdxdna/aie2_pci.c        | 29 ++++++++++
>>   drivers/accel/amdxdna/aie2_pci.h        | 18 ++++++
>>   drivers/accel/amdxdna/amdxdna_pci_drv.c |  3 +-
>>   drivers/platform/x86/amd/pmf/core.c     | 75 +++++++++++++++++++++++++
>>   drivers/platform/x86/amd/pmf/pmf.h      |  2 +
>>   include/linux/amd-pmf-io.h              | 21 +++++++
>>   6 files changed, 147 insertions(+), 1 deletion(-)
>>
>
> Do you have a preference on how this gets merged ? Should it go 
> through drm-next or platform-x86-next?
>
> I suppose whoever is going to have more development layering on top 
> the next cycle it would be preferable to put in that tree.

I do not have preference. :) And this depends on Shyam's previous patch 
which is not in drm-next yet?

Thanks,

Lizhi


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ