* [PATCH] perf/x86/intel/rapl: Add Comet Lake support
@ 2019-12-27 9:19 Harry Pan
2020-01-06 15:07 ` Peter Zijlstra
2020-01-17 10:08 ` [tip: perf/core] " tip-bot2 for Harry Pan
0 siblings, 2 replies; 3+ messages in thread
From: Harry Pan @ 2019-12-27 9:19 UTC (permalink / raw)
To: LKML
Cc: gs0622, Harry Pan, Namhyung Kim, H. Peter Anvin, Peter Zijlstra,
Borislav Petkov, x86, Thomas Gleixner, Ingo Molnar, Jiri Olsa,
Mark Rutland, Alexander Shishkin, Arnaldo Carvalho de Melo
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>
---
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 5053a403e4ae..09913121e726 100644
--- 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),
{},
};
--
2.24.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf/x86/intel/rapl: Add Comet Lake support
2019-12-27 9:19 [PATCH] perf/x86/intel/rapl: Add Comet Lake support Harry Pan
@ 2020-01-06 15:07 ` Peter Zijlstra
2020-01-17 10:08 ` [tip: perf/core] " tip-bot2 for Harry Pan
1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2020-01-06 15:07 UTC (permalink / raw)
To: Harry Pan
Cc: LKML, gs0622, Namhyung Kim, H. Peter Anvin, Borislav Petkov, x86,
Thomas Gleixner, Ingo Molnar, Jiri Olsa, Mark Rutland,
Alexander Shishkin, Arnaldo Carvalho de Melo
On Fri, Dec 27, 2019 at 05:19:46PM +0800, Harry Pan wrote:
> 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>
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: perf/core] perf/x86/intel/rapl: Add Comet Lake support
2019-12-27 9:19 [PATCH] perf/x86/intel/rapl: Add Comet Lake support Harry Pan
2020-01-06 15:07 ` Peter Zijlstra
@ 2020-01-17 10:08 ` tip-bot2 for Harry Pan
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Harry Pan @ 2020-01-17 10:08 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Harry Pan, Peter Zijlstra (Intel), x86, LKML
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 1e0f17724a74c8e94a5235bee7397987b424893f
Gitweb: https://git.kernel.org/tip/1e0f17724a74c8e94a5235bee7397987b424893f
Author: Harry Pan <harry.pan@intel.com>
AuthorDate: Fri, 27 Dec 2019 17:19:46 +08:00
Committer: Peter Zijlstra <peterz@infradead.org>
CommitterDate: Fri, 17 Jan 2020 10:19:25 +01:00
perf/x86/intel/rapl: Add Comet Lake support
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 5053a40..0991312 100644
--- 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),
{},
};
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-17 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-27 9:19 [PATCH] perf/x86/intel/rapl: Add Comet Lake support Harry Pan
2020-01-06 15:07 ` Peter Zijlstra
2020-01-17 10:08 ` [tip: perf/core] " tip-bot2 for Harry Pan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).