[PATCH v1 0/3] Updates to Mellanox PMC driver

From: Shravan Kumar Ramani
Date: Wed Aug 30 2023 - 14:56:23 EST


This submission consists of 3 patches:
1. Patch 1 replaces sprintf usage with snprintf or sysfs_emit, as applicable.
2. Patch 2 fixes a bug with reading unprogrammed events.
3. Patch 3 adds support for BlueField-3 platform which uses a different
access mechanism.

Shravan Kumar Ramani (3):
platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
platform/mellanox: mlxbf-pmc: Add support for BlueField-3

drivers/platform/mellanox/mlxbf-pmc.c | 740 ++++++++++++++++++++++++--
1 file changed, 681 insertions(+), 59 deletions(-)

--
2.30.1