Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1729304 > unrolled thread

[PATCH 3/3] perf/x86/intel/rapl: add missing CPU IDs

Started bykan.liang@intel.com
First post2017-09-08 23:40 +0200
Last post2017-09-08 23:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/3] perf/x86/intel/rapl: add missing CPU IDs kan.liang@intel.com - 2017-09-08 23:40 +0200

#1729304 — [PATCH 3/3] perf/x86/intel/rapl: add missing CPU IDs

Fromkan.liang@intel.com
Date2017-09-08 23:40 +0200
Subject[PATCH 3/3] perf/x86/intel/rapl: add missing CPU IDs
Message-ID<unzai-4ff-23@gated-at.bofh.it>
From: Kan Liang <Kan.liang@intel.com>

DENVERTON and GEMINI_LAKE support same RAPL counters as Apollo Lake.

Signed-off-by: Kan Liang <Kan.liang@intel.com>
---
 arch/x86/events/intel/rapl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 8e2457c..005908e 100644
--- a/arch/x86/events/intel/rapl.c
+++ b/arch/x86/events/intel/rapl.c
@@ -775,6 +775,9 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_KABYLAKE_DESKTOP, skl_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT, hsw_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_DENVERTON, hsw_rapl_init),
+
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GEMINI_LAKE, hsw_rapl_init),
 	{},
 };
 
-- 
2.9.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web