* [PATCH] PERF: Add Xeon E7 support
@ 2011-04-21 23:48 Andi Kleen
2011-04-22 8:18 ` [tip:perf/urgent] perf: Support Xeon E7's via the Westmere PMU driver tip-bot for Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Andi Kleen @ 2011-04-21 23:48 UTC (permalink / raw)
To: a.p.zijlstra; +Cc: mingo, linux-kernel, Andi Kleen
From: Andi Kleen <ak@linux.intel.com>
Enable Westmere support for Xeon E7 (aka Westmere EX)
Signed-off-by: Andi Kleen <ak@linux.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 4b1ef79..21fb254 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -1427,6 +1427,7 @@ static __init int intel_pmu_init(void)
case 37: /* 32 nm nehalem, "Clarkdale" */
case 44: /* 32 nm nehalem, "Gulftown" */
+ case 47: /* 32 nm Xeon E7 */
memcpy(hw_cache_event_ids, westmere_hw_cache_event_ids,
sizeof(hw_cache_event_ids));
memcpy(hw_cache_extra_regs, nehalem_hw_cache_extra_regs,
--
1.7.4.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:perf/urgent] perf: Support Xeon E7's via the Westmere PMU driver
2011-04-21 23:48 [PATCH] PERF: Add Xeon E7 support Andi Kleen
@ 2011-04-22 8:18 ` tip-bot for Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Andi Kleen @ 2011-04-22 8:18 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, ak, tglx, mingo
Commit-ID: b2508e828d71baacd9a743dd48dcbf85d96affdd
Gitweb: http://git.kernel.org/tip/b2508e828d71baacd9a743dd48dcbf85d96affdd
Author: Andi Kleen <ak@linux.intel.com>
AuthorDate: Thu, 21 Apr 2011 16:48:35 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 22 Apr 2011 08:27:29 +0200
perf: Support Xeon E7's via the Westmere PMU driver
There's a new model number public, 47, for Xeon E7 (aka Westmere EX).
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/1303429715-10202-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
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 8fc2b2c..586cced 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -1425,6 +1425,7 @@ static __init int intel_pmu_init(void)
case 37: /* 32 nm nehalem, "Clarkdale" */
case 44: /* 32 nm nehalem, "Gulftown" */
+ case 47: /* 32 nm Xeon E7 */
memcpy(hw_cache_event_ids, westmere_hw_cache_event_ids,
sizeof(hw_cache_event_ids));
memcpy(hw_cache_extra_regs, nehalem_hw_cache_extra_regs,
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-22 8:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 23:48 [PATCH] PERF: Add Xeon E7 support Andi Kleen
2011-04-22 8:18 ` [tip:perf/urgent] perf: Support Xeon E7's via the Westmere PMU driver tip-bot for Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox