Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add power_envelope & soc_power sensors #116

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

trindenau
Copy link
Contributor

    Add `power_envelope` & `soc_power` sensors

    Add `power_envelope` and `soc_power` sensors.
    Both will derive their values from `dbugfs`.
    testd by: ipmitool -I ipmb sensors:
        soc_power        | 22.000     | Watts      | ok    | na        | 5.000     | na        | na        | na        | na
        power_envelope   | 65.000     | Watts      | ok    | na        | na        | 10.000    | 150.000   | na        |na
 The change also tests whether the system is running a locked-down version of Linux. If it is not, the mlxbf_pt module will be loaded.
 Fixes jira https://redmine.mellanox.com/issues/4016386.

    Add `power_envelope` and `soc_power` sensors.
    Both will derive their values from `dbugfs`.
    testd by: ipmitool -I ipmb sensors:
	soc_power        | 22.000     | Watts      | ok    | na        | 5.000     | na        | na        | na        | na
        power_envelope   | 65.000     | Watts      | ok    | na        | na        | 10.000    | 150.000   | na        |na
 The change also tests whether the system is running a locked-down version of Linux. If it is not, the mlxbf_pt module will be loaded.
 Fixes jira https://redmine.mellanox.com/issues/4016386.
@odrang odrang merged commit f70e5f6 into Mellanox:release-4.9.x Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants