Skip to content

Commit

Permalink
perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ShuoX Liu authored and Ingo Molnar committed Jan 24, 2013
1 parent ff7532c commit 0927b48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/x86/kernel/cpu/perf_event_intel.c
Original file line number Diff line number Diff line change
@@ -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));

0 comments on commit 0927b48

Please sign in to comment.