Public bug reported:

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116164

Title:
  mlxbf-pmc: ignore unsupported blocks

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to