[SRU][J:linux-bluefield][PATCH 0/1] UBUNTU: SAUCE: mlxbf-ptm: power and thermal management debugfs driver

Jitendra Lanka jlanka at nvidia.com
Mon Jan 16 15:12:50 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2002852

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]

* New driver added

[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

[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: power and thermal management debugfs driver

 debian.bluefield/config/config.common.ubuntu |   1 +
 drivers/platform/mellanox/Kconfig            |  10 +
 drivers/platform/mellanox/Makefile           |   1 +
 drivers/platform/mellanox/mlxbf-ptm.c        | 215 +++++++++++++++++++
 4 files changed, 227 insertions(+)
 create mode 100644 drivers/platform/mellanox/mlxbf-ptm.c

-- 
2.30.1




More information about the kernel-team mailing list