Skip to content

platform/mellanox: mlxbf-pmc: Fix module loading

Luiz Capitulino lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/mellanox: mlxbf-pmc: mlxbf_pmc_event_list(): make size ptr optionaldrivers/platform/mellanox/mlxbf-pmc.c+22 -181 reply
2/2platform/mellanox: mlxbf-pmc: Ignore unsupported performance blocksdrivers/platform/mellanox/mlxbf-pmc.c+14 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHans de Goede
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] platform/mellanox: mlxbf-pmc: Fix module loading

Hi,

The mlxbf-pmc driver fails to load when the firmware reports a new but not yet implemented performance block. I can reproduce this today with a Bluefield-3 card and UEFI version 4.6.0-18-g7d063bb-BId13035, since this reports the new clock_measure performance block.

This[1] patch from Shravan implements the clock_measure support and will solve the issue. But this series avoids the situation by ignoring and logging unsupported performance blocks.

NOTE: This series is based on latest linux-next which contains new changes to mlxbf-pmc.

[1] https://lore.kernel.org/lkml/1c2f1b6da51523fe0f338f9ddce9e3903148f604.1707808180.git.shravankr@nvidia.com/

Luiz Capitulino (2):
platform/mellanox: mlxbf-pmc: mlxbf_pmc_event_list(): make size ptr
optional
platform/mellanox: mlxbf-pmc: Ignore unsupported performance blocks

 drivers/platform/mellanox/mlxbf-pmc.c | 56 +++++++++++++++++----------
 1 file changed, 36 insertions(+), 20 deletions(-)
Signature · 1 line
2.43.1