From: "Liang, Kan" <kan.liang@linux.intel.com>
To: Zhang Rui <rui.zhang@intel.com>, peterz@infradead.org
Cc: mingo@redhat.com, tglx@linutronix.de, bp@alien8.de,
dave.hansen@linux.intel.com, x86@kernel.org,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
ak@linux.intel.com
Subject: Re: [PATCH 1/3] perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake
Date: Fri, 19 Apr 2024 09:57:54 -0400 [thread overview]
Message-ID: <b0a202f1-212e-4846-b472-1f1d1a3314cf@linux.intel.com> (raw)
In-Reply-To: <20240419071019.1103953-1-rui.zhang@intel.com>
On 2024-04-19 3:10 a.m., Zhang Rui wrote:
> The spec changes after the patch submitted and PC7/PC9 are removed from
> Alderlake and later client platforms.
>
> Remove PC7/PC9 support in cstate PMU.
>
> Fixes: d0ca946bcf84 ("perf/x86/cstate: Add Alder Lake CPU support")
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
The series looks good to me.
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Thanks,
Kan
> ---
> arch/x86/events/intel/cstate.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
> index 326c8cd5aa2d..b304430ba64a 100644
> --- a/arch/x86/events/intel/cstate.c
> +++ b/arch/x86/events/intel/cstate.c
> @@ -81,7 +81,7 @@
> * MSR_PKG_C7_RESIDENCY: Package C7 Residency Counter.
> * perf code: 0x03
> * Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,CNL,
> - * KBL,CML,ICL,TGL,RKL,ADL,RPL,MTL
> + * KBL,CML,ICL,TGL,RKL
> * Scope: Package (physical package)
> * MSR_PKG_C8_RESIDENCY: Package C8 Residency Counter.
> * perf code: 0x04
> @@ -90,8 +90,7 @@
> * Scope: Package (physical package)
> * MSR_PKG_C9_RESIDENCY: Package C9 Residency Counter.
> * perf code: 0x05
> - * Available model: HSW ULT,KBL,CNL,CML,ICL,TGL,RKL,
> - * ADL,RPL,MTL
> + * Available model: HSW ULT,KBL,CNL,CML,ICL,TGL,RKL
> * Scope: Package (physical package)
> * MSR_PKG_C10_RESIDENCY: Package C10 Residency Counter.
> * perf code: 0x06
> @@ -642,9 +641,7 @@ static const struct cstate_model adl_cstates __initconst = {
> .pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
> BIT(PERF_CSTATE_PKG_C3_RES) |
> BIT(PERF_CSTATE_PKG_C6_RES) |
> - BIT(PERF_CSTATE_PKG_C7_RES) |
> BIT(PERF_CSTATE_PKG_C8_RES) |
> - BIT(PERF_CSTATE_PKG_C9_RES) |
> BIT(PERF_CSTATE_PKG_C10_RES),
> };
>
prev parent reply other threads:[~2024-04-19 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 7:10 [PATCH 1/3] perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake Zhang Rui
2024-04-19 7:10 ` [PATCH 2/3] perf/x86/intel/cstate: Add Arrowlake support Zhang Rui
2024-04-19 7:10 ` [PATCH 3/3] perf/x86/intel/cstate: Add Lunarlake support Zhang Rui
2024-04-19 13:57 ` Liang, Kan [this message]
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=b0a202f1-212e-4846-b472-1f1d1a3314cf@linux.intel.com \
--to=kan.liang@linux.intel.com \
--cc=ak@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rui.zhang@intel.com \
--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;
as well as URLs for NNTP newsgroup(s).