APPLIED: [SRU][N:linux-bluefield][PATCH v1 0/1] Cherry-pick bug fix for mlxbf-pmc
Kuba Pawlak
kuba.pawlak at canonical.com
Mon Jul 14 09:28:57 UTC 2025
On 8.07.2025 12:31, Shravan Kumar Ramani wrote:
> This submission addresses the following bug:
> https://bugs.launchpad.net/bugs/2116164
>
> 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
>
>
> Luiz Capitulino (1):
> platform/mellanox: mlxbf-pmc: Ignore unsupported performance blocks
>
> drivers/platform/mellanox/mlxbf-pmc.c | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)
>
Applied-by: Kuba Pawlak <kuba.pawlak at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x216A9D7E3B63DCB4.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250714/6d6976b8/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250714/6d6976b8/attachment.sig>
More information about the kernel-team
mailing list