Skip to content

[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
richardkuo1999:as7927_thermal_policy
Open

[Accton][AS7927-50X] implement XCVR thermal monitoring, OTP, and BMC reporting#15
richardkuo1999 wants to merge 1 commit intoWillyLiu-EC:add_platform_as7927-50xfrom
richardkuo1999:as7927_thermal_policy

Conversation

@richardkuo1999
Copy link
Copy Markdown

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.

@richardkuo1999 richardkuo1999 marked this pull request as draft April 8, 2026 03:34
@richardkuo1999
Copy link
Copy Markdown
Author

wait QSFP rest and BMC

@richardkuo1999 richardkuo1999 marked this pull request as ready for review April 10, 2026 02:57
…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.
@richardkuo1999 richardkuo1999 force-pushed the as7927_thermal_policy branch from bf62779 to 0bc23ae Compare April 10, 2026 08:06
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.

1 participant