perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
Subsystems (2)
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.
Signed-off-by ShuoX Liu <[email protected]>
--- 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
@@ -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
Quoted 1 line · On 28.12.2012, [email protected] wrote:
case 54: /* Cedariew */
^
Just a typo, but while you're at it..
[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.
Signed-off-by ShuoX Liu <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- 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
@@ -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));