Skip to contentSkip to conversation

perf, x86: Add model 45 SandyBridge support

PATCH In review Youquan Song 2 participants 3 messages Aug 2, 2011 – Aug 9, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf, x86: Add model 45 SandyBridge support

Add support to Romely-EP SandyBridge.

---
 arch/x86/kernel/cpu/perf_event_intel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/perf_event_intel.c +1 -0
index 45fbb8f..f88af2c 100644
@@ -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));
 
Signature · 1 line
1.6.4.2
#2 lore raw
In reply to Youquan Song
Commit-ID:  a34668f6beb4ab01e07683276d6a24bab6c175e0
Gitweb:     http://git.kernel.org/tip/a34668f6beb4ab01e07683276d6a24bab6c175e0
Author:     Youquan Song <[email protected]>
AuthorDate: Tue, 2 Aug 2011 14:01:35 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 9 Aug 2011 11:58:06 +0200

perf, x86: Add model 45 SandyBridge support

Add support to Romely-EP SandyBridge.

---
 arch/x86/kernel/cpu/perf_event_intel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/perf_event_intel.c +1 -0
index 45fbb8f..f88af2c 100644
@@ -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));