mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86,perf: Add IvyBridge EP support
@ 2012-12-18 17:20 Youquan Song
  2013-01-05 14:12 ` Youquan Song
  2013-01-24 20:30 ` [tip:perf/urgent] x86/perf: " tip-bot for Youquan Song
  0 siblings, 2 replies; 3+ messages in thread
From: Youquan Song @ 2012-12-18 17:20 UTC (permalink / raw)
  To: linux-kernel, Peter Zijlstra, mingo, Stephane Eranian,
	H. Peter Anvin, Andi Kleen, tglx
  Cc: Youquan Song, Youquan Song

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86,perf: Add IvyBridge EP support
  2012-12-18 17:20 [PATCH] x86,perf: Add IvyBridge EP support Youquan Song
@ 2013-01-05 14:12 ` Youquan Song
  2013-01-24 20:30 ` [tip:perf/urgent] x86/perf: " tip-bot for Youquan Song
  1 sibling, 0 replies; 3+ messages in thread
From: Youquan Song @ 2013-01-05 14:12 UTC (permalink / raw)
  To: Youquan Song
  Cc: linux-kernel, Peter Zijlstra, mingo, Stephane Eranian,
	H. Peter Anvin, Andi Kleen, tglx, Youquan Song


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
> 
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/urgent] x86/perf: Add IvyBridge EP support
  2012-12-18 17:20 [PATCH] x86,perf: Add IvyBridge EP support Youquan Song
  2013-01-05 14:12 ` Youquan Song
@ 2013-01-24 20:30 ` tip-bot for Youquan Song
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Youquan Song @ 2013-01-24 20:30 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, eranian, hpa, mingo, peterz, youquan.song, ak,
	tglx, youquan.song

Commit-ID:  923d8697e24847000490c187de1aeaca622611a3
Gitweb:     http://git.kernel.org/tip/923d8697e24847000490c187de1aeaca622611a3
Author:     Youquan Song <youquan.song@intel.com>
AuthorDate: Tue, 18 Dec 2012 12:20:23 -0500
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 24 Jan 2013 16:14:04 +0100

x86/perf: Add IvyBridge EP support

Running the perf utility on a Ivybridge EP server we encounter
"not supported" events:

   <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 adds support for this processor.

Signed-off-by: Youquan Song <youquan.song@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Youquan Song <youquan.song@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1355851223-27705-1-git-send-email-youquan.song@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/cpu/perf_event_intel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index cb313a5..4914e94 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -2087,6 +2087,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,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-24 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-18 17:20 [PATCH] x86,perf: Add IvyBridge EP support Youquan Song
2013-01-05 14:12 ` Youquan Song
2013-01-24 20:30 ` [tip:perf/urgent] x86/perf: " tip-bot for Youquan Song

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®