[tip:perf/urgent] perf, x86: Add model 45 SandyBridge support

From: tip-bot for Youquan Song
Date: Tue Aug 09 2011 - 10:30:52 EST


Commit-ID: a34668f6beb4ab01e07683276d6a24bab6c175e0
Gitweb: http://git.kernel.org/tip/a34668f6beb4ab01e07683276d6a24bab6c175e0
Author: Youquan Song <youquan.song@xxxxxxxxx>
AuthorDate: Tue, 2 Aug 2011 14:01:35 +0800
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Tue, 9 Aug 2011 11:58:06 +0200

perf, x86: Add model 45 SandyBridge support

Add support to Romely-EP SandyBridge.

Signed-off-by: Youquan Song <youquan.song@xxxxxxxxx>
Signed-off-by: Anhua Xu <anhua.xu@xxxxxxxxx>
Signed-off-by: Lin Ming <ming.m.lin@xxxxxxxxx>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Link: http://lkml.kernel.org/r/1312264895-2010-1-git-send-email-youquan.song@xxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
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 45fbb8f..f88af2c 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -1590,6 +1590,7 @@ static __init int intel_pmu_init(void)
break;

case 42: /* SandyBridge */
+ case 45: /* SandyBridge, "Romely-EP" */
memcpy(hw_cache_event_ids, snb_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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/