lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230301181449.14647-1-wyes.karny@amd.com>
Date:   Wed, 1 Mar 2023 18:14:47 +0000
From:   Wyes Karny <wyes.karny@....com>
To:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>,
        "Namhyung Kim" <namhyung@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        "Borislav Petkov" <bp@...en8.de>,
        Dave Hansen <dave.hansen@...ux.intel.com>, <hpa@...or.com>,
        Stephane Eranian <eranian@...gle.com>,
        Oleksandr Natalenko <oleksandr@...alenko.name>
CC:     <x86@...nel.org>, <linux-perf-users@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <gautham.shenoy@....com>,
        <ananth.narayan@....com>,
        Muhammad Usama Anjum <usama.anjum@...labora.com>,
        Wyes Karny <wyes.karny@....com>
Subject: [RFC PATCH v2 0/2] Enable Core RAPL for AMD

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ