[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1464107503-14968-1-git-send-email-jacob.jun.pan@linux.intel.com>
Date: Tue, 24 May 2016 09:31:43 -0700
From: Jacob Pan <jacob.jun.pan@...ux.intel.com>
To: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Stephane Eranian <eranian@...gle.com>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: [PATCH] perf/x86/intel/rapl: add skylake server
SKX uses similar RAPL interface as Broadwell server.
Signed-off-by: Jacob Pan <jacob.jun.pan@...ux.intel.com>
---
arch/x86/events/intel/rapl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 1705c9d..70af62a 100644
--- a/arch/x86/events/intel/rapl.c
+++ b/arch/x86/events/intel/rapl.c
@@ -712,6 +712,7 @@ static int __init rapl_pmu_init(void)
break;
case 63: /* Haswell-Server */
case 79: /* Broadwell-Server */
+ case 85: /* Skylake-Server */
apply_quirk = true;
rapl_cntr_mask = RAPL_IDX_SRV;
rapl_pmu_events_group.attrs = rapl_events_srv_attr;
--
1.9.1
Powered by blists - more mailing lists