[SRU][J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: mlxbf-ptm: add atx debugfs nodes

Jitendra Lanka jlanka at nvidia.com
Wed Mar 15 20:32:17 UTC 2023


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

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 adds additional debugfs nodes that provide ATX status and
  power profile data. Replaces S_IRUGO with 0444 inline with checkpatch
  expectation.

[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):
  UBUNTU: SAUCE: mlxbf-ptm: add atx debugfs nodes

 drivers/platform/mellanox/mlxbf-ptm.c | 86 ++++++++++++++++-----------
 1 file changed, 50 insertions(+), 36 deletions(-)

-- 
2.30.1




More information about the kernel-team mailing list