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] [day] [month] [year] [list]
Message-ID: <20240701145024.GB2754@willie-the-truck>
Date: Mon, 1 Jul 2024 15:50:25 +0100
From: Will Deacon <will@...nel.org>
To: Gowthami Thiagarajan <gthiagarajan@...vell.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	sgoutham@...vell.com, lcherian@...vell.com, gcherian@...vell.com
Subject: Re: [PATCH v5] perf/marvell: Marvell PEM performance monitor support

On Thu, Jun 20, 2024 at 06:46:21PM +0530, Gowthami Thiagarajan wrote:
> PCI Express Interface PMU includes various performance counters
> to monitor the data that is transmitted over the PCIe link. The
> counters track various inbound and outbound transactions which
> includes separate counters for posted/non-posted/completion TLPs.
> Also, inbound and outbound memory read requests along with their
> latencies can also be monitored. Address Translation Services(ATS)events
> such as ATS Translation, ATS Page Request, ATS Invalidation along with
> their corresponding latencies are also supported.
> 
> The performance counters are 64 bits wide.
> 
> For instance,
> perf stat -e ib_tlp_pr <workload>
> tracks the inbound posted TLPs for the workload.
> 
> Signed-off-by: Gowthami Thiagarajan <gthiagarajan@...vell.com>
> ---
> 
> v4->v5:
> - Kconfig : Removed the dependency on 64BIT based on the feedback received.
> 
>  MAINTAINERS                    |   6 +
>  drivers/perf/Kconfig           |   7 +
>  drivers/perf/Makefile          |   1 +
>  drivers/perf/marvell_pem_pmu.c | 425 +++++++++++++++++++++++++++++++++
>  include/linux/cpuhotplug.h     |   1 +
>  5 files changed, 440 insertions(+)
>  create mode 100644 drivers/perf/marvell_pem_pmu.c

PLease add some documentation for the new driver (see
Documentation/admin-guide/perf for some examples).

Will

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ