summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorShuoX Liu <shuox.liu@intel.com>2012-12-29 00:48:44 +0800
committerIngo Molnar <mingo@kernel.org>2013-01-24 15:10:03 +0100
commit0927b482ae69acb7605f6be1ad3860b657512fbd (patch)
treeb8c96f2bb5a8771f633cee30a44e31c705e5e918 /arch/x86
parentff7532ca2c631e7e96dcd305a967b610259dc0ea (diff)
downloadblackbird-op-linux-0927b482ae69acb7605f6be1ad3860b657512fbd.tar.gz
blackbird-op-linux-0927b482ae69acb7605f6be1ad3860b657512fbd.zip
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 <shuox.liu@intel.com> Cc: yanmin_zhang@intel.linux.com Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1356713324-12442-1-git-send-email-shuox.liu@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-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));
OpenPOWER on IntegriCloud