Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] perf enable Nehalem-EX support

1 view
Skip to first unread message

Vince Weaver

unread,
Apr 6, 2010, 10:30:03 AM4/6/10
to

According to Intel Software Devel Manual Volume 3B, the Nehalem-EX PMU is
just like regular Nehalem (except for the uncore support, which is
completely different).

Signed-off-by: Vince Weaver <vwea...@eecs.utk.edu>

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 84bfde6..9c794ac 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -936,6 +936,7 @@ static __init int intel_pmu_init(void)

case 26: /* 45 nm nehalem, "Bloomfield" */
case 30: /* 45 nm nehalem, "Lynnfield" */
+ case 46: /* 45 nm nehalem-ex, "Beckton" */
memcpy(hw_cache_event_ids, nehalem_hw_cache_event_ids,
sizeof(hw_cache_event_ids));

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

tip-bot for Vince Weaver

unread,
Apr 6, 2010, 12:00:03 PM4/6/10
to
Commit-ID: 134fbadf028a5977a1b06b0253d3ee33e6f0c642
Gitweb: http://git.kernel.org/tip/134fbadf028a5977a1b06b0253d3ee33e6f0c642
Author: Vince Weaver <vwea...@eecs.utk.edu>
AuthorDate: Tue, 6 Apr 2010 10:01:19 -0400
Committer: Ingo Molnar <mi...@elte.hu>
CommitDate: Tue, 6 Apr 2010 17:52:59 +0200

perf, x86: Enable Nehalem-EX support

According to Intel Software Devel Manual Volume 3B, the
Nehalem-EX PMU is just like regular Nehalem (except for the
uncore support, which is completely different).

Signed-off-by: Vince Weaver <vwea...@eecs.utk.edu>
Cc: Peter Zijlstra <a.p.zi...@chello.nl>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Arnaldo Carvalho de Melo <ac...@redhat.com>
Cc: "H. Peter Anvin" <h...@zytor.com>
Cc: Arjan van de Ven <ar...@linux.intel.com>
Cc: Lin Ming <ming....@intel.com>
LKML-Reference: <alpine.DEB.2.00.1...@cl320.eecs.utk.edu>
Signed-off-by: Ingo Molnar <mi...@elte.hu>
---
arch/x86/kernel/cpu/perf_event_intel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

0 new messages