APPLIED: [SRU][J:linux-bluefield][Pull Request][v1] Cherry-pick of mlxbf-pmc from upstream

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Tue Oct 17 16:36:07 UTC 2023


Applied to jammy:linux-bluefield/master-next. Thanks.

--
Best regards,
Bartlomiej

On Tue, Oct 17, 2023 at 1:31 PM Shravan Kumar Ramani
<shravankr at nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2039561
>
> The mlxbf-pmc driver has been upstreamed and hence the SAUCE patches need to be
> reverted and replaced with upstream commits.
>
> This series reverts 5 commits merged to linux-bluefield:master-next as SAUCE
> patches. The reverted commits are replaced by 3 commits from upstream, 2 of
> which are in linux and 1 is in linux-next.
>
> Testing:
> * Boot BF2/BF3 platform, verify no new errors
> * Test sysfs interface exposed by driver for programming various counters and
> events.
>
> The pull request can be found at:
> https://code.launchpad.net/~sramani/ubuntu/+source/linux-bluefield/+git/linux-bluefield/+merge/453759
>
> Git repo can be found at:
> https://code.launchpad.net/~sramani/ubuntu/+source/linux-bluefield/+git/linux-bluefield/+ref/pmc
>
> Signed-off-by: Shravan Kumar Ramani <shravankr at nvidia.com>
>
> Shravan Kumar Ramani (8):
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Bug fix for BlueField-3 counter
>     offsets"
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Support for BlueField-3 performance
>     counters"
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Fix error when reading unprogrammed
>     events"
>   Revert "UBUNTU: SAUCE: mlxbf_pmc: Fix references to sprintf"
>   Revert "UBUNTU: SAUCE: platform/mellanox: Updates to mlxbf-pmc"
>   platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
>   platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
>   platform/mellanox: mlxbf-pmc: Add support for BlueField-3
>
>  drivers/platform/mellanox/mlxbf-pmc.c | 2382 ++++++++++++++++---------
>  drivers/platform/mellanox/mlxbf-pmc.h | 863 ---------
>  2 files changed, 1521 insertions(+), 1724 deletions(-)
>  delete mode 100644 drivers/platform/mellanox/mlxbf-pmc.h
>
> Shravan Kumar Ramani (8):
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Bug fix for BlueField-3 counter
>     offsets"
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Support for BlueField-3 performance
>     counters"
>   Revert "UBUNTU: SAUCE: mlxbf-pmc: Fix error when reading unprogrammed
>     events"
>   Revert "UBUNTU: SAUCE: mlxbf_pmc: Fix references to sprintf"
>   Revert "UBUNTU: SAUCE: platform/mellanox: Updates to mlxbf-pmc"
>   platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
>   platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
>   platform/mellanox: mlxbf-pmc: Add support for BlueField-3
>
>  drivers/platform/mellanox/mlxbf-pmc.c | 2382 ++++++++++++++++---------
>  drivers/platform/mellanox/mlxbf-pmc.h |  863 ---------
>  2 files changed, 1521 insertions(+), 1724 deletions(-)
>  delete mode 100644 drivers/platform/mellanox/mlxbf-pmc.h
>



More information about the kernel-team mailing list