mlxbf-pmc counters not functional for llt_miss block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Shravan Kumar Ramani | ||
Jammy |
Fix Committed
|
Medium
|
Shravan Kumar Ramani |
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.
CVE References
Changed in linux-bluefield (Ubuntu Focal): | |
assignee: | nobody → Shravan Kumar Ramani (sramani) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu Jammy): | |
assignee: | nobody → Shravan Kumar Ramani (sramani) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-bluefield (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: | added: verification-needed-jammy |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
This bug is awaiting verification that the linux-bluefield /5.4.0- 1057.63 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!