[Accton][AS7927-50X] implement XCVR thermal monitoring, OTP, and BMC reporting#15
Open
richardkuo1999 wants to merge 1 commit intoWillyLiu-EC:add_platform_as7927-50xfrom
Open
Conversation
Author
|
wait QSFP rest and BMC |
…reporting This commit introduces a comprehensive thermal management policy for transceivers (XCVR) and integrates it with the BMC. Key changes include: - build: Add `ipmitool` to base packages. - sys: Introduce `bmc_thermal_data` sysfs attribute to send thermal data (temperature and port number) to the BMC via IPMI cmd 0x13. - onlp: Implement temperature and high-alarm getters for SFF-8472, SFF-8436, and CMIS compatible modules. - onlp: Add Over-Temperature Protection (OTP) logic to disable e-fuse for SFPs or reset QSFPs when critical temperatures are exceeded. - onlp: Spawn a dedicated thermal policy `pthread`, triggered during fan management, to evaluate OTP conditions and sync the highest transceiver temperature to the BMC.
bf62779 to
0bc23ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces a comprehensive thermal management policy for transceivers (XCVR) and integrates it with the BMC.
Key changes include:
ipmitoolto base packages.bmc_thermal_datasysfs attribute to send thermal data (temperature and port number) to the BMC via IPMI cmd 0x13.pthread, triggered during fan management, to evaluate OTP conditions and sync the highest transceiver temperature to the BMC.