[PATCH v3 0/4] Updates to mlxbf-pmc

From: Shravan Kumar Ramani
Date: Tue Feb 13 2024 - 06:16:03 EST


This submission contains 4 patches:
Patch 1 replaces all uintN_t usage with kernel-style types
Patch 2 resolves signed/unsigned int mix-up
Patch 3 adds support for 64-bit counters and tracking cycle count
Patch 4 adds support for the clock_measure performance block

v2 -> v3
Add commit descriptions for patches 1 and 2
Remove unnecessary newlines from function argument lists
Use size_t instead of unisgned int for array sizes

v1 -> v2
Added 2 new patches to address generic issues
Replaced all uintN usage in the driver
Fixed signed/unsigned mix-up and replaced identifiers accordingly
Replaced kstrtoint with kstrtouint as applicable
Retained devm_kasprintf usage since other instances require dynamic allocation

Shravan Kumar Ramani (4):
platform/mellanox: mlxbf-pmc: Replace uintN_t with kernel-style types
platform/mellanox: mlxbf-pmc: Fix signed/unsigned mix-up
platform/mellanox: mlxbf-pmc: Add support for 64-bit counters and
cycle count
platform/mellanox: mlxbf-pmc: Add support for clock_measure
performance block

drivers/platform/mellanox/mlxbf-pmc.c | 388 ++++++++++++++++++--------
1 file changed, 276 insertions(+), 112 deletions(-)

--
2.30.1