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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABPqkBQBNyXQrdRGzzK-oN6bty6nLC3UfbDfkqGiE8wFKZFCSw@mail.gmail.com>
Date:   Mon, 31 Jan 2022 23:28:13 -0800
From:   Stephane Eranian <eranian@...gle.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     linux-kernel@...r.kernel.org, kim.phillips@....com,
        acme@...hat.com, jolsa@...hat.com, songliubraving@...com
Subject: Re: [PATCH v5 07/13] perf/x86/amd: make Zen3 branch sampling opt-in

On Thu, Jan 27, 2022 at 4:51 AM Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Wed, Jan 26, 2022 at 03:34:48PM -0800, Stephane Eranian wrote:
> > This patch adds a kernel config option to make support
> > for AMD Zen3 Branch Sampling (BRS) an opt-in compile
> > time option.
> >
> > Signed-off-by: Stephane Eranian <eranian@...gle.com>
> > ---
> >  arch/x86/events/Kconfig      |  8 ++++++
> >  arch/x86/events/amd/Makefile |  3 ++-
> >  arch/x86/events/perf_event.h | 49 ++++++++++++++++++++++++++++--------
> >  3 files changed, 49 insertions(+), 11 deletions(-)
> >
> > diff --git a/arch/x86/events/Kconfig b/arch/x86/events/Kconfig
> > index d6cdfe631674..1dc002ef66da 100644
> > --- a/arch/x86/events/Kconfig
> > +++ b/arch/x86/events/Kconfig
> > @@ -44,4 +44,12 @@ config PERF_EVENTS_AMD_UNCORE
> >
> >         To compile this driver as a module, choose M here: the
> >         module will be called 'amd-uncore'.
> > +
> > +config PERF_EVENTS_AMD_BRS
> > +     depends on PERF_EVENTS && CPU_SUP_AMD
> > +     tristate "AMD Zen3 Branch Sampling support"
>
> tristate ?!

Ok, I will fix that in V6.
Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ