mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Youquan Song <youquan.song@linux.intel.com>
To: Youquan Song <youquan.song@intel.com>
Cc: linux-kernel@vger.kernel.org,
	Peter Zijlstra <peterz@infradead.org>,
	mingo@kernel.org, Stephane Eranian <eranian@google.com>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	Andi Kleen <andi@firstfloor.org>,
	tglx@linutronix.de, Youquan Song <youquan.song@linux.intel.com>
Subject: Re: [PATCH] x86,perf: Add IvyBridge EP support
Date: Sat, 5 Jan 2013 09:12:55 -0500	[thread overview]
Message-ID: <20130105141255.GA32169@linux-youquan.bj.intel.com> (raw)
In-Reply-To: <1355851223-27705-1-git-send-email-youquan.song@intel.com>


Would you like to take it? It is needed by Linux OSVs.

Thanks
-Youquan

On Tue, Dec 18, 2012 at 12:20:23PM -0500, Youquan Song wrote:
> Run in perf utility at Ivybridge EP server, encouter "not supported" event
> 
>    <not supported> L1-dcache-loads         
>    <not supported> L1-dcache-load-misses   
>    <not supported> L1-dcache-stores        
>    <not supported> L1-dcache-store-misses  
>    <not supported> L1-dcache-prefetches    
>    <not supported> L1-dcache-prefetch-misses
> 
> This patch add the support for this processor.
> 
> Reviewed-by: Andi Kleen <ak@linux.intel.com>
> Signed-off-by: Youquan Song <youquan.song@intel.com>
> ---
>  arch/x86/kernel/cpu/perf_event_intel.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
> index 324bb52..aea3503 100644
> --- a/arch/x86/kernel/cpu/perf_event_intel.c
> +++ b/arch/x86/kernel/cpu/perf_event_intel.c
> @@ -2075,6 +2075,7 @@ __init int intel_pmu_init(void)
>  		pr_cont("SandyBridge events, ");
>  		break;
>  	case 58: /* IvyBridge */
> +	case 62: /* IvyBridge EP */
>  		memcpy(hw_cache_event_ids, snb_hw_cache_event_ids,
>  		       sizeof(hw_cache_event_ids));
>  		memcpy(hw_cache_extra_regs, snb_hw_cache_extra_regs,
> -- 
> 1.6.4.2
> 
 

  reply	other threads:[~2013-01-05  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 17:20 Youquan Song
2013-01-05 14:12 ` Youquan Song [this message]
2013-01-24 20:30 ` [tip:perf/urgent] x86/perf: " tip-bot for Youquan Song

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=20130105141255.GA32169@linux-youquan.bj.intel.com \
    --to=youquan.song@linux.intel.com \
    --cc=andi@firstfloor.org \
    --cc=eranian@google.com \
    --cc=hpa@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=youquan.song@intel.com \
    /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®