[SRU][N:linux-bluefield][PATCH v1 0/1] Cherry-pick bug fix for mlxbf-pmc
Shravan Kumar Ramani
shravankr at nvidia.com
Tue Jul 8 10:31:50 UTC 2025
This submission addresses the following bug:
https://bugs.launchpad.net/bugs/2116164
SRU Justification:
[Impact]
Currently, the driver has two behaviors to deal with new & unsupported
performance blocks reported by the firmware:
1. For register and unknown block types, the driver will fail to load.
2. For counter and crspace blocks, the driver will load and sysfs files will
be created but getting the contents of event_list or trying to setup the counter
will fail.
[Fix]
Instead, let's ignore and log unsupported blocks. This means the driver will
always load and unsupported blocks will never show up in sysfs.
[Test Case]
* Boot BF2/BF3 platform, verify no new errors with loading the driver.
* Test sysfs interface exposed by driver for programming various counters and
events.
[Regression Potential]
Minimal
Luiz Capitulino (1):
platform/mellanox: mlxbf-pmc: Ignore unsupported performance blocks
drivers/platform/mellanox/mlxbf-pmc.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
--
2.43.2
More information about the kernel-team
mailing list