Commit-ID:  0927b482ae69acb7605f6be1ad3860b657512fbd
Gitweb:     http://git.kernel.org/tip/0927b482ae69acb7605f6be1ad3860b657512fbd
Author:     ShuoX Liu <shuox....@intel.com>
AuthorDate: Sat, 29 Dec 2012 00:48:44 +0800
Committer:  Ingo Molnar <mi...@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....@intel.com>
Cc: yanmin_zh...@intel.linux.com
Cc: Stephane Eranian <eran...@google.com>
Link: 
http://lkml.kernel.org/r/1356713324-12442-1-git-send-email-shuox....@intel.com
Signed-off-by: Ingo Molnar <mi...@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));
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to