Skip to contentSkip to conversation

perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support

PATCH In review [email protected] 2 participants 3 messages Dec 28, 2012 – Jan 24, 2013

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

PATCH 1/1 perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support

From: ShuoX Liu <[email protected]>

These three chip are based on Atom and have different model id. So add such three id for perf HW event support.

---
 arch/x86/kernel/cpu/perf_event_intel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/perf_event_intel.c +3 -0
index 93b9e11..c788e5f 100644
@@ -2019,6 +2019,9 @@ __init int intel_pmu_init(void)
 		break;
 
 	case 28: /* Atom */
+	case 38: /* Lincroft */
+	case 39: /* Penwell */
+	case 53: /* Cloverview */
 	case 54: /* Cedariew */
 		memcpy(hw_cache_event_ids, atom_hw_cache_event_ids,
 		       sizeof(hw_cache_event_ids));
Signature · 1 line
1.7.1
#2 lore raw

[tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/ Cloverview Atom support

In reply to [email protected]
Commit-ID:  0927b482ae69acb7605f6be1ad3860b657512fbd
Gitweb:     http://git.kernel.org/tip/0927b482ae69acb7605f6be1ad3860b657512fbd
Author:     ShuoX Liu <[email protected]>
AuthorDate: Sat, 29 Dec 2012 00:48:44 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 24 Jan 2013 15:10:03 +0100

perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support

These three chip are based on Atom and have different model id. So add such three id for perf HW event support.

---
 arch/x86/kernel/cpu/perf_event_intel.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/x86/kernel/cpu/perf_event_intel.c +4 -1
index 93b9e11..cb313a5 100644
@@ -2019,7 +2019,10 @@ __init int intel_pmu_init(void)
 		break;
 
 	case 28: /* Atom */
-	case 54: /* Cedariew */
+	case 38: /* Lincroft */
+	case 39: /* Penwell */
+	case 53: /* Cloverview */
+	case 54: /* Cedarview */
 		memcpy(hw_cache_event_ids, atom_hw_cache_event_ids,
 		       sizeof(hw_cache_event_ids));