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: <32cd09bb8f15bf7a5d4d6b0db2a8200a63ab90a0.camel@intel.com>
Date: Wed, 25 Dec 2024 01:07:55 +0000
From: "Zhang, Rui" <rui.zhang@...el.com>
To: "peterz@...radead.org" <peterz@...radead.org>, "Aaron, Ma"
	<aaron.ma@...onical.com>
CC: "linux-perf-users@...r.kernel.org" <linux-perf-users@...r.kernel.org>,
	"alexander.shishkin@...ux.intel.com" <alexander.shishkin@...ux.intel.com>,
	"x86@...nel.org" <x86@...nel.org>, "dave.hansen@...ux.intel.com"
	<dave.hansen@...ux.intel.com>, "mark.rutland@....com" <mark.rutland@....com>,
	"bp@...en8.de" <bp@...en8.de>, "kan.liang@...ux.intel.com"
	<kan.liang@...ux.intel.com>, "tglx@...utronix.de" <tglx@...utronix.de>,
	"acme@...nel.org" <acme@...nel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "namhyung@...nel.org" <namhyung@...nel.org>,
	"mingo@...hat.com" <mingo@...hat.com>
Subject: Re: [PATCH] perf/x86/rapl: Add support for Intel Arrow Lake U

On Tue, 2024-12-24 at 22:55 +0800, Aaron Ma wrote:
> Add Arrow Lake U model for RAPL.
> 
>   $ ls -1 /sys/devices/power/events/
> energy-cores
> energy-cores.scale
> energy-cores.unit
> energy-gpu
> energy-gpu.scale
> energy-gpu.unit
> energy-pkg
> energy-pkg.scale
> energy-pkg.unit
> energy-psys
> energy-psys.scale
> energy-psys.unit
> 
> The same output as ArrowLake.
>   $ perf stat -a -I 1000 --per-socket -e power/energy-pkg/
> 
> Signed-off-by: Aaron Ma <aaron.ma@...onical.com>

Acked-by: Zhang Rui <rui.zhang@...el.com>

> ---
>  arch/x86/events/rapl.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
> index a8defc813c369..7e493963d0576 100644
> --- a/arch/x86/events/rapl.c
> +++ b/arch/x86/events/rapl.c
> @@ -796,6 +796,7 @@ static const struct x86_cpu_id rapl_model_match[]
> __initconst = {
>  	X86_MATCH_VFM(INTEL_METEORLAKE_L,	&model_skl),
>  	X86_MATCH_VFM(INTEL_ARROWLAKE_H,	&model_skl),
>  	X86_MATCH_VFM(INTEL_ARROWLAKE,		&model_skl),
> +	X86_MATCH_VFM(INTEL_ARROWLAKE_U,	&model_skl),
>  	X86_MATCH_VFM(INTEL_LUNARLAKE_M,	&model_skl),
>  	{},
>  };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ