From: shuox.liu@intel.com
To: linux-kernel@vger.kernel.org
Cc: mingo@redhat.com, hpa@zytor.com, yanmin_zhang@intel.linux.com,
ShuoX Liu <shuox.liu@intel.com>
Subject: [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
Date: Sat, 29 Dec 2012 00:48:44 +0800 [thread overview]
Message-ID: <1356713324-12442-1-git-send-email-shuox.liu@intel.com> (raw)
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
next reply other threads:[~2012-12-28 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 16:48 shuox.liu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356713324-12442-1-git-send-email-shuox.liu@intel.com \
--to=shuox.liu@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=yanmin_zhang@intel.linux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®