projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53f3fee
)
perf/x86/intel/rapl: Add Comet Lake support
author
Harry Pan
<harry.pan@intel.com>
Fri, 27 Dec 2019 09:19:46 +0000
(17:19 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Fri, 17 Jan 2020 09:19:25 +0000
(10:19 +0100)
Comet Lake supports the same RAPL counters like Kaby Lake and Skylake.
After this, on CML machine the energy counters appear in perf list.
Signed-off-by: Harry Pan <harry.pan@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lkml.kernel.org/r/20191227171944.1.Id6f3ab98474d7d1dba5b95390b24e0a67368d364@changeid
arch/x86/events/intel/rapl.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/intel/rapl.c
b/arch/x86/events/intel/rapl.c
index 5053a403e4ae0e9e9bea4831fa01b33696c5b9f5..09913121e7263918a549eac45fda3de517e0ce01 100644
(file)
--- a/
arch/x86/events/intel/rapl.c
+++ b/
arch/x86/events/intel/rapl.c
@@
-741,6
+741,8
@@
static const struct x86_cpu_id rapl_model_match[] __initconst = {
X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT_PLUS, model_hsw),
X86_RAPL_MODEL_MATCH(INTEL_FAM6_ICELAKE_L, model_skl),
X86_RAPL_MODEL_MATCH(INTEL_FAM6_ICELAKE, model_skl),
+ X86_RAPL_MODEL_MATCH(INTEL_FAM6_COMETLAKE_L, model_skl),
+ X86_RAPL_MODEL_MATCH(INTEL_FAM6_COMETLAKE, model_skl),
{},
};