Re: [RESEND PATCH v3 2/2] perf: coresight_pmu: Add support for NVIDIA SCF and MCF attribute

From: Will Deacon
Date: Mon Jun 27 2022 - 06:37:47 EST


On Tue, Jun 21, 2022 at 12:50:35AM -0500, Besar Wicaksono wrote:
> Add support for NVIDIA System Cache Fabric (SCF) and Memory Control
> Fabric (MCF) PMU attributes for CoreSight PMU implementation in
> NVIDIA devices.
>
> Signed-off-by: Besar Wicaksono <bwicaksono@xxxxxxxxxx>
> ---
> drivers/perf/coresight_pmu/Makefile | 3 +-
> .../perf/coresight_pmu/arm_coresight_pmu.c | 4 +
> .../coresight_pmu/arm_coresight_pmu_nvidia.c | 312 ++++++++++++++++++
> .../coresight_pmu/arm_coresight_pmu_nvidia.h | 17 +
> 4 files changed, 335 insertions(+), 1 deletion(-)
> create mode 100644 drivers/perf/coresight_pmu/arm_coresight_pmu_nvidia.c
> create mode 100644 drivers/perf/coresight_pmu/arm_coresight_pmu_nvidia.h

Please can you include some documentation along with this driver? See
Documentation/admin-guide/perf/ for examples of other PMUs.

Will