mlxbf-pmc counters not functional for llt_miss block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
Currently, the driver uses fixed offsets for the control and data registers in the performance counter module. However, this is not correct since the module is not uniform in all HW blocks, and in this case, the llt_miss block is different from the rest.
[Fix]
The number of counters present in each block is not fixed, and hence the offsets for the control and data registers should also be calculated accordingly.
[Test Case]
Without the fix, writing 1 to the llt_miss "enable" file will not result in any of the counters incrementing. With the fix, the counters should increment even with the default event settings.
[Regression Potential]
Can be considered minimal.