From: "Zhang, Rui" <rui.zhang@intel.com>
To: "peterz@infradead.org" <peterz@infradead.org>,
"Aaron, Ma" <aaron.ma@canonical.com>
Cc: "linux-perf-users@vger.kernel.org"
<linux-perf-users@vger.kernel.org>,
"alexander.shishkin@linux.intel.com"
<alexander.shishkin@linux.intel.com>,
"x86@kernel.org" <x86@kernel.org>,
"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"bp@alien8.de" <bp@alien8.de>,
"kan.liang@linux.intel.com" <kan.liang@linux.intel.com>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"acme@kernel.org" <acme@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"namhyung@kernel.org" <namhyung@kernel.org>,
"mingo@redhat.com" <mingo@redhat.com>
Subject: Re: [PATCH] perf/x86/rapl: Add support for Intel Arrow Lake U
Date: Wed, 25 Dec 2024 01:07:55 +0000 [thread overview]
Message-ID: <32cd09bb8f15bf7a5d4d6b0db2a8200a63ab90a0.camel@intel.com> (raw)
In-Reply-To: <20241224145516.349028-1-aaron.ma@canonical.com>
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@canonical.com>
Acked-by: Zhang Rui <rui.zhang@intel.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),
> {},
> };
next prev parent reply other threads:[~2024-12-25 1:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 14:55 Aaron Ma
2024-12-25 1:07 ` Zhang, Rui [this message]
2025-02-25 22:01 ` [tip: perf/urgent] " tip-bot2 for Aaron Ma
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=32cd09bb8f15bf7a5d4d6b0db2a8200a63ab90a0.camel@intel.com \
--to=rui.zhang@intel.com \
--cc=aaron.ma@canonical.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®