Public bug reported:

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.

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2004235

Title:
  mlxbf-pmc counters not functional for llt_miss block

Status in linux-bluefield package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2004235/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to