[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-7b0fd56930399d87241ad2f49d48c315307471ee@git.kernel.org>
Date: Mon, 21 Mar 2016 04:18:31 -0700
From: tip-bot for Srinivas Pandruvada <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: vincent.weaver@...ne.edu, jolsa@...hat.com,
alexander.shishkin@...ux.intel.com, mingo@...nel.org,
hpa@...or.com, acme@...hat.com, tglx@...utronix.de,
linux-kernel@...r.kernel.org, namhyung@...nel.org,
dsahern@...il.com, peterz@...radead.org,
torvalds@...ux-foundation.org, srinivas.pandruvada@...ux.intel.com,
eranian@...gle.com
Subject: [tip:perf/urgent] perf/x86/intel/rapl: Add missing Broadwell models
Commit-ID: 7b0fd56930399d87241ad2f49d48c315307471ee
Gitweb: http://git.kernel.org/tip/7b0fd56930399d87241ad2f49d48c315307471ee
Author: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
AuthorDate: Sun, 20 Mar 2016 16:52:18 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 21 Mar 2016 11:16:19 +0100
perf/x86/intel/rapl: Add missing Broadwell models
Added Broadwell-H and Broadwell-Server.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Vince Weaver <vincent.weaver@...ne.edu>
Cc: bp@...en8.de
Link: http://lkml.kernel.org/r/1458517938-25308-1-git-send-email-srinivas.pandruvada@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/events/intel/rapl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index b834a3f..70c93f9 100644
--- a/arch/x86/events/intel/rapl.c
+++ b/arch/x86/events/intel/rapl.c
@@ -711,6 +711,7 @@ static int __init rapl_pmu_init(void)
rapl_pmu_events_group.attrs = rapl_events_cln_attr;
break;
case 63: /* Haswell-Server */
+ case 79: /* Broadwell-Server */
apply_quirk = true;
rapl_cntr_mask = RAPL_IDX_SRV;
rapl_pmu_events_group.attrs = rapl_events_srv_attr;
@@ -718,6 +719,7 @@ static int __init rapl_pmu_init(void)
case 60: /* Haswell */
case 69: /* Haswell-Celeron */
case 61: /* Broadwell */
+ case 71: /* Broadwell-H */
rapl_cntr_mask = RAPL_IDX_HSW;
rapl_pmu_events_group.attrs = rapl_events_hsw_attr;
break;
Powered by blists - more mailing lists