ACK: [SRU][F/J:linux-bluefield][PATCH 0/1] mlxbf-pmc: BlueField-3 support

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Fri Jan 13 18:08:37 UTC 2023


Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz at canonical.com>

(assuming that ACPI tables are in sync / updated also for BlueField-1
and BlueField-2 devices as mss_enable and llt_enable fields are now
required)

On Wed, Jan 11, 2023 at 10:50 AM Shravan Kumar Ramani
<shravankr at nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2002501
>
> SRU Justification:
>
> [Impact]
> Currently, the mlxbf-pmc driver supports only BlueField-1 and BlueField-2
> devices. BlueField-3 is not supported.
>
> [Fix]
> Add support for BlueField-3 devices by adding new access mechanism for
> programming and reading counter values as in the new design, along with the
> list of supported events in each HW block in BlueField-3.
>
> [Test Case]
> Previously, the driver would not be loaded when the OS is loaded on a
> BlueField-3 card. With the fix, the driver should get loaded and create sysfs
> entries as a hwmon device under /sys/class/hwmon/hwmon0.
>
> [Regression Potential]
> The ACPI table needs to be in sync with this change since it depends on newly
> introduces parameters such as mss_enable and llt_enable, which were not present
> earlier.
>
> Shravan Kumar Ramani (1):
>   UBUNTU: SAUCE: mlxbf-pmc: Support for BlueField-3 performance counters
>
>  drivers/platform/mellanox/mlxbf-pmc.c | 252 +++++++++++++--
>  drivers/platform/mellanox/mlxbf-pmc.h | 445 +++++++++++++++++++++++++-
>  2 files changed, 658 insertions(+), 39 deletions(-)
>



More information about the kernel-team mailing list