[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-0927b482ae69acb7605f6be1ad3860b657512fbd@git.kernel.org>
Date: Thu, 24 Jan 2013 12:19:12 -0800
From: tip-bot for ShuoX Liu <shuox.liu@...el.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, eranian@...gle.com, hpa@...or.com,
mingo@...nel.org, shuox.liu@...el.com, tglx@...utronix.de
Subject: [tip:perf/urgent] perf/x86: Enable Intel Lincroft/Penwell/
Cloverview Atom support
Commit-ID: 0927b482ae69acb7605f6be1ad3860b657512fbd
Gitweb: http://git.kernel.org/tip/0927b482ae69acb7605f6be1ad3860b657512fbd
Author: ShuoX Liu <shuox.liu@...el.com>
AuthorDate: Sat, 29 Dec 2012 00:48:44 +0800
Committer: Ingo Molnar <mingo@...nel.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@...el.com>
Cc: yanmin_zhang@...el.linux.com
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/r/1356713324-12442-1-git-send-email-shuox.liu@intel.com
Signed-off-by: Ingo Molnar <mingo@...nel.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));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists