linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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/2] perf/x86/intel/cstate: Remove PC3 support from LunarLake
Date: Wed, 25 Jun 2025 14:48:04 -0400	[thread overview]
Message-ID: <9a391626-df9b-46bb-a160-2c39e3fb3c4f@linux.intel.com> (raw)
In-Reply-To: <20250625010822.250826-1-rui.zhang@intel.com>



On 2025-06-24 9:08 p.m., Zhang Rui wrote:
> LunarLake doesn't support Package C3. Remove the PC3 residency counter
> support from LunarLake.
> 
> Fixes: 26579860fbd5 ("perf/x86/intel/cstate: Add Lunarlake support")
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>

For the series,

Reviewed-by: Kan Liang <kan.liang@linux.intel.com>

Thanks,
Kan

> ---
>  arch/x86/events/intel/cstate.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
> index ec753e39b007..6f5286a99e0c 100644
> --- a/arch/x86/events/intel/cstate.c
> +++ b/arch/x86/events/intel/cstate.c
> @@ -70,7 +70,7 @@
>   *			       perf code: 0x01
>   *			       Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
>   *						GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,
> - *						ADL,RPL,MTL,ARL,LNL
> + *						ADL,RPL,MTL,ARL
>   *			       Scope: Package (physical package)
>   *	MSR_PKG_C6_RESIDENCY:  Package C6 Residency Counter.
>   *			       perf code: 0x02
> @@ -522,7 +522,6 @@ static const struct cstate_model lnl_cstates __initconst = {
>  				  BIT(PERF_CSTATE_CORE_C7_RES),
>  
>  	.pkg_events		= BIT(PERF_CSTATE_PKG_C2_RES) |
> -				  BIT(PERF_CSTATE_PKG_C3_RES) |
>  				  BIT(PERF_CSTATE_PKG_C6_RES) |
>  				  BIT(PERF_CSTATE_PKG_C10_RES),
>  };


      parent reply	other threads:[~2025-06-25 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-25  1:08 [PATCH 1/2] perf/x86/intel/cstate: Remove PC3 support from LunarLake Zhang Rui
2025-06-25  1:08 ` [PATCH 2/2] perf/x86/intel/cstate: Add Pantherlake support Zhang Rui
2025-06-25 18:48 ` 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=9a391626-df9b-46bb-a160-2c39e3fb3c4f@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).