APPLIED: [SRU][J:linux-bluefield][PATCH v2 0/1] UBUNTU: SAUCE: mlxbf-ptm: add thermal envelope debugfs node

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Fri Sep 15 08:06:16 UTC 2023


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

--
Best regards,
Bartlomiej

On Thu, Sep 14, 2023 at 7:11 PM Jitendra Lanka <jlanka at nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2034594
>
> SRU Justification:
>
> [Impact]
>
> mlxbf-ptm is a kernel driver that provides debufgs interface for system
> software to monitor Bluefield devices' power and thermal management
> parameters.
>
> [Fix]
>
> This change:
> * This change adds additional debugfs node that gets the current thermal
>   envelope set in the thermal state machine
>
> [Test Case]
>
> * After installing the kernel module, debugfs entry at
>   /sys/kernel/debug/mlxbf-ptm will be created
> * monitors/status folder contains read-only parameters reported from the
>   Bluefield device
> * cat /sys/kernel/debug/mlxbf-ptm/temp_envelope shows current thermal
>   envelope
>
> [Regression Potential]
>
> * Minimal - as these are read-only parameters that report Bluefield device
>   information.
>
> [Other]
>
> * This code is likely to change depending on feedback we received from
>   maintainers.
>
> Jitendra Lanka (1):
>   mlxbf-ptm: add temp_envelope debugfs node
>
>  drivers/platform/mellanox/mlxbf-ptm.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>



More information about the kernel-team mailing list