summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKan Liang <Kan.liang@intel.com>2017-09-08 17:34:49 -0400
committerThomas Gleixner <tglx@linutronix.de>2017-09-25 09:36:17 +0200
commit450a97893559354b927c935f39ee11126f01f520 (patch)
tree2017c7b087484ad31ded96a6ce2590add8615c48
parent1aaccc40a1864053da26605b0297be16dd52641e (diff)
downloadlinux-450a97893559354b927c935f39ee11126f01f520.tar.gz
linux-450a97893559354b927c935f39ee11126f01f520.tar.bz2
linux-450a97893559354b927c935f39ee11126f01f520.zip
perf/x86/intel/rapl: Add missing CPU IDs
DENVERTON and GEMINI_LAKE support same RAPL counters as Apollo Lake. Signed-off-by: Kan Liang <Kan.liang@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: ak@linux.intel.com Cc: peterz@infradead.org Cc: piotr.luc@intel.com Cc: harry.pan@intel.com Cc: srinivas.pandruvada@linux.intel.com Link: http://lkml.kernel.org/r/20170908213449.6224-3-kan.liang@intel.com
-rw-r--r--arch/x86/events/intel/rapl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 8e2457cb6b4a..005908ee9333 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),
{},
};