aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuoX Liu <[email protected]>2012-12-29 00:48:44 +0800
committerIngo Molnar <[email protected]>2013-01-24 15:10:03 +0100
commit0927b482ae69acb7605f6be1ad3860b657512fbd (patch)
treeb8c96f2bb5a8771f633cee30a44e31c705e5e918
parentff7532ca2c631e7e96dcd305a967b610259dc0ea (diff)
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. Signed-off-by: ShuoX Liu <[email protected]> Cc: [email protected] Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 93b9e1181f83..cb313a56c21b 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -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));