[SRU][J/N:linux-bluefield][PATCH v1 0/1] Bug fix for mlxbf-pmc

Shravan Kumar Ramani shravankr at nvidia.com
Thu Dec 18 09:52:40 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2136732

SRU Justification:

[Impact]
When programming certain llt_miss counters using the event_name, there is an
unexpected failure. The following events cannot be programmed using the name:
GDC_MISS_MACHINE_G_FIFO_FF_EXEC0_1, GDC_MISS_MACHINE_G_FIFO_FF_EXEC0_3,
GDC_MISS_MACHINE_G_FIFO_FF_EXEC1_[0-3] and
GDC_MISS_MACHINE_G_FIFO_FF_EXEC_DONE1_0.

[Fix]
These event names mistakenly have trailing whitespaces when listed in the
driver. Removing these whitespaces resolves the issue.

[Test Case]
Programming any llt_miss counter with one of the above event names should result
in "Invalid input" error. With the fix, the same should be successful.

[Regression Potential]
Can be considered minimal.


Shravan Kumar Ramani (1):
  UBUNTU: SAUCE: mlxbf_pmc: Remove trailing whitespaces from event names

 drivers/platform/mellanox/mlxbf-pmc.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
2.43.2




More information about the kernel-team mailing list