[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1708635408.git.luizcap@redhat.com>
Date: Thu, 22 Feb 2024 15:57:28 -0500
From: Luiz Capitulino <luizcap@...hat.com>
To: ilpo.jarvinen@...ux.intel.com,
shravankr@...dia.com
Cc: davthompson@...dia.com,
ndalvi@...hat.com,
linux-kernel@...r.kernel.org,
platform-driver-x86@...r.kernel.org,
Luiz Capitulino <luizcap@...hat.com>
Subject: [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(-)
--
2.43.1
Powered by blists - more mailing lists