* [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
@ 2012-12-28 16:48 shuox.liu
2012-12-28 17:25 ` Heinz Diehl
2013-01-24 20:19 ` [tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/ Cloverview " tip-bot for ShuoX Liu
0 siblings, 2 replies; 3+ messages in thread
From: shuox.liu @ 2012-12-28 16:48 UTC (permalink / raw)
To: linux-kernel; +Cc: mingo, hpa, yanmin_zhang, ShuoX Liu
From: ShuoX Liu <shuox.liu@intel.com>
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>
---
arch/x86/kernel/cpu/perf_event_intel.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 93b9e11..c788e5f 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -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));
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
2012-12-28 16:48 [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support shuox.liu
@ 2012-12-28 17:25 ` Heinz Diehl
2013-01-24 20:19 ` [tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/ Cloverview " tip-bot for ShuoX Liu
1 sibling, 0 replies; 3+ messages in thread
From: Heinz Diehl @ 2012-12-28 17:25 UTC (permalink / raw)
To: linux-kernel; +Cc: mingo, hpa, yanmin_zhang, ShuoX Liu
On 28.12.2012, shuox.liu@intel.com wrote:
> case 54: /* Cedariew */
^
Just a typo, but while you're at it..
^ permalink raw reply [flat|nested] 3+ messages in thread* [tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/ Cloverview Atom support
2012-12-28 16:48 [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support shuox.liu
2012-12-28 17:25 ` Heinz Diehl
@ 2013-01-24 20:19 ` tip-bot for ShuoX Liu
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for ShuoX Liu @ 2013-01-24 20:19 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, eranian, hpa, mingo, shuox.liu, tglx
Commit-ID: 0927b482ae69acb7605f6be1ad3860b657512fbd
Gitweb: http://git.kernel.org/tip/0927b482ae69acb7605f6be1ad3860b657512fbd
Author: ShuoX Liu <shuox.liu@intel.com>
AuthorDate: Sat, 29 Dec 2012 00:48:44 +0800
Committer: Ingo Molnar <mingo@kernel.org>
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 <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>
---
arch/x86/kernel/cpu/perf_event_intel.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 93b9e11..cb313a5 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));
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-24 20:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 16:48 [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support shuox.liu
2012-12-28 17:25 ` Heinz Diehl
2013-01-24 20:19 ` [tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/ Cloverview " tip-bot for ShuoX Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.