[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1356713324-12442-1-git-send-email-shuox.liu@intel.com>
Date: Sat, 29 Dec 2012 00:48:44 +0800
From: shuox.liu@...el.com
To: linux-kernel@...r.kernel.org
Cc: mingo@...hat.com, hpa@...or.com, yanmin_zhang@...el.linux.com,
ShuoX Liu <shuox.liu@...el.com>
Subject: [PATCH] perf/x86: Enable Intel Lincroft/Penwell/Cloverview Atom support
From: ShuoX Liu <shuox.liu@...el.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@...el.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
--
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