Skip to content

[Accton][AS7927-50X] implement dynamic thermal thresholds and PSU type detection#14

Open
richardkuo1999 wants to merge 1 commit intoWillyLiu-EC:add_platform_as7927-50xfrom
richardkuo1999:add_as7927_thermal_threshold
Open

[Accton][AS7927-50X] implement dynamic thermal thresholds and PSU type detection#14
richardkuo1999 wants to merge 1 commit intoWillyLiu-EC:add_platform_as7927-50xfrom
richardkuo1999:add_as7927_thermal_threshold

Conversation

@richardkuo1999
Copy link
Copy Markdown

  • psu: Add psuX_type sysfs attribute to expose power supply type (AC/DC).
  • onlp/platform_lib: Introduce onlp_get_psu_type() to retrieve the PSU type via sysfs.
  • onlp/thermali: Refactor thermal info structure to support dynamic threshold assignment.
    • Apply specific warning/error/shutdown thresholds for board and MAC sensors based on fan airflow direction (F2B vs B2F).
    • Apply specific thresholds for PSU thermal sensors based on the detected PSU type (DC vs AC).
    • Update CPU thermal sensor descriptions (e.g., renamed to "CPU DIE").

…e detection

- psu: Add `psuX_type` sysfs attribute to expose power supply type (AC/DC).
- onlp/platform_lib: Introduce `onlp_get_psu_type()` to retrieve the PSU type via sysfs.
- onlp/thermali: Refactor thermal info structure to support dynamic threshold assignment.
  - Apply specific warning/error/shutdown thresholds for board and MAC sensors based on fan airflow direction (F2B vs B2F).
  - Apply specific thresholds for PSU thermal sensors based on the detected PSU type (DC vs AC).
  - Update CPU thermal sensor descriptions (e.g., renamed to "CPU DIE").
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