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.
RU 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 kernel/ debug/mlxbf- ptm will be created debug/mlxbf- ptm/temp_ envelope shows current thermal
/sys/
* monitors/status folder contains read-only parameters reported from the
Bluefield device
* cat /sys/kernel/
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.