linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] Enable Core RAPL for AMD
@ 2023-03-01 18:14 Wyes Karny
  2023-03-01 18:14 ` [RFC PATCH v2 1/2] perf/x86/rapl: Fix energy-cores event Wyes Karny
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wyes Karny @ 2023-03-01 18:14 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Thomas Gleixner, Borislav Petkov, Dave Hansen, hpa,
	Stephane Eranian, Oleksandr Natalenko
  Cc: x86, linux-perf-users, linux-kernel, gautham.shenoy,
	ananth.narayan, Muhammad Usama Anjum, Wyes Karny

This is v2 patch set for enabling per-core RAPL counters through
energy-cores event on RAPL PMU. Added RFC tag because a new patch is
added and this additional patch may need clarification from the
community.

While enabling this support with v1 patch [1], Stephane reported an
issue where for the first reading of energy-cores event for every core was
invalid [2]. This issue is addressed with patch 1 of this series. There
is no change in patch 2.

[1]: https://lore.kernel.org/lkml/20230217161354.129442-1-wyes.karny@amd.com/
[2]: https://lore.kernel.org/lkml/CABPqkBQ_bSTC-OEe_LrgUrpj2VsseX1ThvO-yLcEtF8vb4+AAw@mail.gmail.com/

Change log:
v1 -> v2:
- Added new patch to fix the issue reported by Stephane
- Added RFC tag

Wyes Karny (2):
  perf/x86/rapl: Fix energy-cores event
  perf/x86/rapl: Enable Core RAPL for AMD

 arch/x86/events/rapl.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-02 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01 18:14 [RFC PATCH v2 0/2] Enable Core RAPL for AMD Wyes Karny
2023-03-01 18:14 ` [RFC PATCH v2 1/2] perf/x86/rapl: Fix energy-cores event Wyes Karny
2023-03-01 19:29   ` Liang, Kan
2023-03-01 18:14 ` [RFC PATCH v2 2/2] perf/x86/rapl: Enable Core RAPL for AMD Wyes Karny
2023-03-02 19:45 ` [RFC PATCH v2 0/2] " Oleksandr Natalenko

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).